ToXContent, ToXContentFragmentpublic class TextFieldMapper extends FieldMapper
FieldMapper for full-text fields.| Modifier and Type | Class | Description |
|---|---|---|
static class |
TextFieldMapper.Builder |
|
static class |
TextFieldMapper.Defaults |
|
static class |
TextFieldMapper.TextFieldType |
|
static class |
TextFieldMapper.TypeParser |
FieldMapper.CopyTo, FieldMapper.MultiFieldsMapper.BuilderContextToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
CONTENT_TYPE |
COERCE_SETTING, copyTo, defaultFieldType, fieldType, IGNORE_MALFORMED_SETTING, indexCreatedVersion, multiFieldsEMPTY_PARAMS| Modifier | Constructor | Description |
|---|---|---|
protected |
TextFieldMapper(java.lang.String simpleName,
MappedFieldType fieldType,
MappedFieldType defaultFieldType,
int positionIncrementGap,
java.lang.Boolean includeInAll,
Settings indexSettings,
FieldMapper.MultiFields multiFields,
FieldMapper.CopyTo copyTo) |
| Modifier and Type | Method | Description |
|---|---|---|
protected TextFieldMapper |
clone() |
|
protected java.lang.String |
contentType() |
|
protected void |
doMerge(Mapper mergeWith,
boolean updateAllTypes) |
Merge changes coming from
mergeWith in place. |
protected void |
doXContentBody(XContentBuilder builder,
boolean includeDefaults,
ToXContent.Params params) |
|
TextFieldMapper.TextFieldType |
fieldType() |
|
int |
getPositionIncrementGap() |
|
protected void |
parseCreateField(ParseContext context,
java.util.List<org.apache.lucene.index.IndexableField> fields) |
Parse the field value and populate
fields. |
copyTo, createFieldNamesField, doXContentAnalyzers, doXContentDocValues, indexOptionToString, indexTokenizeOption, iterator, merge, name, parse, termVectorOptionsToString, toXContent, updateFieldTypesimpleNameequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisFragmentpublic static final java.lang.String CONTENT_TYPE
protected TextFieldMapper(java.lang.String simpleName,
MappedFieldType fieldType,
MappedFieldType defaultFieldType,
int positionIncrementGap,
java.lang.Boolean includeInAll,
Settings indexSettings,
FieldMapper.MultiFields multiFields,
FieldMapper.CopyTo copyTo)
protected TextFieldMapper clone()
clone in class FieldMapperpublic int getPositionIncrementGap()
protected void parseCreateField(ParseContext context, java.util.List<org.apache.lucene.index.IndexableField> fields) throws java.io.IOException
FieldMapperfields.parseCreateField in class FieldMapperjava.io.IOExceptionprotected java.lang.String contentType()
contentType in class FieldMapperprotected void doMerge(Mapper mergeWith, boolean updateAllTypes)
FieldMappermergeWith in place.doMerge in class FieldMapperupdateAllTypes - TODOpublic TextFieldMapper.TextFieldType fieldType()
fieldType in class FieldMapperprotected void doXContentBody(XContentBuilder builder, boolean includeDefaults, ToXContent.Params params) throws java.io.IOException
doXContentBody in class FieldMapperjava.io.IOException