Class TrieFloatField

All Implemented Interfaces:
FloatValueFieldType, NumericValueFieldType

@Deprecated public class TrieFloatField extends TrieField implements FloatValueFieldType
Deprecated.
Trie fields are deprecated as of Solr 7.0
A 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
NOTE: The behavior of this class when given values of Float.NaN, Float.NEGATIVE_INFINITY, or Float.POSITIVE_INFINITY is undefined.
See Also:
  • Constructor Details

    • TrieFloatField

      public TrieFloatField()
      Deprecated.
  • Method Details

    • 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 class FieldType
    • 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 class TrieField
      Parameters:
      choice - the selector Type to use, will never be null
      f - the field to use, guaranteed to be multivalued.
      See Also: