Package org.apache.solr.search.function

Class Summary
DocValues Represents field values as different types.
FieldCacheSource A base class for ValueSource implementations that retrieve values for a single field from the FieldCache.
FloatFieldSource Obtains float field values from the FieldCache using getFloats() and makes those values available as other numeric types, casting as needed.
FunctionQuery Returns a score for each document based on a ValueSource, often some function of the value of a field.
IntFieldSource Obtains int field values from the FieldCache using getInts() and makes those values available as other numeric types, casting as needed.
LinearFloatFunction LinearFloatFunction implements a linear function over another ValueSource.
MaxFloatFunction 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 Obtains the ordinal of the field value from the default Lucene FieldCache using getStringIndex().
ReciprocalFloatFunction ReciprocalFloatFunction implements a reciprocal function f(x) = a/(mx+b), based on the float value of a field as exported by ValueSource.
ReverseOrdFieldSource Obtains the ordinal of the field value from the default Lucene FieldCache using getStringIndex() and reverses the order.
ValueSource Instantiates DocValues for a particular reader.
 



Copyright © 2006 - 2008 The Apache Software Foundation