public class IdFieldMapper extends MetadataFieldMapper
| Modifier and Type | Class and Description |
|---|---|
static class |
IdFieldMapper.Builder |
static class |
IdFieldMapper.Defaults |
static class |
IdFieldMapper.TypeParser |
FieldMapper.CopyTo, FieldMapper.MultiFieldsMapper.BuilderContextToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| Modifier and Type | Field and Description |
|---|---|
static String |
CONTENT_TYPE |
static String |
NAME |
copyTo, defaultFieldType, fieldType, indexCreatedBefore2x, multiFieldsEMPTY_PARAMS| Modifier and Type | Method and Description |
|---|---|
protected String |
contentType() |
protected void |
doMerge(Mapper mergeWith,
boolean updateAllTypes)
Merge changes coming from
mergeWith in place. |
protected void |
parseCreateField(ParseContext context,
List<org.apache.lucene.document.Field> fields)
Parse the field value and populate
fields. |
String |
path() |
void |
postParse(ParseContext context)
Called after
FieldMapper.parse(ParseContext) on the RootObjectMapper. |
void |
preParse(ParseContext context)
Called before
FieldMapper.parse(ParseContext) on the RootObjectMapper. |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
mergeclone, copyTo, customBoost, doXContentAnalyzers, doXContentBody, doXContentDocValues, fieldType, hasCustomFieldDataSettings, indexOptionToString, indexTokenizeOptionToString, isGenerated, iterator, name, parse, termVectorOptionsToString, updateFieldTypesimpleNamepublic static final String NAME
public static final String CONTENT_TYPE
public String path()
public void preParse(ParseContext context) throws IOException
MetadataFieldMapperFieldMapper.parse(ParseContext) on the RootObjectMapper.preParse in class MetadataFieldMapperIOExceptionpublic void postParse(ParseContext context) throws IOException
MetadataFieldMapperFieldMapper.parse(ParseContext) on the RootObjectMapper.postParse in class MetadataFieldMapperIOExceptionprotected void parseCreateField(ParseContext context, List<org.apache.lucene.document.Field> fields) throws IOException
FieldMapperfields.parseCreateField in class FieldMapperIOExceptionprotected String contentType()
contentType in class FieldMapperpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent in interface ToXContenttoXContent in class FieldMapperIOExceptionprotected void doMerge(Mapper mergeWith, boolean updateAllTypes)
FieldMappermergeWith in place.doMerge in class FieldMapperupdateAllTypes - TODOCopyright © 2009–2017. All rights reserved.