Package org.elasticsearch.index.mapper
Interface MapperTestCase.SyntheticSourceSupport
- All Known Implementing Classes:
KeywordFieldSyntheticSourceSupport
,NumberFieldMapperTests.NumberSyntheticSourceSupport
- Enclosing class:
MapperTestCase
public static interface MapperTestCase.SyntheticSourceSupport
-
Method Summary
Modifier and TypeMethodDescriptionexample
(int maxValues) Examples that should work when source is generated from doc values.default boolean
Examples of mappings that should be rejected when source is configured to be loaded from doc values.default boolean
-
Method Details
-
preservesExactSource
default boolean preservesExactSource()- Returns:
- True if synthetic source support is implemented to exactly store the source without modifications.
-
ignoreAbove
default boolean ignoreAbove() -
example
Examples that should work when source is generated from doc values.- Throws:
IOException
-
invalidExample
Examples of mappings that should be rejected when source is configured to be loaded from doc values.- Throws:
IOException
-