| Modifier and Type | Method and Description |
|---|---|
static SortedNumericDoubleValues |
GeoDistance.distanceValues(MultiGeoPointValues geoPointValues,
GeoDistance.FixedSourceDistance... distances)
Return a
SortedNumericDoubleValues instance that returns the distances to a list of geo-points for each document. |
| Modifier and Type | Class and Description |
|---|---|
class |
SortingNumericDoubleValues
Base class for building
SortedNumericDoubleValues instances based on unsorted content. |
| Modifier and Type | Method and Description |
|---|---|
static SortedNumericDoubleValues |
FieldData.castToDouble(org.apache.lucene.index.SortedNumericDocValues values)
Wrap the provided
SortedNumericDocValues instance to cast all values to doubles. |
static SortedNumericDoubleValues |
FieldData.emptySortedNumericDoubles(int maxDoc)
Return a
SortedNumericDoubleValues that doesn't contain any value. |
SortedNumericDoubleValues |
AtomicNumericFieldData.getDoubleValues()
Return a floating-point view of the values in this segment.
|
SortedNumericDoubleValues |
ScriptDocValues.Doubles.getInternalValues() |
static SortedNumericDoubleValues |
FieldData.singleton(NumericDoubleValues values,
org.apache.lucene.util.Bits docsWithField)
Returns a multi-valued view over the provided
NumericDoubleValues. |
static SortedNumericDoubleValues |
FieldData.sortableLongBitsToDoubles(org.apache.lucene.index.SortedNumericDocValues values)
Given a
SortedNumericDocValues, return a SortedNumericDoubleValues
instance that will translate long values to doubles using
NumericUtils.sortableLongToDouble(long). |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.lucene.index.SortedNumericDocValues |
FieldData.castToLong(SortedNumericDoubleValues values)
Wrap the provided
SortedNumericDoubleValues instance to cast all values to longs. |
static org.apache.lucene.util.Bits |
FieldData.docsWithValue(SortedNumericDoubleValues dv,
int maxDoc)
Returns a Bits representing all documents from
dv that have a value. |
static boolean |
FieldData.isMultiValued(SortedNumericDoubleValues values)
Returns whether the provided values *might* be multi-valued.
|
static org.apache.lucene.index.SortedNumericDocValues |
FieldData.toSortableLongBits(SortedNumericDoubleValues values)
Given a
SortedNumericDoubleValues, return a SortedNumericDocValues
instance that will translate double values to sortable long bits using
NumericUtils.doubleToSortableLong(double). |
static SortedBinaryDocValues |
FieldData.toString(SortedNumericDoubleValues values)
Return a
String representation of the provided values. |
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. |
static org.apache.lucene.util.Bits |
FieldData.unwrapSingletonBits(SortedNumericDoubleValues dv)
Returns the documents with a value for the
SortedNumericDoubleValues,
if it was previously wrapped with FieldData.singleton(NumericDoubleValues, Bits),
or null. |
| Constructor and Description |
|---|
ScriptDocValues.Doubles(SortedNumericDoubleValues values) |
| Modifier and Type | Method and Description |
|---|---|
protected SortedNumericDoubleValues |
DoubleValuesComparatorSource.getValues(org.apache.lucene.index.LeafReaderContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected double |
MultiValueMode.pick(SortedNumericDoubleValues values,
double missingValue,
org.apache.lucene.search.DocIdSetIterator docItr,
int startDoc,
int endDoc) |
protected double |
MultiValueMode.pick(SortedNumericDoubleValues values,
double missingValue,
int doc) |
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. |
| Modifier and Type | Method and Description |
|---|---|
abstract SortedNumericDoubleValues |
ValuesSource.Numeric.doubleValues(org.apache.lucene.index.LeafReaderContext context)
Get the current
SortedNumericDoubleValues. |
SortedNumericDoubleValues |
ValuesSource.Numeric.WithScript.doubleValues(org.apache.lucene.index.LeafReaderContext context) |
SortedNumericDoubleValues |
ValuesSource.Numeric.FieldData.doubleValues(org.apache.lucene.index.LeafReaderContext context) |
SortedNumericDoubleValues |
ValuesSource.Numeric.Script.doubleValues(org.apache.lucene.index.LeafReaderContext context) |
| Modifier and Type | Class and Description |
|---|---|
class |
ScriptDoubleValues
SortingNumericDoubleValues implementation which is based on a script |
Copyright © 2009–2017. All rights reserved.