Package org.apache.solr.schema
Class TrieFloatField
-
- All Implemented Interfaces:
FloatValueFieldType
,NumericValueFieldType
@Deprecated public class TrieFloatField extends TrieField implements FloatValueFieldType
Deprecated.Trie fields are deprecated as of Solr 7.0A numeric field that can contain single-precision 32-bit IEEE 754 floating point values.- Min Value Allowed: 1.401298464324817E-45
- Max Value Allowed: 3.4028234663852886E38
Float.NaN
,Float.NEGATIVE_INFINITY
, orFloat.POSITIVE_INFINITY
is undefined.- See Also:
Float
, Java Language Specification, s4.2.3
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.solr.schema.FieldType
FieldType.DefaultAnalyzer, FieldType.MultiValueSelector
-
-
Field Summary
-
Fields inherited from class org.apache.solr.schema.TrieField
DEFAULT_PRECISION_STEP, precisionStep, precisionStepArg
-
Fields inherited from class org.apache.solr.schema.NumericFieldType
type
-
Fields inherited from class org.apache.solr.schema.FieldType
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, SYNONYM_QUERY_STYLE, TOKENIZER, trueProperties, TYPE, TYPE_NAME, typeName
-
Fields inherited from class org.apache.solr.schema.FieldProperties
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, UNINVERTIBLE, USE_DOCVALUES_AS_STORED
-
-
Constructor Summary
Constructors Constructor Description TrieFloatField()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected org.apache.lucene.queries.function.ValueSource
getSingleValueSource(org.apache.lucene.search.SortedSetSelector.Type choice, SchemaField f)
Deprecated.Helper method that will only be called for multivalued Trie fields that have doc values.Object
toNativeType(Object val)
Deprecated.Converts any Object to a java Object native to this field type-
Methods inherited from class org.apache.solr.schema.TrieField
createField, createFields, getFieldQuery, getMainValuePrefix, getPrecisionStep, getRangeQuery, getSingleValueSource, getSortField, getUninversionType, getValueSource, indexedToReadable, indexedToReadable, init, isTokenized, multiValuedFieldCache, readableToIndexed, readableToIndexed, storedToIndexed, storedToReadable, toExternal, toInternal, toObject, toObject, write
-
Methods inherited from class org.apache.solr.schema.NumericFieldType
getDocValuesRangeQuery, getNumberType, getRangeQueryForFloatDoubleDocValues, getRangeQueryForMultiValuedDoubleDocValues, getRangeQueryForMultiValuedFloatDocValues, numericDocValuesRangeQuery
-
Methods inherited from class org.apache.solr.schema.PrimitiveFieldType
checkSupportsDocValues, getDefaultMultiValueSelectorForSort
-
Methods inherited from class org.apache.solr.schema.FieldType
checkSchemaField, createField, getAnalyzerProperties, getClassArg, getDocValuesFormat, getIndexAnalyzer, getNamedPropertyValues, getNonFieldPropertyArgs, getNumericSort, getPostingsFormat, getPrefixQuery, getQueryAnalyzer, getRewriteMethod, getSetQuery, getSimilarity, getSimilarityFactory, getSortedNumericSortField, getSortedSetSortField, getSortField, getStringSort, getTypeName, hasProperty, isExplicitAnalyzer, isExplicitQueryAnalyzer, isMultiValued, isPointField, isPolyField, isUtf8Field, marshalBase64SortValue, marshalSortValue, marshalStringSortValue, restrictProps, setArgs, setIndexAnalyzer, setIsExplicitAnalyzer, setIsExplicitQueryAnalyzer, setQueryAnalyzer, setSimilarity, supportsAnalyzers, toString, unmarshalBase64SortValue, unmarshalSortValue, unmarshalStringSortValue, useDocValuesAsStored, write
-
-
-
-
Method Detail
-
toNativeType
public Object toNativeType(Object val)
Deprecated.Description copied from class:FieldType
Converts any Object to a java Object native to this field type- Overrides:
toNativeType
in classFieldType
-
getSingleValueSource
protected org.apache.lucene.queries.function.ValueSource getSingleValueSource(org.apache.lucene.search.SortedSetSelector.Type choice, SchemaField f)
Deprecated.Description copied from class:TrieField
Helper method that will only be called for multivalued Trie fields that have doc values. Default impl throws an error indicating that selecting a single value from this multivalued field is not supported for this field type- Overrides:
getSingleValueSource
in classTrieField
- Parameters:
choice
- the selector Type to use, will never be nullf
- the field to use, guaranteed to be multivalued.- See Also:
TrieField.getSingleValueSource(MultiValueSelector,SchemaField,QParser)
-
-