public class PreAnalyzedMapper
extends org.elasticsearch.index.mapper.FieldMapper
| Modifier and Type | Class and Description |
|---|---|
static class |
PreAnalyzedMapper.Builder |
static class |
PreAnalyzedMapper.Defaults |
static class |
PreAnalyzedMapper.PreanalyzedFieldType |
static class |
PreAnalyzedMapper.PreAnalyzedTokenStream |
static class |
PreAnalyzedMapper.TypeParser
Parses the mapping of a preanalyzed field, e.g.
|
org.elasticsearch.index.mapper.FieldMapper.CopyTo, org.elasticsearch.index.mapper.FieldMapper.MultiFields| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONTENT_TYPE |
| Constructor and Description |
|---|
PreAnalyzedMapper(java.lang.String simpleName,
org.elasticsearch.index.mapper.MappedFieldType fieldType,
org.elasticsearch.index.mapper.MappedFieldType defaultFieldType,
org.elasticsearch.common.settings.Settings indexSettings,
org.elasticsearch.index.mapper.FieldMapper.MultiFields multiFields,
org.elasticsearch.index.mapper.FieldMapper.CopyTo copyTo,
org.apache.lucene.document.FieldType fieldTypeText,
org.elasticsearch.index.mapper.MappedFieldType fieldTypeIndexed) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
contentType() |
protected void |
doXContentBody(org.elasticsearch.common.xcontent.XContentBuilder builder,
boolean includeDefaults,
org.elasticsearch.common.xcontent.ToXContent.Params params)
This is used to send all information about the mapper to places where it
is used.
|
protected void |
parseCreateField(org.elasticsearch.index.mapper.ParseContext context,
java.util.List<org.apache.lucene.index.IndexableField> fields) |
clone, copyTo, customBoost, doMerge, doXContentAnalyzers, doXContentDocValues, fieldType, indexOptionToString, indexTokenizeOption, iterator, merge, name, parse, termVectorOptionsToString, toXContent, updateFieldTypepublic static final java.lang.String CONTENT_TYPE
public PreAnalyzedMapper(java.lang.String simpleName,
org.elasticsearch.index.mapper.MappedFieldType fieldType,
org.elasticsearch.index.mapper.MappedFieldType defaultFieldType,
org.elasticsearch.common.settings.Settings indexSettings,
org.elasticsearch.index.mapper.FieldMapper.MultiFields multiFields,
org.elasticsearch.index.mapper.FieldMapper.CopyTo copyTo,
org.apache.lucene.document.FieldType fieldTypeText,
org.elasticsearch.index.mapper.MappedFieldType fieldTypeIndexed)
protected void parseCreateField(org.elasticsearch.index.mapper.ParseContext context,
java.util.List<org.apache.lucene.index.IndexableField> fields)
throws java.io.IOException
parseCreateField in class org.elasticsearch.index.mapper.FieldMapperjava.io.IOExceptionprotected void doXContentBody(org.elasticsearch.common.xcontent.XContentBuilder builder,
boolean includeDefaults,
org.elasticsearch.common.xcontent.ToXContent.Params params)
throws java.io.IOException
doXContentBody in class org.elasticsearch.index.mapper.FieldMapperjava.io.IOExceptionprotected java.lang.String contentType()
contentType in class org.elasticsearch.index.mapper.FieldMapper