Package org.elasticsearch.index.mapper
Class RankFeaturesFieldMapper
- java.lang.Object
-
- org.elasticsearch.index.mapper.Mapper
-
- org.elasticsearch.index.mapper.FieldMapper
-
- org.elasticsearch.index.mapper.RankFeaturesFieldMapper
-
- All Implemented Interfaces:
java.lang.Cloneable,java.lang.Iterable<Mapper>,ToXContent,ToXContentFragment
public class RankFeaturesFieldMapper extends FieldMapper
AFieldMapperthat exposes Lucene'sFeatureFieldas a sparse vector of features.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRankFeaturesFieldMapper.Builderstatic classRankFeaturesFieldMapper.Defaultsstatic classRankFeaturesFieldMapper.RankFeaturesFieldTypestatic classRankFeaturesFieldMapper.TypeParser-
Nested classes/interfaces inherited from class org.elasticsearch.index.mapper.FieldMapper
FieldMapper.CopyTo, FieldMapper.MultiFields
-
Nested classes/interfaces inherited from class org.elasticsearch.index.mapper.Mapper
Mapper.BuilderContext
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCONTENT_TYPE-
Fields inherited from class org.elasticsearch.index.mapper.FieldMapper
COERCE_SETTING, copyTo, defaultFieldType, fieldType, IGNORE_MALFORMED_SETTING, indexCreatedVersion, multiFields
-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
Method Summary
Modifier and Type Method Description protected RankFeaturesFieldMapperclone()protected java.lang.StringcontentType()RankFeaturesFieldMapper.RankFeaturesFieldTypefieldType()voidparse(ParseContext context)protected voidparseCreateField(ParseContext context, java.util.List<IndexableField> fields)-
Methods inherited from class org.elasticsearch.index.mapper.FieldMapper
copyTo, createFieldNamesField, doMerge, doXContentAnalyzers, doXContentBody, doXContentDocValues, indexOptionToString, iterator, merge, name, termVectorOptionsToString, toXContent, typeName, updateFieldType
-
Methods inherited from class org.elasticsearch.index.mapper.Mapper
simpleName
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragment
isFragment
-
-
-
-
Field Detail
-
CONTENT_TYPE
public static final java.lang.String CONTENT_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
clone
protected RankFeaturesFieldMapper clone()
- Overrides:
clonein classFieldMapper
-
fieldType
public RankFeaturesFieldMapper.RankFeaturesFieldType fieldType()
- Overrides:
fieldTypein classFieldMapper
-
parse
public void parse(ParseContext context) throws java.io.IOException
- Overrides:
parsein classFieldMapper- Throws:
java.io.IOException
-
parseCreateField
protected void parseCreateField(ParseContext context, java.util.List<IndexableField> fields) throws java.io.IOException
- Specified by:
parseCreateFieldin classFieldMapper- Throws:
java.io.IOException
-
contentType
protected java.lang.String contentType()
- Specified by:
contentTypein classFieldMapper
-
-