java.lang.Cloneable, java.lang.Iterable<Mapper>, ToXContent, ToXContentFragmentpublic class IndexFieldMapper extends MetadataFieldMapper
| Modifier and Type | Class | Description |
|---|---|---|
static class |
IndexFieldMapper.Builder |
|
static class |
IndexFieldMapper.Defaults |
|
static class |
IndexFieldMapper.TypeParser |
FieldMapper.CopyTo, FieldMapper.MultiFieldsMapper.BuilderContextToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
CONTENT_TYPE |
|
static java.lang.String |
NAME |
COERCE_SETTING, copyTo, defaultFieldType, fieldType, IGNORE_MALFORMED_SETTING, indexCreatedVersion, multiFieldsEMPTY_PARAMS| Modifier and Type | Method | Description |
|---|---|---|
protected java.lang.String |
contentType() |
|
protected void |
doMerge(Mapper mergeWith,
boolean updateAllTypes) |
Merge changes coming from
mergeWith in place. |
protected void |
parseCreateField(ParseContext context,
java.util.List<org.apache.lucene.index.IndexableField> fields) |
Parse the field value and populate
fields. |
void |
preParse(ParseContext context) |
Called before
FieldMapper.parse(ParseContext) on the RootObjectMapper. |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
clone, copyTo, createFieldNamesField, doXContentAnalyzers, doXContentBody, doXContentDocValues, fieldType, indexOptionToString, indexTokenizeOption, iterator, name, parse, termVectorOptionsToString, updateFieldTypesimpleNamemerge, postParseequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisFragmentpublic static final java.lang.String NAME
public static final java.lang.String CONTENT_TYPE
public void preParse(ParseContext context) throws java.io.IOException
MetadataFieldMapperFieldMapper.parse(ParseContext) on the RootObjectMapper.preParse in class MetadataFieldMapperjava.io.IOExceptionprotected 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 FieldMapperpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent in interface ToXContenttoXContent in class FieldMapperjava.io.IOExceptionprotected void doMerge(Mapper mergeWith, boolean updateAllTypes)
FieldMappermergeWith in place.doMerge in class FieldMapperupdateAllTypes - TODO