Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
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(Scorable 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
|
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.