Uses of Class
org.apache.lucene.search.DoubleValuesSource
Packages that use DoubleValuesSource
Package
Description
The logical representation of a
Document
for indexing and
searching.Code to search indices.
-
Uses of DoubleValuesSource in org.apache.lucene.document
Methods in org.apache.lucene.document that return DoubleValuesSourceModifier and TypeMethodDescriptionstatic DoubleValuesSource
FeatureField.newDoubleValues
(String field, String featureName) Creates aDoubleValuesSource
instance which can be used to read the values of a feature from the aFeatureField
for documents. -
Uses of DoubleValuesSource in org.apache.lucene.search
Fields in org.apache.lucene.search declared as DoubleValuesSourceModifier and TypeFieldDescriptionstatic final DoubleValuesSource
DoubleValuesSource.SCORES
A DoubleValuesSource that exposes a document's scoreMethods in org.apache.lucene.search that return DoubleValuesSourceModifier and TypeMethodDescriptionstatic DoubleValuesSource
DoubleValuesSource.constant
(double value) Creates a DoubleValuesSource that always returns a constant valuestatic DoubleValuesSource
DoubleValuesSource.fromDoubleField
(String field) Creates a DoubleValuesSource that wraps a double-valued fieldstatic DoubleValuesSource
DoubleValuesSource.fromField
(String field, LongToDoubleFunction decoder) Creates a DoubleValuesSource that wraps a generic NumericDocValues fieldstatic DoubleValuesSource
DoubleValuesSource.fromFloatField
(String field) Creates a DoubleValuesSource that wraps a float-valued fieldstatic DoubleValuesSource
DoubleValuesSource.fromIntField
(String field) Creates a DoubleValuesSource that wraps an int-valued fieldstatic DoubleValuesSource
DoubleValuesSource.fromLongField
(String field) Creates a DoubleValuesSource that wraps a long-valued fieldstatic DoubleValuesSource
Create a DoubleValuesSource that returns the score of a particular queryabstract DoubleValuesSource
DoubleValuesSource.rewrite
(IndexSearcher reader) Return a DoubleValuesSource specialised for the given IndexSearcherLongValuesSource.toDoubleValuesSource()
Convert to a DoubleValuesSource by casting long values to doubles