Prevent testing on double values whose toString may use the scientific notation.
This might break query parsers because the standard analyzer splits on punctuation.
This commit is contained in:
parent
eed5de20e0
commit
34e682d3bc
|
@ -828,7 +828,7 @@ public abstract class AbstractQueryTestCase<QB extends AbstractQueryBuilder<QB>>
|
|||
value = randomIntBetween(0, 10);
|
||||
break;
|
||||
case DOUBLE_FIELD_NAME:
|
||||
value = randomDouble() * 10;
|
||||
value = 1 + randomDouble() * 9;
|
||||
break;
|
||||
case BOOLEAN_FIELD_NAME:
|
||||
value = randomBoolean();
|
||||
|
|
Loading…
Reference in New Issue