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

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

Uses of ValueSource in org.apache.solr.schema
 

Subclasses of ValueSource in org.apache.solr.schema
 class RandomSortField.RandomValueSource
           
 

Methods in org.apache.solr.schema that return ValueSource
 ValueSource SortableFloatField.getValueSource(SchemaField field)
           
 ValueSource SortableIntField.getValueSource(SchemaField field)
           
 ValueSource TrieField.getValueSource(SchemaField field)
           
 ValueSource BCDIntField.getValueSource(SchemaField field)
           
 ValueSource DoubleField.getValueSource(SchemaField field)
           
 ValueSource DateField.getValueSource(SchemaField field)
           
 ValueSource BoolField.getValueSource(SchemaField field)
           
 ValueSource IntField.getValueSource(SchemaField field)
           
 ValueSource TrieDateField.getValueSource(SchemaField field)
           
 ValueSource FloatField.getValueSource(SchemaField field)
           
 ValueSource LongField.getValueSource(SchemaField field)
           
 ValueSource FieldType.getValueSource(SchemaField field)
          Deprecated. use FieldType.getValueSource(SchemaField, QParser)
 ValueSource SortableLongField.getValueSource(SchemaField field)
           
 ValueSource SortableDoubleField.getValueSource(SchemaField field)
           
 ValueSource ByteField.getValueSource(SchemaField field)
           
 ValueSource ShortField.getValueSource(SchemaField field)
           
 ValueSource RandomSortField.getValueSource(SchemaField field)
           
 ValueSource StrField.getValueSource(SchemaField field, QParser parser)
           
 ValueSource DateField.getValueSource(SchemaField field, QParser parser)
           
 ValueSource TrieDateField.getValueSource(SchemaField field, QParser parser)
           
 ValueSource FieldType.getValueSource(SchemaField field, QParser parser)
          called to get the default value source (normally, from the Lucene FieldCache.)
 ValueSource ExternalFileField.getValueSource(SchemaField field, QParser parser)
           
 

Uses of ValueSource in org.apache.solr.search
 

Methods in org.apache.solr.search that return ValueSource
abstract  ValueSource ValueSourceParser.parse(FunctionQParser fp)
          Parse the user input into a ValueSource.
 ValueSource FunctionQParser.parseValueSource()
          Parse an individual ValueSource.
protected  ValueSource FunctionQParser.parseValueSource(boolean doConsumeDelimiter)
          Parse an individual value source.
 

Methods in org.apache.solr.search that return types with arguments of type ValueSource
 List<ValueSource> FunctionQParser.parseValueSourceList()
          Parse a list of ValueSource.
 

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

Subclasses of ValueSource in org.apache.solr.search.function
 class ByteFieldSource
          Obtains int field values from the FieldCache using getInts() and makes those values available as other numeric types, casting as needed.
 class ConstValueSource
          ConstValueSource returns a constant for all documents
 class DivFloatFunction
          Function to divide "a" by "b"
 class DoubleFieldSource
          Obtains float field values from the FieldCache using getFloats() and makes those values available as other numeric types, casting as needed.
 class DualFloatFunction
           
 class FieldCacheSource
          A base class for ValueSource implementations that retrieve values for a single field from the FieldCache.
 class FileFloatSource
          Obtains float field values from an external file.
 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 LongFieldSource
          Obtains float field values from the FieldCache using getFloats() and makes those values available as other numeric types, casting as needed.
 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 PowFloatFunction
          Function to raise the base "a" to the power "b"
 class ProductFloatFunction
          ProductFloatFunction returns the product of it's components.
 class QueryValueSource
          QueryValueSource returns the relevance score of the query
 class RangeMapFloatFunction
          LinearFloatFunction implements a linear function over another ValueSource.
 class ReciprocalFloatFunction
          ReciprocalFloatFunction implements a reciprocal function f(x) = a/(mx+b), based on the float value of a field or function as exported by ValueSource.
 class ReverseOrdFieldSource
          Obtains the ordinal of the field value from the default Lucene FieldCache using getStringIndex() and reverses the order.
 class ScaleFloatFunction
          Scales values to be between min and max.
 class ShortFieldSource
           
 class SimpleFloatFunction
          A simple float function with a single argument
 class SingleFunction
          A function with a single argument
 class SumFloatFunction
          SumFloatFunction returns the sum of it's components.
 class TopValueSource
          A value source that wraps another and ensures that the top level reader is used.
 

Fields in org.apache.solr.search.function declared as ValueSource
protected  ValueSource DualFloatFunction.a
           
protected  ValueSource DualFloatFunction.b
           
protected  ValueSource RangeMapFloatFunction.source
           
protected  ValueSource MaxFloatFunction.source
           
protected  ValueSource ReciprocalFloatFunction.source
           
protected  ValueSource LinearFloatFunction.source
           
protected  ValueSource ScaleFloatFunction.source
           
protected  ValueSource SingleFunction.source
           
protected  ValueSource StringIndexDocValues.vs
           
 

Methods in org.apache.solr.search.function that return ValueSource
 ValueSource BoostedQuery.getValueSource()
           
 ValueSource TopValueSource.getValueSource()
           
 ValueSource FunctionQuery.getValueSource()
           
 

Constructors in org.apache.solr.search.function with parameters of type ValueSource
BoostedQuery(Query subQuery, ValueSource boostVal)
           
DivFloatFunction(ValueSource a, ValueSource b)
           
DualFloatFunction(ValueSource a, ValueSource b)
           
FunctionQuery(ValueSource func)
           
LinearFloatFunction(ValueSource source, float slope, float intercept)
           
MaxFloatFunction(ValueSource source, float fval)
           
PowFloatFunction(ValueSource a, ValueSource b)
           
ProductFloatFunction(ValueSource[] sources)
           
RangeMapFloatFunction(ValueSource source, float min, float max, float target, Float def)
           
ReciprocalFloatFunction(ValueSource source, float m, float a, float b)
          f(source) = a/(m*float(source)+b)
ScaleFloatFunction(ValueSource source, float min, float max)
           
SimpleFloatFunction(ValueSource source)
           
SingleFunction(ValueSource source)
           
StringIndexDocValues(ValueSource vs, IndexReader reader, String field)
           
SumFloatFunction(ValueSource[] sources)
           
TopValueSource(ValueSource vs)
           
ValueSourceRangeFilter(ValueSource valueSource, String lowerVal, String upperVal, boolean includeLower, boolean includeUpper)
           
 



Copyright © 2011 Apache Software Foundation. All Rights Reserved.