public class TrieFloatField extends TrieField implements FloatValueFieldType
Float.NaN
, Float.NEGATIVE_INFINITY
, or
Float.POSITIVE_INFINITY
is undefined.Float
,
Java Language Specification, s4.2.3TrieField.TrieTypes
FieldType.DefaultAnalyzer, FieldType.MultiValueSelector
DEFAULT_PRECISION_STEP, precisionStep, precisionStepArg, type
ANALYZER, args, CHAR_FILTER, CHAR_FILTERS, CLASS_NAME, docValuesFormat, falseProperties, FILTER, FILTERS, INDEX, INDEX_ANALYZER, MULTI_TERM, MULTI_TERM_ANALYZER, POLY_FIELD_SEPARATOR, postingsFormat, properties, QUERY, QUERY_ANALYZER, similarity, SIMILARITY, similarityFactory, TOKENIZER, trueProperties, TYPE, TYPE_NAME, typeName
BINARY, DOC_VALUES, INDEXED, MULTIVALUED, OMIT_NORMS, OMIT_POSITIONS, OMIT_TF_POSITIONS, REQUIRED, SORT_MISSING_FIRST, SORT_MISSING_LAST, STORE_OFFSETS, STORE_TERMOFFSETS, STORE_TERMPAYLOADS, STORE_TERMPOSITIONS, STORE_TERMVECTORS, STORED, TOKENIZED, USE_DOCVALUES_AS_STORED
Constructor and Description |
---|
TrieFloatField() |
Modifier and Type | Method and Description |
---|---|
protected ValueSource |
getSingleValueSource(SortedSetSelector.Type choice,
SchemaField f)
Helper method that will only be called for multivalued Trie fields that have doc values.
|
Object |
toNativeType(Object val)
Converts any Object to a java Object native to this field type
|
checkSchemaField, createField, createFields, getFieldQuery, getMainValuePrefix, getNumericType, getPrecisionStep, getRangeQuery, getSingleValueSource, getSortField, getType, getUninversionType, getValueSource, indexedToReadable, indexedToReadable, init, isTokenized, multiValuedFieldCache, readableToIndexed, readableToIndexed, storedToIndexed, storedToReadable, toExternal, toInternal, toObject, toObject, write
createField, getAnalyzerProperties, getClassArg, getDocValuesFormat, getIndexAnalyzer, getIndexOptions, getNamedPropertyValues, getNonFieldPropertyArgs, getPostingsFormat, getPrefixQuery, getQueryAnalyzer, getRewriteMethod, getSimilarity, getSimilarityFactory, getStringSort, getTypeName, hasProperty, isExplicitAnalyzer, isExplicitQueryAnalyzer, isMultiValued, isPolyField, marshalBase64SortValue, marshalSortValue, marshalStringSortValue, restrictProps, setArgs, setIndexAnalyzer, setIsExplicitAnalyzer, setIsExplicitQueryAnalyzer, setQueryAnalyzer, setSimilarity, supportsAnalyzers, toString, unmarshalBase64SortValue, unmarshalSortValue, unmarshalStringSortValue, useDocValuesAsStored
public Object toNativeType(Object val)
FieldType
toNativeType
in class FieldType
protected ValueSource getSingleValueSource(SortedSetSelector.Type choice, SchemaField f)
TrieField
getSingleValueSource
in class TrieField
choice
- the selector Type to use, will never be nullf
- the field to use, garunteed to be multivalued.FieldType.getSingleValueSource(MultiValueSelector,SchemaField,QParser)
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.