org.apache.solr.search.function |
|
Java Source File Name | Type | Comment |
DocValues.java | Class | Represents field values as different types. |
FieldCacheSource.java | Class | A base class for ValueSource implementations that retrieve values for
a single field from the
org.apache.lucene.search.FieldCache . |
FloatFieldSource.java | Class | Obtains float field values from the
org.apache.lucene.search.FieldCache using getFloats()
and makes those values available as other numeric types, casting as needed. |
FunctionQuery.java | Class | Returns a score for each document based on a ValueSource,
often some function of the value of a field. |
IntFieldSource.java | Class | Obtains int field values from the
org.apache.lucene.search.FieldCache using getInts()
and makes those values available as other numeric types, casting as needed. |
LinearFloatFunction.java | Class | LinearFloatFunction implements a linear function over
another
ValueSource . |
MaxFloatFunction.java | Class | Returns the max of a ValueSource and a float
(which is useful for "bottoming out" another function at 0.0,
or some positive number). |
OrdFieldSource.java | Class | Obtains the ordinal of the field value from the default Lucene
org.apache.lucene.search.FieldCache using getStringIndex(). |
ReciprocalFloatFunction.java | Class | ReciprocalFloatFunction implements a reciprocal function f(x) = a/(mx+b), based on
the float value of a field as exported by
org.apache.solr.search.function.ValueSource . |
ReverseOrdFieldSource.java | Class | Obtains the ordinal of the field value from the default Lucene
org.apache.lucene.search.FieldCache using getStringIndex()
and reverses the order. |
ValueSource.java | Class | Instantiates
org.apache.solr.search.function.DocValues for a particular reader. |