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 |
---|---|
(package private) class |
CurrencyField.CurrencyValueSource |
(package private) class |
DateFieldSource |
(package private) class |
LatLonValueSource |
(package private) class |
PointTypeValueSource |
class |
RandomSortField.RandomValueSource |
(package private) class |
SortableDoubleFieldSource |
(package private) class |
SortableFloatFieldSource |
(package private) class |
SortableIntFieldSource |
(package private) class |
SortableLongFieldSource |
class |
StrFieldSource |
(package private) class |
TrieDateFieldSource |
Modifier and Type | Field and Description |
---|---|
private ValueSource |
CurrencyField.CurrencyValueSource.amountValues |
private ValueSource |
CurrencyField.CurrencyValueSource.currencyValues |
(package private) ValueSource |
SpatialDistanceQuery.latSource |
(package private) ValueSource |
SpatialDistanceQuery.lonSource |
Constructor and Description |
---|
LatLonValueSource(SchemaField sf,
java.util.List<ValueSource> sources) |
PointTypeValueSource(SchemaField sf,
java.util.List<ValueSource> sources) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
Double2Parser.Function |
(package private) class |
DoubleParser.Function |
(package private) class |
LongConstValueSource |
Modifier and Type | Field and Description |
---|---|
private ValueSource |
Double2Parser.Function.a |
private ValueSource |
Double2Parser.Function.b |
Modifier and Type | Method and Description |
---|---|
ValueSource |
DateValueSourceParser.getValueSource(FunctionQParser fp,
java.lang.String arg) |
abstract ValueSource |
ValueSourceParser.parse(FunctionQParser fp)
Parse the user input into a ValueSource.
|
ValueSource |
DateValueSourceParser.parse(FunctionQParser fp) |
ValueSource |
DoubleParser.parse(FunctionQParser fp) |
ValueSource |
Double2Parser.parse(FunctionQParser fp) |
ValueSource |
FunctionQParser.parseValueSource()
Parse an individual ValueSource.
|
protected ValueSource |
FunctionQParser.parseValueSource(boolean doConsumeDelimiter)
Parse an individual value source.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<ValueSource> |
FunctionQParser.parseValueSourceList()
Parse a list of ValueSource.
|
Modifier and Type | Method and Description |
---|---|
private static ValueSourceParser.MVResult |
ValueSourceParser.getMultiValueSources(java.util.List<ValueSource> sources) |
private static void |
ValueSourceParser.splitSources(int dim,
java.util.List<ValueSource> sources,
java.util.List<ValueSource> dest1,
java.util.List<ValueSource> dest2) |
private static void |
ValueSourceParser.splitSources(int dim,
java.util.List<ValueSource> sources,
java.util.List<ValueSource> dest1,
java.util.List<ValueSource> dest2) |
private static void |
ValueSourceParser.splitSources(int dim,
java.util.List<ValueSource> sources,
java.util.List<ValueSource> dest1,
java.util.List<ValueSource> dest2) |
Constructor and Description |
---|
Function(ValueSource source) |
Function(ValueSource a,
ValueSource b) |
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 |
private ValueSource |
BoostedQuery.boostVal |
(package private) ValueSource |
FunctionQuery.func |
protected ValueSource |
SingleFunction.source |
protected ValueSource |
LinearFloatFunction.source |
protected ValueSource |
RangeMapFloatFunction.source |
protected ValueSource |
ReciprocalFloatFunction.source |
protected ValueSource |
ScaleFloatFunction.source |
protected ValueSource[] |
MultiFloatFunction.sources |
private ValueSource |
ValueSourceRangeFilter.valueSource |
protected ValueSource |
StringIndexDocValues.vs |
private ValueSource |
TopValueSource.vs |
Modifier and Type | Field and Description |
---|---|
protected java.util.List<ValueSource> |
VectorValueSource.sources |
Modifier and Type | Method and Description |
---|---|
ValueSource |
BoostedQuery.getValueSource() |
ValueSource |
FunctionQuery.getValueSource() |
ValueSource |
ValueSourceRangeFilter.getValueSource() |
ValueSource |
TopValueSource.getValueSource() |
Modifier and Type | Method and Description |
---|---|
java.util.List<ValueSource> |
VectorValueSource.getSources() |
Constructor and Description |
---|
BoostedQuery(org.apache.lucene.search.Query subQuery,
ValueSource boostVal) |
CustomScorer(org.apache.lucene.search.Similarity similarity,
org.apache.lucene.search.Searcher searcher,
org.apache.lucene.index.IndexReader reader,
BoostedQuery.BoostedWeight w,
org.apache.lucene.search.Scorer scorer,
ValueSource vs) |
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,
java.lang.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,
org.apache.lucene.index.IndexReader reader,
java.lang.String field) |
SumFloatFunction(ValueSource[] sources) |
TopValueSource(ValueSource vs) |
ValueSourceRangeFilter(ValueSource valueSource,
java.lang.String lowerVal,
java.lang.String upperVal,
boolean includeLower,
boolean includeUpper) |
Constructor and Description |
---|
VectorValueSource(java.util.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 |
---|---|
private ValueSource |
GeohashHaversineFunction.geoHash1 |
private ValueSource |
GeohashHaversineFunction.geoHash2 |
protected ValueSource |
GeohashFunction.lat |
private ValueSource |
HaversineConstFunction.latSource |
protected ValueSource |
GeohashFunction.lon |
private ValueSource |
HaversineConstFunction.lonSource |
protected ValueSource |
StringDistanceFunction.str1 |
protected ValueSource |
StringDistanceFunction.str2 |
Modifier and Type | Method and Description |
---|---|
private static VectorValueSource |
HaversineConstFunction.makeMV(java.util.List<ValueSource> sources,
java.util.List<ValueSource> orig)
make a MultiValueSource from two non MultiValueSources
|
private static VectorValueSource |
HaversineConstFunction.makeMV(java.util.List<ValueSource> sources,
java.util.List<ValueSource> orig)
make a MultiValueSource from two non MultiValueSources
|
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) |