Package org.elasticsearch.index.mapper
Class MatchOnlyTextFieldMapper
java.lang.Object
org.elasticsearch.index.mapper.Mapper
org.elasticsearch.index.mapper.FieldMapper
org.elasticsearch.index.mapper.MatchOnlyTextFieldMapper
- All Implemented Interfaces:
Cloneable,Iterable<Mapper>,org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentFragment
A
FieldMapper for full-text fields that only indexes
IndexOptions.DOCS and runs positional queries by looking at the
_source.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classNested classes/interfaces inherited from class org.elasticsearch.index.mapper.FieldMapper
FieldMapper.Conflicts, FieldMapper.CopyTo, FieldMapper.MergeValidator<T extends Object>, FieldMapper.MultiFields, FieldMapper.Parameter<T extends Object>, FieldMapper.Serializer<T extends Object>, FieldMapper.SerializerCheck<T extends Object>, FieldMapper.TypeParserNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.Params -
Field Summary
FieldsFields inherited from class org.elasticsearch.index.mapper.FieldMapper
COERCE_SETTING, copyTo, hasScript, IGNORE_MALFORMED_SETTING, mappedFieldType, multiFields, onScriptErrorFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprotected voidparseCreateField(DocumentParserContext context) Methods inherited from class org.elasticsearch.index.mapper.FieldMapper
checkIncomingMergeType, copyTo, doValidate, doXContentBody, executeScript, hasScript, indexAnalyzers, indexScriptValues, iterator, merge, multiFields, name, notInMultiFields, parse, parsesArrayValue, toXContent, typeName, validateMethods inherited from class org.elasticsearch.index.mapper.Mapper
simpleNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.elasticsearch.xcontent.ToXContentFragment
isFragment
-
Field Details
-
CONTENT_TYPE
- See Also:
-
PARSER
-
-
Method Details
-
getMergeBuilder
- Specified by:
getMergeBuilderin classFieldMapper
-
parseCreateField
- Specified by:
parseCreateFieldin classFieldMapper- Throws:
IOException
-
contentType
- Specified by:
contentTypein classFieldMapper
-
fieldType
- Overrides:
fieldTypein classFieldMapper
-