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:
Cloneable,Iterable<org.elasticsearch.index.mapper.Mapper>,org.elasticsearch.common.xcontent.ToXContent,org.elasticsearch.common.xcontent.ToXContentFragment
public class RankFeaturesFieldMapper
extends org.elasticsearch.index.mapper.FieldMapper
A
FieldMapper that exposes Lucene's FeatureField as a sparse
vector of features.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class org.elasticsearch.index.mapper.FieldMapper
org.elasticsearch.index.mapper.FieldMapper.Conflicts, org.elasticsearch.index.mapper.FieldMapper.CopyTo, org.elasticsearch.index.mapper.FieldMapper.MergeValidator<T extends Object>, org.elasticsearch.index.mapper.FieldMapper.MultiFields, org.elasticsearch.index.mapper.FieldMapper.Parameter<T extends Object>, org.elasticsearch.index.mapper.FieldMapper.Serializer<T extends Object>, org.elasticsearch.index.mapper.FieldMapper.SerializerCheck<T extends Object>, org.elasticsearch.index.mapper.FieldMapper.TypeParserNested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Stringstatic org.elasticsearch.index.mapper.FieldMapper.TypeParserFields inherited from class org.elasticsearch.index.mapper.FieldMapper
COERCE_SETTING, copyTo, hasScript, IGNORE_MALFORMED_SETTING, indexAnalyzers, mappedFieldType, multiFields, onScriptErrorFields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringorg.elasticsearch.index.mapper.FieldMapper.Buildervoidparse(org.elasticsearch.index.mapper.ParseContext context)protected voidparseCreateField(org.elasticsearch.index.mapper.ParseContext context)Methods inherited from class org.elasticsearch.index.mapper.FieldMapper
checkIncomingMergeType, copyTo, doValidate, doXContentBody, executeScript, hasScript, indexAnalyzers, indexScriptValues, iterator, merge, multiFields, name, notInMultiFields, 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.common.xcontent.ToXContentFragment
isFragment
-
Field Details
-
CONTENT_TYPE
- See Also:
- Constant Field Values
-
PARSER
public static final org.elasticsearch.index.mapper.FieldMapper.TypeParser PARSER
-
-
Method Details
-
getMergeBuilder
public org.elasticsearch.index.mapper.FieldMapper.Builder getMergeBuilder()- Specified by:
getMergeBuilderin classorg.elasticsearch.index.mapper.FieldMapper
-
fieldType
- Overrides:
fieldTypein classorg.elasticsearch.index.mapper.FieldMapper
-
parse
- Overrides:
parsein classorg.elasticsearch.index.mapper.FieldMapper- Throws:
IOException
-
parseCreateField
protected void parseCreateField(org.elasticsearch.index.mapper.ParseContext context)- Specified by:
parseCreateFieldin classorg.elasticsearch.index.mapper.FieldMapper
-
contentType
- Specified by:
contentTypein classorg.elasticsearch.index.mapper.FieldMapper
-