Module org.elasticsearch.server
Package org.elasticsearch.index.mapper
Class FieldMapper.BuilderWithSyntheticSourceContext
java.lang.Object
org.elasticsearch.index.mapper.Mapper.Builder
org.elasticsearch.index.mapper.FieldMapper.Builder
org.elasticsearch.index.mapper.FieldMapper.BuilderWithSyntheticSourceContext
- All Implemented Interfaces:
ToXContent,ToXContentFragment
- Direct Known Subclasses:
TextFieldMapper.Builder
- Enclosing class:
FieldMapper
public abstract static class FieldMapper.BuilderWithSyntheticSourceContext
extends FieldMapper.Builder
Creates mappers for fields that require additional context for supporting synthetic source.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params -
Field Summary
Fields inherited from class org.elasticsearch.index.mapper.FieldMapper.Builder
copyTo, hasScript, multiFieldsBuilder, onScriptError, sourceKeepModeFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilderWithSyntheticSourceContext(String name, IndexVersion indexCreatedVersion, boolean isSyntheticSourceEnabled, boolean isWithinMultiField) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanMethods inherited from class org.elasticsearch.index.mapper.FieldMapper.Builder
addMultiField, addScriptValidation, build, builderParams, getParameters, handleUnknownParamOnLegacyIndex, init, merge, parse, toXContent, validateMethods inherited from class org.elasticsearch.index.mapper.Mapper.Builder
leafNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentFragment
isFragment
-
Constructor Details
-
BuilderWithSyntheticSourceContext
protected BuilderWithSyntheticSourceContext(String name, IndexVersion indexCreatedVersion, boolean isSyntheticSourceEnabled, boolean isWithinMultiField)
-
-
Method Details
-
indexCreatedVersion
-
isSyntheticSourceEnabled
public boolean isSyntheticSourceEnabled() -
isWithinMultiField
public boolean isWithinMultiField()
-