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:
ignoreAbove
in interfaceMapperTestCase.SyntheticSourceSupport
-
preservesExactSource
public boolean preservesExactSource()- Specified by:
preservesExactSource
in interfaceMapperTestCase.SyntheticSourceSupport
- Returns:
- True if synthetic source support is implemented to exactly store the source without modifications.
-
example
Description copied from interface:MapperTestCase.SyntheticSourceSupport
Examples that should work when source is generated from doc values.- Specified by:
example
in interfaceMapperTestCase.SyntheticSourceSupport
-
example
-
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
-