Package org.elasticsearch.index.mapper
Class NumberFieldMapperTests.NumberSyntheticSourceSupport
java.lang.Object
org.elasticsearch.index.mapper.NumberFieldMapperTests.NumberSyntheticSourceSupport
- All Implemented Interfaces:
MapperTestCase.SyntheticSourceSupport
- Enclosing class:
- NumberFieldMapperTests
protected final class NumberFieldMapperTests.NumberSyntheticSourceSupport
extends Object
implements MapperTestCase.SyntheticSourceSupport
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
NumberSyntheticSourceSupport
(Function<Number, Number> round, boolean ignoreMalformed) -
Method Summary
Modifier and TypeMethodDescriptionexample
(int maxVals) Examples that should work when source is generated from doc values.Examples of mappings that should be rejected when source is configured to be loaded from doc values.
-
Constructor Details
-
NumberSyntheticSourceSupport
-
-
Method Details
-
example
Description copied from interface:MapperTestCase.SyntheticSourceSupport
Examples that should work when source is generated from doc values.- Specified by:
example
in interfaceMapperTestCase.SyntheticSourceSupport
-
invalidExample
Description copied from interface:MapperTestCase.SyntheticSourceSupport
Examples of mappings that should be rejected when source is configured to be loaded from doc values.- Specified by:
invalidExample
in interfaceMapperTestCase.SyntheticSourceSupport
- Throws:
IOException
-