Package | Description |
---|---|
org.apache.lucene.expressions |
Expressions.
|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.spatial.bbox |
Bounding Box Spatial Strategy
|
org.apache.lucene.spatial.util |
Various spatial utilities.
|
org.apache.lucene.spatial.vector |
Spatial strategy that uses two fields.
|
Modifier and Type | Method and Description |
---|---|
abstract double |
Expression.evaluate(DoubleValues[] functionValues)
Evaluates the expression for the current document.
|
Modifier and Type | Field and Description |
---|---|
static DoubleValues |
DoubleValues.EMPTY
An empty DoubleValues instance that always returns
false from advanceExact(int) |
Modifier and Type | Method and Description |
---|---|
static DoubleValues |
DoubleValuesSource.fromScorer(Scorer scorer)
Returns a DoubleValues instance that wraps scores returned by a Scorer
|
abstract DoubleValues |
DoubleValuesSource.getValues(LeafReaderContext ctx,
DoubleValues scores)
Returns a
DoubleValues instance for the passed-in LeafReaderContext and scores
If scores are not needed to calculate the values (ie returns false , callers
may safely pass null for the scores parameter. |
static DoubleValues |
DoubleValues.withDefault(DoubleValues in,
double missingValue)
Wrap a DoubleValues instance, returning a default if the wrapped instance has no value
|
Modifier and Type | Method and Description |
---|---|
abstract DoubleValues |
DoubleValuesSource.getValues(LeafReaderContext ctx,
DoubleValues scores)
Returns a
DoubleValues instance for the passed-in LeafReaderContext and scores
If scores are not needed to calculate the values (ie returns false , callers
may safely pass null for the scores parameter. |
abstract LongValues |
LongValuesSource.getValues(LeafReaderContext ctx,
DoubleValues scores)
Returns a
LongValues instance for the passed-in LeafReaderContext and scores
If scores are not needed to calculate the values (ie returns false , callers
may safely pass null for the scores parameter. |
static DoubleValues |
DoubleValues.withDefault(DoubleValues in,
double missingValue)
Wrap a DoubleValues instance, returning a default if the wrapped instance has no value
|
Modifier and Type | Method and Description |
---|---|
DoubleValues |
BBoxSimilarityValueSource.getValues(LeafReaderContext readerContext,
DoubleValues scores) |
Modifier and Type | Method and Description |
---|---|
DoubleValues |
BBoxSimilarityValueSource.getValues(LeafReaderContext readerContext,
DoubleValues scores) |
Modifier and Type | Method and Description |
---|---|
DoubleValues |
ShapeAreaValueSource.getValues(LeafReaderContext readerContext,
DoubleValues scores) |
DoubleValues |
ReciprocalDoubleValuesSource.getValues(LeafReaderContext ctx,
DoubleValues scores) |
DoubleValues |
DistanceToShapeValueSource.getValues(LeafReaderContext readerContext,
DoubleValues scores) |
DoubleValues |
CachingDoubleValueSource.getValues(LeafReaderContext readerContext,
DoubleValues scores) |
DoubleValues |
ShapeFieldCacheDistanceValueSource.getValues(LeafReaderContext readerContext,
DoubleValues scores) |
Modifier and Type | Method and Description |
---|---|
DoubleValues |
ShapeAreaValueSource.getValues(LeafReaderContext readerContext,
DoubleValues scores) |
DoubleValues |
ReciprocalDoubleValuesSource.getValues(LeafReaderContext ctx,
DoubleValues scores) |
DoubleValues |
DistanceToShapeValueSource.getValues(LeafReaderContext readerContext,
DoubleValues scores) |
DoubleValues |
CachingDoubleValueSource.getValues(LeafReaderContext readerContext,
DoubleValues scores) |
DoubleValues |
ShapeFieldCacheDistanceValueSource.getValues(LeafReaderContext readerContext,
DoubleValues scores) |
Modifier and Type | Method and Description |
---|---|
DoubleValues |
DistanceValueSource.getValues(LeafReaderContext readerContext,
DoubleValues scores)
Returns the FunctionValues used by the function query.
|
Modifier and Type | Method and Description |
---|---|
DoubleValues |
DistanceValueSource.getValues(LeafReaderContext readerContext,
DoubleValues scores)
Returns the FunctionValues used by the function query.
|
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.