public class TrieFloatField extends TrieField implements FloatValueFieldType
Float.NaN
, Float.NEGATIVE_INFINITY
, or
Float.POSITIVE_INFINITY
is undefined.Float
,
Java Language Specification, s4.2.3FieldType.DefaultAnalyzer, FieldType.MultiValueSelector
DEFAULT_PRECISION_STEP, precisionStep, precisionStepArg
type
ANALYZER, args, AUTO_GENERATE_PHRASE_QUERIES, CHAR_FILTER, CHAR_FILTERS, CLASS_NAME, docValuesFormat, ENABLE_GRAPH_QUERIES, 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, LARGE_FIELD, 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
|
createField, createFields, getFieldQuery, getMainValuePrefix, getNumericType, getPrecisionStep, getRangeQuery, getSingleValueSource, getSortField, getUninversionType, getValueSource, indexedToReadable, indexedToReadable, init, isTokenized, multiValuedFieldCache, readableToIndexed, readableToIndexed, storedToIndexed, storedToReadable, toExternal, toInternal, toObject, toObject, write
getDocValuesRangeQuery, getNumberType, getRangeQueryForFloatDoubleDocValues, getRangeQueryForMultiValuedDoubleDocValues, getRangeQueryForMultiValuedFloatDocValues, numericDocValuesRangeQuery
checkSupportsDocValues
checkSchemaField, createField, getAnalyzerProperties, getClassArg, getDocValuesFormat, getIndexAnalyzer, getIndexOptions, getNamedPropertyValues, getNonFieldPropertyArgs, getPostingsFormat, getPrefixQuery, getQueryAnalyzer, getRewriteMethod, getSetQuery, getSimilarity, getSimilarityFactory, getStringSort, getTypeName, hasProperty, isExplicitAnalyzer, isExplicitQueryAnalyzer, isMultiValued, isPointField, 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, guaranteed to be multivalued.FieldType.getSingleValueSource(MultiValueSelector,SchemaField,QParser)
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.