| Package | Description |
|---|---|
| org.elasticsearch.index.fielddata | |
| org.elasticsearch.index.query.functionscore | |
| org.elasticsearch.search |
| Modifier and Type | Method and Description |
|---|---|
static NumericDoubleValues |
FieldData.emptyNumericDouble()
Return a
NumericDoubleValues that doesn't contain any value. |
static NumericDoubleValues |
FieldData.unwrapSingleton(SortedNumericDoubleValues values)
Returns a single-valued view of the
SortedNumericDoubleValues,
if it was previously wrapped with DocValues.singleton(NumericDocValues, Bits),
or null. |
| Modifier and Type | Method and Description |
|---|---|
static SortedNumericDoubleValues |
FieldData.singleton(NumericDoubleValues values,
org.apache.lucene.util.Bits docsWithField)
Returns a multi-valued view over the provided
NumericDoubleValues. |
| Modifier and Type | Method and Description |
|---|---|
protected abstract NumericDoubleValues |
DecayFunctionParser.AbstractDistanceScoreFunction.distance(org.apache.lucene.index.LeafReaderContext context)
This function computes the distance from a defined origin.
|
| Modifier and Type | Method and Description |
|---|---|
NumericDoubleValues |
MultiValueMode.select(MultiValueMode.UnsortedNumericDoubleValues values,
double missingValue)
Return a
NumericDoubleValues instance that can be used to sort documents
with this mode and the provided values. |
NumericDoubleValues |
MultiValueMode.select(SortedNumericDoubleValues values,
double missingValue)
Return a
NumericDoubleValues instance that can be used to sort documents
with this mode and the provided values. |
NumericDoubleValues |
MultiValueMode.select(SortedNumericDoubleValues values,
double missingValue,
org.apache.lucene.util.BitSet rootDocs,
org.apache.lucene.search.DocIdSetIterator innerDocs,
int maxDoc)
Return a
NumericDoubleValues instance that can be used to sort root documents
with this mode, the provided values and filters for root/inner documents. |
Copyright © 2009–2017. All rights reserved.