Package | Description |
---|---|
org.apache.solr.schema | |
org.apache.solr.search | |
org.apache.solr.search.function | |
org.apache.solr.search.function.distance |
Modifier and Type | Class and Description |
---|---|
class |
RandomSortField.RandomValueSource |
class |
StrFieldSource |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
List<ValueSource> |
FunctionQParser.parseValueSourceList()
Parse a list of ValueSource.
|
Modifier and Type | Class and Description |
---|---|
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 ValueSource s 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.
|
Modifier and Type | Field and Description |
---|---|
protected ValueSource |
DualFloatFunction.a |
protected ValueSource |
DualFloatFunction.b |
protected ValueSource |
SingleFunction.source |
protected ValueSource |
ScaleFloatFunction.source |
protected ValueSource |
ReciprocalFloatFunction.source |
protected ValueSource |
RangeMapFloatFunction.source |
protected ValueSource |
LinearFloatFunction.source |
protected ValueSource[] |
MultiFloatFunction.sources |
protected ValueSource |
StringIndexDocValues.vs |
Modifier and Type | Field and Description |
---|---|
protected List<ValueSource> |
VectorValueSource.sources |
Modifier and Type | Method and Description |
---|---|
ValueSource |
ValueSourceRangeFilter.getValueSource() |
ValueSource |
TopValueSource.getValueSource() |
ValueSource |
FunctionQuery.getValueSource() |
ValueSource |
BoostedQuery.getValueSource() |
Modifier and Type | Method and Description |
---|---|
List<ValueSource> |
VectorValueSource.getSources() |
Constructor and Description |
---|
VectorValueSource(List<ValueSource> sources) |
Modifier and Type | Class and Description |
---|---|
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.
|
Modifier and Type | Field and Description |
---|---|
protected ValueSource |
GeohashFunction.lat |
protected ValueSource |
GeohashFunction.lon |
protected ValueSource |
StringDistanceFunction.str1 |
protected ValueSource |
StringDistanceFunction.str2 |
Constructor and Description |
---|
GeohashFunction(ValueSource lat,
ValueSource lon) |
GeohashHaversineFunction(ValueSource geoHash1,
ValueSource geoHash2,
double radius) |
StringDistanceFunction(ValueSource str1,
ValueSource str2,
org.apache.lucene.search.spell.StringDistance measure) |