public class IndexFieldMapper extends MetadataFieldMapper
| 修飾子とタイプ | クラスと説明 |
|---|---|
static class |
IndexFieldMapper.Builder |
static class |
IndexFieldMapper.Defaults |
static class |
IndexFieldMapper.TypeParser |
FieldMapper.CopyTo, FieldMapper.MultiFieldsMapper.BuilderContextToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| 修飾子とタイプ | フィールドと説明 |
|---|---|
static String |
CONTENT_TYPE |
static String |
NAME |
copyTo, defaultFieldType, fieldType, indexCreatedBefore2x, multiFieldsEMPTY_PARAMS| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected String |
contentType() |
protected void |
doMerge(Mapper mergeWith,
boolean updateAllTypes)
Merge changes coming from
mergeWith in place. |
boolean |
enabled() |
Mapper |
parse(ParseContext context)
Parse using the provided
ParseContext and return a mapping
update if dynamic mappings modified the mappings, or null if
mappings were not modified. |
protected void |
parseCreateField(ParseContext context,
List<org.apache.lucene.document.Field> fields)
Parse the field value and populate
fields. |
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) |
String |
value(org.apache.lucene.document.Document document) |
mergeclone, copyTo, customBoost, doXContentAnalyzers, doXContentBody, doXContentDocValues, fieldType, hasCustomFieldDataSettings, indexOptionToString, indexTokenizeOptionToString, isGenerated, iterator, name, termVectorOptionsToString, updateFieldTypesimpleNameequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic boolean enabled()
public String value(org.apache.lucene.document.Document document)
public void preParse(ParseContext context) throws IOException
MetadataFieldMapperFieldMapper.parse(ParseContext) on the RootObjectMapper.preParse クラス内 MetadataFieldMapperIOExceptionpublic void postParse(ParseContext context) throws IOException
MetadataFieldMapperFieldMapper.parse(ParseContext) on the RootObjectMapper.postParse クラス内 MetadataFieldMapperIOExceptionpublic Mapper parse(ParseContext context) throws IOException
FieldMapperParseContext and return a mapping
update if dynamic mappings modified the mappings, or null if
mappings were not modified.parse クラス内 FieldMapperIOExceptionprotected void parseCreateField(ParseContext context, List<org.apache.lucene.document.Field> fields) throws IOException
FieldMapperfields.parseCreateField クラス内 FieldMapperIOExceptionprotected String contentType()
contentType クラス内 FieldMapperpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent インタフェース内 ToXContenttoXContent クラス内 FieldMapperIOExceptionprotected void doMerge(Mapper mergeWith, boolean updateAllTypes)
FieldMappermergeWith in place.doMerge クラス内 FieldMapperupdateAllTypes - TODOCopyright © 2009–2016. All rights reserved.