Uses of Class
org.apache.lucene.search.DoubleValuesSource
-
Packages that use DoubleValuesSource Package Description org.apache.lucene.document The logical representation of aDocument
for indexing and searching.org.apache.lucene.expressions Expressions.org.apache.lucene.queries.function Queries that compute score based upon a function.org.apache.lucene.search Code to search indices.org.apache.lucene.search.grouping Grouping. -
-
Uses of DoubleValuesSource in org.apache.lucene.document
Subclasses of DoubleValuesSource in org.apache.lucene.document Modifier and Type Class Description (package private) class
FeatureDoubleValuesSource
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 DoubleValuesSource Modifier and Type Method Description static DoubleValuesSource
FeatureField. newDoubleValues(java.lang.String field, java.lang.String featureName)
Creates aDoubleValuesSource
instance which can be used to read the values of a feature from the aFeatureField
for documents.DoubleValuesSource
FeatureDoubleValuesSource. rewrite(IndexSearcher reader)
-
Uses of DoubleValuesSource in org.apache.lucene.expressions
Subclasses of DoubleValuesSource in org.apache.lucene.expressions Modifier and Type Class Description (package private) class
ExpressionValueSource
Fields in org.apache.lucene.expressions declared as DoubleValuesSource Modifier and Type Field Description (package private) DoubleValuesSource[]
ExpressionValueSource. variables
Fields in org.apache.lucene.expressions with type parameters of type DoubleValuesSource Modifier and Type Field Description private java.util.Map<java.lang.String,java.util.function.Function<Bindings,DoubleValuesSource>>
SimpleBindings. map
Methods in org.apache.lucene.expressions that return DoubleValuesSource Modifier and Type Method Description private DoubleValuesSource
SimpleBindings. fromSortField(SortField field)
abstract DoubleValuesSource
Bindings. getDoubleValuesSource(java.lang.String name)
Returns a DoubleValuesSource bound to the variable nameDoubleValuesSource
Expression. getDoubleValuesSource(Bindings bindings)
Get a DoubleValuesSource which can compute the value of this expression in the context of the given bindings.DoubleValuesSource
SimpleBindings.CycleDetectionBindings. getDoubleValuesSource(java.lang.String name)
DoubleValuesSource
SimpleBindings. getDoubleValuesSource(java.lang.String name)
DoubleValuesSource
ExpressionValueSource. rewrite(IndexSearcher searcher)
Methods in org.apache.lucene.expressions with parameters of type DoubleValuesSource Modifier and Type Method Description void
SimpleBindings. add(java.lang.String name, DoubleValuesSource source)
Bind aDoubleValuesSource
directly to the given name.Constructors in org.apache.lucene.expressions with parameters of type DoubleValuesSource Constructor Description ExpressionValueSource(DoubleValuesSource[] variables, Expression expression, boolean needsScores)
-
Uses of DoubleValuesSource in org.apache.lucene.queries.function
Subclasses of DoubleValuesSource in org.apache.lucene.queries.function Modifier and Type Class Description (package private) static class
FunctionScoreQuery.MultiplicativeBoostValuesSource
private static class
FunctionScoreQuery.QueryBoostValuesSource
private static class
IndexReaderFunctions.IndexReaderDoubleValuesSource
private static class
IndexReaderFunctions.NoCacheConstantDoubleValuesSource
private static class
IndexReaderFunctions.TermFreqDoubleValuesSource
(package private) static class
ValueSource.WrappedDoubleValuesSource
Fields in org.apache.lucene.queries.function declared as DoubleValuesSource Modifier and Type Field Description (package private) DoubleValuesSource
FunctionScoreQuery.MultiplicativeBoostValuesSource. boost
(package private) DoubleValuesSource
ValueSource.FromDoubleValuesSource. in
(package private) DoubleValuesSource
IndexReaderFunctions.NoCacheConstantDoubleValuesSource. parent
private DoubleValuesSource
FunctionScoreQuery.QueryBoostValuesSource. query
private DoubleValuesSource
FunctionMatchQuery. source
private DoubleValuesSource
FunctionScoreQuery. source
(package private) DoubleValuesSource
FunctionScoreQuery.FunctionScoreWeight. valueSource
Methods in org.apache.lucene.queries.function that return DoubleValuesSource Modifier and Type Method Description DoubleValuesSource
ValueSource. asDoubleValuesSource()
Expose this ValueSource as a DoubleValuesSourcestatic DoubleValuesSource
IndexReaderFunctions. docCount(java.lang.String field)
Creates a constant value source returning the docCount for a given fieldstatic DoubleValuesSource
IndexReaderFunctions. docFreq(Term term)
Creates a constant value source returning the docFreq of a given termDoubleValuesSource
FunctionScoreQuery. 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 numDocsDoubleValuesSource
FunctionScoreQuery.MultiplicativeBoostValuesSource. rewrite(IndexSearcher reader)
DoubleValuesSource
FunctionScoreQuery.QueryBoostValuesSource. rewrite(IndexSearcher reader)
DoubleValuesSource
IndexReaderFunctions.IndexReaderDoubleValuesSource. rewrite(IndexSearcher searcher)
DoubleValuesSource
IndexReaderFunctions.NoCacheConstantDoubleValuesSource. rewrite(IndexSearcher reader)
DoubleValuesSource
IndexReaderFunctions.TermFreqDoubleValuesSource. rewrite(IndexSearcher searcher)
DoubleValuesSource
ValueSource.WrappedDoubleValuesSource. rewrite(IndexSearcher searcher)
static DoubleValuesSource
IndexReaderFunctions. sumDocFreq(java.lang.String field)
Creates a constant value source returning the sumDocFreq for a given fieldstatic DoubleValuesSource
IndexReaderFunctions. termFreq(Term term)
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 DoubleValuesSource Modifier and Type Method Description static 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 DoubleValuesSource Constructor Description FromDoubleValuesSource(DoubleValuesSource in)
FunctionMatchQuery(DoubleValuesSource source, java.util.function.DoublePredicate filter)
Create a FunctionMatchQueryFunctionScoreQuery(Query in, DoubleValuesSource source)
Create a new FunctionScoreQueryFunctionScoreWeight(Query query, Weight inner, DoubleValuesSource valueSource, float boost)
MultiplicativeBoostValuesSource(DoubleValuesSource boost)
NoCacheConstantDoubleValuesSource(double value, DoubleValuesSource parent)
QueryBoostValuesSource(DoubleValuesSource query, float boost)
-
Uses of DoubleValuesSource in org.apache.lucene.search
Subclasses of DoubleValuesSource in org.apache.lucene.search Modifier and Type Class Description private static class
DoubleValuesSource.ConstantValuesSource
private static class
DoubleValuesSource.FieldValuesSource
private static class
DoubleValuesSource.QueryDoubleValuesSource
private static class
DoubleValuesSource.WeightDoubleValuesSource
private static class
LongValuesSource.DoubleLongValuesSource
Fields in org.apache.lucene.search declared as DoubleValuesSource Modifier and Type Field Description private DoubleValuesSource
DoubleValuesSource.LongDoubleValuesSource. inner
private DoubleValuesSource
DoubleValuesSource.DoubleValuesComparatorSource. producer
(package private) DoubleValuesSource
DoubleValuesSource.DoubleValuesSortField. producer
static DoubleValuesSource
DoubleValuesSource. SCORES
A DoubleValuesSource that exposes a document's score If this source is used as part of a values calculation, then callers must not passnull
as theDoubleValues
parameter ongetValues(LeafReaderContext, DoubleValues)
Methods in org.apache.lucene.search that return DoubleValuesSource Modifier and Type Method Description static DoubleValuesSource
DoubleValuesSource. constant(double value)
Creates a DoubleValuesSource that always returns a constant valuestatic DoubleValuesSource
DoubleValuesSource. fromDoubleField(java.lang.String field)
Creates a DoubleValuesSource that wraps a double-valued fieldstatic DoubleValuesSource
DoubleValuesSource. fromField(java.lang.String field, java.util.function.LongToDoubleFunction decoder)
Creates a DoubleValuesSource that wraps a generic NumericDocValues fieldstatic DoubleValuesSource
DoubleValuesSource. fromFloatField(java.lang.String field)
Creates a DoubleValuesSource that wraps a float-valued fieldstatic DoubleValuesSource
DoubleValuesSource. fromIntField(java.lang.String field)
Creates a DoubleValuesSource that wraps an int-valued fieldstatic DoubleValuesSource
DoubleValuesSource. fromLongField(java.lang.String field)
Creates a DoubleValuesSource that wraps a long-valued fieldstatic DoubleValuesSource
DoubleValuesSource. fromQuery(Query query)
Create a DoubleValuesSource that returns the score of a particular queryDoubleValuesSource
DoubleValuesSource.ConstantValuesSource. rewrite(IndexSearcher searcher)
DoubleValuesSource
DoubleValuesSource.FieldValuesSource. rewrite(IndexSearcher searcher)
DoubleValuesSource
DoubleValuesSource.QueryDoubleValuesSource. rewrite(IndexSearcher searcher)
abstract DoubleValuesSource
DoubleValuesSource. rewrite(IndexSearcher reader)
Return a DoubleValuesSource specialised for the given IndexSearcher Implementations should assume that this will only be called once.DoubleValuesSource
DoubleValuesSource.WeightDoubleValuesSource. rewrite(IndexSearcher searcher)
DoubleValuesSource
LongValuesSource.DoubleLongValuesSource. rewrite(IndexSearcher searcher)
DoubleValuesSource
LongValuesSource. toDoubleValuesSource()
Convert to a DoubleValuesSource by casting long values to doublesConstructors in org.apache.lucene.search with parameters of type DoubleValuesSource Constructor Description DoubleValuesComparatorSource(DoubleValuesSource producer)
DoubleValuesSortField(DoubleValuesSource producer, boolean reverse)
LongDoubleValuesSource(DoubleValuesSource inner)
-
Uses of DoubleValuesSource in org.apache.lucene.search.grouping
Fields in org.apache.lucene.search.grouping declared as DoubleValuesSource Modifier and Type Field Description private DoubleValuesSource
DoubleRangeGroupSelector. source
Constructors in org.apache.lucene.search.grouping with parameters of type DoubleValuesSource Constructor Description DoubleRangeGroupSelector(DoubleValuesSource source, DoubleRangeFactory rangeFactory)
Creates a new DoubleRangeGroupSelector
-