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
-
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
-
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
-