Package org.opensearch.index.mapper
Class RankFeatureMetaFieldMapper
java.lang.Object
org.opensearch.index.mapper.Mapper
org.opensearch.index.mapper.FieldMapper
org.opensearch.index.mapper.ParametrizedFieldMapper
org.opensearch.index.mapper.MetadataFieldMapper
org.opensearch.index.mapper.RankFeatureMetaFieldMapper
- All Implemented Interfaces:
Cloneable,Iterable<Mapper>,org.opensearch.core.xcontent.ToXContent,org.opensearch.core.xcontent.ToXContentFragment
This meta field only exists because rank feature fields index everything into a
common _feature field and OpenSearch has a custom codec that complains
when fields exist in the index and not in mappings.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classNested classes/interfaces inherited from class org.opensearch.index.mapper.MetadataFieldMapper
MetadataFieldMapper.Builder, MetadataFieldMapper.ConfigurableTypeParser, MetadataFieldMapper.FixedTypeParser, MetadataFieldMapper.TypeParserNested classes/interfaces inherited from class org.opensearch.index.mapper.ParametrizedFieldMapper
ParametrizedFieldMapper.Parameter<T extends Object>, ParametrizedFieldMapper.Serializer<T extends Object>, ParametrizedFieldMapper.SerializerCheck<T extends Object>Nested classes/interfaces inherited from class org.opensearch.index.mapper.FieldMapper
FieldMapper.CopyTo, FieldMapper.MultiFieldsNested classes/interfaces inherited from class org.opensearch.index.mapper.Mapper
Mapper.BuilderContextNested classes/interfaces inherited from interface org.opensearch.core.xcontent.ToXContent
org.opensearch.core.xcontent.ToXContent.DelegatingMapParams, org.opensearch.core.xcontent.ToXContent.MapParams, org.opensearch.core.xcontent.ToXContent.Params -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final MetadataFieldMapper.TypeParserFields inherited from class org.opensearch.index.mapper.FieldMapper
COERCE_SETTING, copyTo, fieldType, IGNORE_MALFORMED_SETTING, mappedFieldType, multiFieldsFields inherited from interface org.opensearch.core.xcontent.ToXContent
EMPTY_PARAMS -
Method Summary
Methods inherited from class org.opensearch.index.mapper.MetadataFieldMapper
getMergeBuilder, parseCreateField, postParse, preParse, toXContent, updateableBoolParamMethods inherited from class org.opensearch.index.mapper.ParametrizedFieldMapper
doXContentBody, merge, mergeOptionsMethods inherited from class org.opensearch.index.mapper.FieldMapper
clone, copyTo, createFieldNamesField, docValuesByDefault, doValidate, doXContentAnalyzers, fieldType, indexedByDefault, indexOptionToString, iterator, multiFields, name, parse, parsesArrayValue, storedByDefault, typeName, validateMethods inherited from class org.opensearch.index.mapper.Mapper
hasIndexCreated, simpleNameMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.opensearch.core.xcontent.ToXContentFragment
isFragment
-
Field Details
-
NAME
- See Also:
-
CONTENT_TYPE
- See Also:
-
PARSER
-
-
Method Details
-
contentType
- Specified by:
contentTypein classFieldMapper
-