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   
org.apache.solr.search.function.distance   
 

Uses of ValueSource in org.apache.solr.schema
 

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

Methods in org.apache.solr.schema that return ValueSource
 ValueSource FieldType.getValueSource(SchemaField field)
          Deprecated. use FieldType.getValueSource(SchemaField, QParser)
 ValueSource BCDIntField.getValueSource(SchemaField field)
           
 ValueSource DoubleField.getValueSource(SchemaField field, QParser qparser)
           
 ValueSource PointType.getValueSource(SchemaField field, QParser parser)
           
 ValueSource FloatField.getValueSource(SchemaField field, QParser qparser)
           
 ValueSource ExternalFileField.getValueSource(SchemaField field, QParser parser)
           
 ValueSource TrieDateField.getValueSource(SchemaField field, QParser parser)
           
 ValueSource ShortField.getValueSource(SchemaField field, QParser qparser)
           
 ValueSource SortableIntField.getValueSource(SchemaField field, QParser qparser)
          Deprecated.  
 ValueSource RandomSortField.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 SortableFloatField.getValueSource(SchemaField field, QParser qparser)
          Deprecated.  
 ValueSource TrieField.getValueSource(SchemaField field, QParser qparser)
           
 ValueSource SortableDoubleField.getValueSource(SchemaField field, QParser qparser)
          Deprecated.  
 ValueSource LatLonType.getValueSource(SchemaField field, QParser parser)
           
 ValueSource IntField.getValueSource(SchemaField field, QParser qparser)
           
 ValueSource LongField.getValueSource(SchemaField field, QParser qparser)
           
 ValueSource SortableLongField.getValueSource(SchemaField field, QParser qparser)
          Deprecated.  
 ValueSource GeoHashField.getValueSource(SchemaField field, QParser parser)
           
 ValueSource ByteField.getValueSource(SchemaField field, QParser qparser)
           
 ValueSource DateField.getValueSource(SchemaField field, QParser parser)
           
 ValueSource StrField.getValueSource(SchemaField field, QParser parser)
           
 ValueSource BoolField.getValueSource(SchemaField field, QParser qparser)
           
 

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 ConstNumberSource
          ConstNumberSource is the base class for all constant numbers
 class ConstValueSource
          ConstValueSource returns a constant for all documents
 class DivFloatFunction
          Function to divide "a" by "b"
 class DoubleConstValueSource
           
 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 LiteralValueSource
          Pass a the field value through as a String, no matter the type
 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
          MaxFloatFunction returns the max of it's components.
 class MinFloatFunction
          MinFloatFunction returns the min of it's components.
 class MultiFloatFunction
           
 class MultiValueSource
          A ValueSource that abstractly represents ValueSources for poly fields, and other things.
 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.
 class VectorValueSource
          Converts individual ValueSource instances to leverage the DocValues *Val functions that work with multiple values, i.e.
 

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

Fields in org.apache.solr.search.function with type parameters of type ValueSource
protected  List<ValueSource> VectorValueSource.sources
           
 

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

Methods in org.apache.solr.search.function that return types with arguments of type ValueSource
 List<ValueSource> VectorValueSource.getSources()
           
 

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[] sources)
           
MinFloatFunction(ValueSource[] sources)
           
MultiFloatFunction(ValueSource[] sources)
           
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)
           
 

Constructor parameters in org.apache.solr.search.function with type arguments of type ValueSource
VectorValueSource(List<ValueSource> sources)
           
 

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

Subclasses of ValueSource in org.apache.solr.search.function.distance
 class GeohashFunction
          Takes in a latitude and longitude ValueSource and produces a GeoHash.
 class GeohashHaversineFunction
          Calculate the Haversine distance between two geo hash codes.
 class HaversineConstFunction
          Haversine function with one point constant
 class HaversineFunction
          Calculate the Haversine formula (distance) between any two points on a sphere Takes in four value sources: (latA, lonA); (latB, lonB).
 class SquaredEuclideanFunction
          While not strictly a distance, the Sq.
 class StringDistanceFunction
           
 class VectorDistanceFunction
          Calculate the p-norm for a Vector.
 

Fields in org.apache.solr.search.function.distance declared as ValueSource
protected  ValueSource GeohashFunction.lat
           
protected  ValueSource GeohashFunction.lon
           
protected  ValueSource StringDistanceFunction.str1
           
protected  ValueSource StringDistanceFunction.str2
           
 

Constructors in org.apache.solr.search.function.distance with parameters of type ValueSource
GeohashFunction(ValueSource lat, ValueSource lon)
           
GeohashHaversineFunction(ValueSource geoHash1, ValueSource geoHash2, double radius)
           
StringDistanceFunction(ValueSource str1, ValueSource str2, StringDistance measure)