Class ShortFieldSource
java.lang.Object
org.apache.lucene.queries.function.ValueSource
org.apache.lucene.queries.function.valuesource.FieldCacheSource
org.apache.lucene.queries.function.valuesource.ShortFieldSource
Deprecated.
Obtains short field values from the
FieldCache
using getShorts()
and makes those values available as other numeric types, casting as needed.-
Constructor Summary
ConstructorsConstructorDescriptionShortFieldSource
(String field) Deprecated.ShortFieldSource
(String field, FieldCache.ShortParser parser) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.description of field, used in explain()boolean
Deprecated.getValues
(Map context, AtomicReaderContext readerContext) Deprecated.Gets the values for this reader and the context that was previously passed to createWeight()int
hashCode()
Deprecated.Methods inherited from class org.apache.lucene.queries.function.valuesource.FieldCacheSource
getField, getFieldCache
Methods inherited from class org.apache.lucene.queries.function.ValueSource
createWeight, getSortField, newContext, toString
-
Constructor Details
-
ShortFieldSource
Deprecated. -
ShortFieldSource
Deprecated.
-
-
Method Details
-
description
Deprecated.Description copied from class:ValueSource
description of field, used in explain()- Overrides:
description
in classFieldCacheSource
-
getValues
Deprecated.Description copied from class:ValueSource
Gets the values for this reader and the context that was previously passed to createWeight()- Specified by:
getValues
in classValueSource
- Throws:
IOException
-
equals
Deprecated.- Overrides:
equals
in classFieldCacheSource
-
hashCode
public int hashCode()Deprecated.- Overrides:
hashCode
in classFieldCacheSource
-