Package | Description |
---|---|
org.apache.lucene.queries.function |
Queries that compute score based upon a function.
|
org.apache.lucene.search |
Code to search indices.
|
Modifier and Type | Method and Description |
---|---|
DoubleValues |
ValueSource.WrappedDoubleValuesSource.getValues(LeafReaderContext ctx,
DoubleValues scores) |
Modifier and Type | Method and Description |
---|---|
LongValues |
ValueSource.WrappedLongValuesSource.getValues(LeafReaderContext ctx,
DoubleValues scores) |
DoubleValues |
ValueSource.WrappedDoubleValuesSource.getValues(LeafReaderContext ctx,
DoubleValues scores) |
Modifier and Type | Field and Description |
---|---|
(package private) DoubleValues |
DoubleValuesSource.DoubleValuesHolder.values |
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. |
DoubleValues |
DoubleValuesSource.ConstantValuesSource.getValues(LeafReaderContext ctx,
DoubleValues scores) |
DoubleValues |
DoubleValuesSource.FieldValuesSource.getValues(LeafReaderContext ctx,
DoubleValues scores) |
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 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. |
LongValues |
LongValuesSource.ConstantLongValuesSource.getValues(LeafReaderContext ctx,
DoubleValues scores) |
LongValues |
LongValuesSource.FieldValuesSource.getValues(LeafReaderContext ctx,
DoubleValues scores) |
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. |
LongValues |
DoubleValuesSource.LongDoubleValuesSource.getValues(LeafReaderContext ctx,
DoubleValues scores) |
DoubleValues |
DoubleValuesSource.ConstantValuesSource.getValues(LeafReaderContext ctx,
DoubleValues scores) |
DoubleValues |
DoubleValuesSource.FieldValuesSource.getValues(LeafReaderContext ctx,
DoubleValues scores) |
static DoubleValues |
DoubleValues.withDefault(DoubleValues in,
double missingValue)
Wrap a DoubleValues instance, returning a default if the wrapped instance has no value
|