Uses of Class
org.apache.lucene.search.DoubleValuesSource
Packages that use DoubleValuesSource
Package
Description
The logical representation of a
Document
for indexing and
searching.Expressions.
Queries that compute score based upon a function.
Code to search indices.
Grouping.
-
Uses of DoubleValuesSource in org.apache.lucene.document
Subclasses of DoubleValuesSource in org.apache.lucene.documentModifier and TypeClassDescription(package private) class
ADoubleValuesSource
instance which can be used to read the values of a feature from aFeatureField
for documents.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.FeatureDoubleValuesSource.rewrite
(IndexSearcher reader) -
Uses of DoubleValuesSource in org.apache.lucene.expressions
Subclasses of DoubleValuesSource in org.apache.lucene.expressionsModifier and TypeClassDescription(package private) final class
This expression value source shares one value cache when generatingExpressionFunctionValues
such that only one value along the whole generation tree is corresponding to one name(package private) class
Fields in org.apache.lucene.expressions declared as DoubleValuesSourceModifier and TypeFieldDescription(package private) final DoubleValuesSource[]
ExpressionValueSource.variables
Fields in org.apache.lucene.expressions with type parameters of type DoubleValuesSourceModifier and TypeFieldDescriptionprivate final Map
<String, Function<Bindings, DoubleValuesSource>> SimpleBindings.map
Methods in org.apache.lucene.expressions that return DoubleValuesSourceModifier and TypeMethodDescriptionabstract DoubleValuesSource
Bindings.getDoubleValuesSource
(String name) Returns a DoubleValuesSource bound to the variable nameExpression.getDoubleValuesSource
(Bindings bindings) Get a DoubleValuesSource which can compute the value of this expression in the context of the given bindings.SimpleBindings.CycleDetectionBindings.getDoubleValuesSource
(String name) SimpleBindings.getDoubleValuesSource
(String name) ExpressionValueSource.rewrite
(IndexSearcher searcher) Methods in org.apache.lucene.expressions with parameters of type DoubleValuesSourceModifier and TypeMethodDescriptionvoid
SimpleBindings.add
(String name, DoubleValuesSource source) Bind aDoubleValuesSource
directly to the given name.Constructors in org.apache.lucene.expressions with parameters of type DoubleValuesSourceModifierConstructorDescription(package private)
CachingExpressionValueSource
(DoubleValuesSource[] variables, Expression expression, boolean needsScores) (package private)
ExpressionValueSource
(DoubleValuesSource[] variables, Expression expression, boolean needsScores) -
Uses of DoubleValuesSource in org.apache.lucene.queries.function
Subclasses of DoubleValuesSource in org.apache.lucene.queries.functionModifier and TypeClassDescription(package private) static class
private static class
private static class
private static class
private static class
(package private) static class
Fields in org.apache.lucene.queries.function declared as DoubleValuesSourceModifier and TypeFieldDescription(package private) final DoubleValuesSource
FunctionScoreQuery.MultiplicativeBoostValuesSource.boost
(package private) final DoubleValuesSource
ValueSource.FromDoubleValuesSource.in
(package private) final DoubleValuesSource
IndexReaderFunctions.NoCacheConstantDoubleValuesSource.parent
private final DoubleValuesSource
FunctionScoreQuery.QueryBoostValuesSource.query
private final DoubleValuesSource
FunctionMatchQuery.source
private final DoubleValuesSource
FunctionScoreQuery.source
(package private) final DoubleValuesSource
FunctionScoreQuery.FunctionScoreWeight.valueSource
Methods in org.apache.lucene.queries.function that return DoubleValuesSourceModifier and TypeMethodDescriptionValueSource.asDoubleValuesSource()
Expose this ValueSource as a DoubleValuesSourcestatic DoubleValuesSource
Creates a constant value source returning the docCount for a given fieldstatic DoubleValuesSource
Creates a constant value source returning the docFreq of a given termFunctionScoreQuery.getSource()
static DoubleValuesSource
IndexReaderFunctions.maxDoc()
Creates a constant value source returning the index's maxDocstatic DoubleValuesSource
IndexReaderFunctions.numDeletedDocs()
Creates a constant value source returning the number of deleted docs in the indexstatic DoubleValuesSource
IndexReaderFunctions.numDocs()
Creates a constant value source returning the index's numDocsFunctionScoreQuery.MultiplicativeBoostValuesSource.rewrite
(IndexSearcher reader) FunctionScoreQuery.QueryBoostValuesSource.rewrite
(IndexSearcher reader) IndexReaderFunctions.IndexReaderDoubleValuesSource.rewrite
(IndexSearcher searcher) IndexReaderFunctions.NoCacheConstantDoubleValuesSource.rewrite
(IndexSearcher reader) IndexReaderFunctions.TermFreqDoubleValuesSource.rewrite
(IndexSearcher searcher) ValueSource.WrappedDoubleValuesSource.rewrite
(IndexSearcher searcher) static DoubleValuesSource
IndexReaderFunctions.sumDocFreq
(String field) Creates a constant value source returning the sumDocFreq for a given fieldstatic DoubleValuesSource
Creates a value source that returns the term freq of a given term for each documentstatic DoubleValuesSource
IndexReaderFunctions.totalTermFreq
(Term term) Creates a constant value source returning the totalTermFreq for a given termMethods in org.apache.lucene.queries.function with parameters of type DoubleValuesSourceModifier and TypeMethodDescriptionstatic FunctionScoreQuery
FunctionScoreQuery.boostByValue
(Query in, DoubleValuesSource boost) Returns a FunctionScoreQuery where the scores of a wrapped query are multiplied by the value of a DoubleValuesSource.static ValueSource
ValueSource.fromDoubleValuesSource
(DoubleValuesSource in) Constructors in org.apache.lucene.queries.function with parameters of type DoubleValuesSourceModifierConstructorDescriptionprivate
FunctionMatchQuery
(DoubleValuesSource source, DoublePredicate filter) Create a FunctionMatchQuery with default TwoPhaseIterator matchCost -FunctionMatchQuery.DEFAULT_MATCH_COST
= 100.0fFunctionMatchQuery
(DoubleValuesSource source, DoublePredicate filter, float matchCost) Create a FunctionMatchQueryFunctionScoreQuery
(Query in, DoubleValuesSource source) Create a new FunctionScoreQuery(package private)
FunctionScoreWeight
(Query query, Weight inner, DoubleValuesSource valueSource, float boost) private
private
NoCacheConstantDoubleValuesSource
(double value, DoubleValuesSource parent) (package private)
QueryBoostValuesSource
(DoubleValuesSource query, float boost) -
Uses of DoubleValuesSource in org.apache.lucene.search
Subclasses of DoubleValuesSource in org.apache.lucene.searchModifier and TypeClassDescription(package private) class
ADoubleValuesSource
which computes the vector similarity scores between the query vector and theKnnByteVectorField
for documents.private static class
private static class
private static class
private static class
(package private) class
ADoubleValuesSource
which computes the vector similarity scores between the query vector and theKnnFloatVectorField
for documents.private static class
(package private) class
An abstract class that provides the vector similarity scores between the query vector and theKnnFloatVectorField
orKnnByteVectorField
for documents.Fields in org.apache.lucene.search declared as DoubleValuesSourceModifier and TypeFieldDescriptionprivate final DoubleValuesSource
DoubleValuesSource.LongDoubleValuesSource.inner
private final DoubleValuesSource
DoubleValuesSource.DoubleValuesComparatorSource.producer
(package private) final DoubleValuesSource
DoubleValuesSource.DoubleValuesSortField.producer
static 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 queryDoubleValuesSource.ConstantValuesSource.rewrite
(IndexSearcher searcher) DoubleValuesSource.FieldValuesSource.rewrite
(IndexSearcher searcher) DoubleValuesSource.QueryDoubleValuesSource.rewrite
(IndexSearcher searcher) abstract DoubleValuesSource
DoubleValuesSource.rewrite
(IndexSearcher reader) Return a DoubleValuesSource specialised for the given IndexSearcherDoubleValuesSource.WeightDoubleValuesSource.rewrite
(IndexSearcher searcher) LongValuesSource.DoubleLongValuesSource.rewrite
(IndexSearcher searcher) VectorSimilarityValuesSource.rewrite
(IndexSearcher reader) LongValuesSource.toDoubleValuesSource()
Convert to a DoubleValuesSource by casting long values to doublesConstructors in org.apache.lucene.search with parameters of type DoubleValuesSourceModifierConstructorDescription(package private)
(package private)
DoubleValuesSortField
(DoubleValuesSource producer, boolean reverse) private
-
Uses of DoubleValuesSource in org.apache.lucene.search.grouping
Fields in org.apache.lucene.search.grouping declared as DoubleValuesSourceModifier and TypeFieldDescriptionprivate final DoubleValuesSource
DoubleRangeGroupSelector.source
Constructors in org.apache.lucene.search.grouping with parameters of type DoubleValuesSourceModifierConstructorDescriptionDoubleRangeGroupSelector
(DoubleValuesSource source, DoubleRangeFactory rangeFactory) Creates a new DoubleRangeGroupSelector