Uses of Class
org.apache.solr.search.function.ValueSource

Packages that use ValueSource
org.apache.solr.schema   
org.apache.solr.search.function   
 

Uses of ValueSource in org.apache.solr.schema
 

Methods in org.apache.solr.schema that return ValueSource
 ValueSource SortableDoubleField.getValueSource(SchemaField field)
           
 ValueSource DoubleField.getValueSource(SchemaField field)
           
 ValueSource SortableIntField.getValueSource(SchemaField field)
           
 ValueSource BCDIntField.getValueSource(SchemaField field)
           
 ValueSource SortableLongField.getValueSource(SchemaField field)
           
 ValueSource FloatField.getValueSource(SchemaField field)
           
 ValueSource IntField.getValueSource(SchemaField field)
           
 ValueSource LongField.getValueSource(SchemaField field)
           
 ValueSource BoolField.getValueSource(SchemaField field)
           
 ValueSource FieldType.getValueSource(SchemaField field)
          called to get the default value source (normally, from the Lucene FieldCache.)
 ValueSource DateField.getValueSource(SchemaField field)
           
 ValueSource SortableFloatField.getValueSource(SchemaField field)
           
 

Uses of ValueSource in org.apache.solr.search.function
 

Subclasses of ValueSource in org.apache.solr.search.function
 class FieldCacheSource
          A base class for ValueSource implementations that retrieve values for a single field from the FieldCache.
 class FloatFieldSource
          Obtains float field values from the FieldCache using getFloats() and makes those values available as other numeric types, casting as needed.
 class IntFieldSource
          Obtains int field values from the FieldCache using getInts() and makes those values available as other numeric types, casting as needed.
 class LinearFloatFunction
          LinearFloatFunction implements a linear function over another ValueSource.
 class 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).
 class OrdFieldSource
          Obtains the ordinal of the field value from the default Lucene FieldCache using getStringIndex().
 class ReciprocalFloatFunction
          ReciprocalFloatFunction implements a reciprocal function f(x) = a/(mx+b), based on the float value of a field as exported by ValueSource.
 class ReverseOrdFieldSource
          Obtains the ordinal of the field value from the default Lucene FieldCache using getStringIndex() and reverses the order.
 

Fields in org.apache.solr.search.function declared as ValueSource
protected  ValueSource LinearFloatFunction.source
           
protected  ValueSource MaxFloatFunction.source
           
protected  ValueSource ReciprocalFloatFunction.source
           
 

Constructors in org.apache.solr.search.function with parameters of type ValueSource
FunctionQuery(ValueSource func)
           
LinearFloatFunction(ValueSource source, float slope, float intercept)
           
MaxFloatFunction(ValueSource source, float fval)
           
ReciprocalFloatFunction(ValueSource source, float m, float a, float b)
          f(source) = a/(m*float(source)+b)
 



Copyright © 2006 - 2009 The Apache Software Foundation