Package org.elasticsearch.index.mapper
Class KeywordFieldSyntheticSourceSupport
java.lang.Object
org.elasticsearch.index.mapper.KeywordFieldSyntheticSourceSupport
- All Implemented Interfaces:
MapperTestCase.SyntheticSourceSupport
public class KeywordFieldSyntheticSourceSupport
extends Object
implements MapperTestCase.SyntheticSourceSupport
-
Method Summary
Modifier and TypeMethodDescriptionexample(int maxValues) Examples that should work when source is generated from doc values.example(int maxValues, boolean loadBlockFromSource, boolean flipOrder) booleanExamples of mappings that should be rejected when source is configured to be loaded from doc values.boolean
-
Method Details
-
ignoreAbove
public boolean ignoreAbove()- Specified by:
ignoreAbovein interfaceMapperTestCase.SyntheticSourceSupport
-
preservesExactSource
public boolean preservesExactSource()- Specified by:
preservesExactSourcein interfaceMapperTestCase.SyntheticSourceSupport- Returns:
- True if synthetic source support is implemented to exactly store the source without modifications.
-
example
Description copied from interface:MapperTestCase.SyntheticSourceSupportExamples that should work when source is generated from doc values.- Specified by:
examplein interfaceMapperTestCase.SyntheticSourceSupport
-
example
public MapperTestCase.SyntheticSourceExample example(int maxValues, boolean loadBlockFromSource, boolean flipOrder) -
invalidExample
Description copied from interface:MapperTestCase.SyntheticSourceSupportExamples of mappings that should be rejected when source is configured to be loaded from doc values.- Specified by:
invalidExamplein interfaceMapperTestCase.SyntheticSourceSupport- Throws:
IOException
-