Uses of Class
org.apache.lucene.search.DoubleValuesSource
-
Packages that use DoubleValuesSource Package Description org.apache.lucene.document The logical representation of aDocumentfor 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) classFeatureDoubleValuesSourceADoubleValuesSourceinstance which can be used to read the values of a feature from aFeatureFieldfor documents.Methods in org.apache.lucene.document that return DoubleValuesSource Modifier and Type Method Description static DoubleValuesSourceFeatureField. newDoubleValues(java.lang.String field, java.lang.String featureName)Creates aDoubleValuesSourceinstance which can be used to read the values of a feature from the aFeatureFieldfor documents.DoubleValuesSourceFeatureDoubleValuesSource. 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) classCachingExpressionValueSourceThis expression value source shares one value cache when generatingExpressionFunctionValuessuch that only one value along the whole generation tree is corresponding to one name(package private) classExpressionValueSourceFields in org.apache.lucene.expressions declared as DoubleValuesSource Modifier and Type Field Description (package private) DoubleValuesSource[]ExpressionValueSource. variablesFields 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. mapMethods in org.apache.lucene.expressions that return DoubleValuesSource Modifier and Type Method Description private DoubleValuesSourceSimpleBindings. fromSortField(SortField field)abstract DoubleValuesSourceBindings. getDoubleValuesSource(java.lang.String name)Returns a DoubleValuesSource bound to the variable nameDoubleValuesSourceExpression. getDoubleValuesSource(Bindings bindings)Get a DoubleValuesSource which can compute the value of this expression in the context of the given bindings.DoubleValuesSourceSimpleBindings.CycleDetectionBindings. getDoubleValuesSource(java.lang.String name)DoubleValuesSourceSimpleBindings. getDoubleValuesSource(java.lang.String name)DoubleValuesSourceExpressionValueSource. rewrite(IndexSearcher searcher)Methods in org.apache.lucene.expressions with parameters of type DoubleValuesSource Modifier and Type Method Description voidSimpleBindings. add(java.lang.String name, DoubleValuesSource source)Bind aDoubleValuesSourcedirectly to the given name.Constructors in org.apache.lucene.expressions with parameters of type DoubleValuesSource Constructor Description CachingExpressionValueSource(DoubleValuesSource[] variables, Expression expression, boolean needsScores)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 classFunctionScoreQuery.MultiplicativeBoostValuesSourceprivate static classFunctionScoreQuery.QueryBoostValuesSourceprivate static classIndexReaderFunctions.IndexReaderDoubleValuesSourceprivate static classIndexReaderFunctions.NoCacheConstantDoubleValuesSourceprivate static classIndexReaderFunctions.TermFreqDoubleValuesSource(package private) static classValueSource.WrappedDoubleValuesSourceFields in org.apache.lucene.queries.function declared as DoubleValuesSource Modifier and Type Field Description (package private) DoubleValuesSourceFunctionScoreQuery.MultiplicativeBoostValuesSource. boost(package private) DoubleValuesSourceValueSource.FromDoubleValuesSource. in(package private) DoubleValuesSourceIndexReaderFunctions.NoCacheConstantDoubleValuesSource. parentprivate DoubleValuesSourceFunctionScoreQuery.QueryBoostValuesSource. queryprivate DoubleValuesSourceFunctionMatchQuery. sourceprivate DoubleValuesSourceFunctionScoreQuery. source(package private) DoubleValuesSourceFunctionScoreQuery.FunctionScoreWeight. valueSourceMethods in org.apache.lucene.queries.function that return DoubleValuesSource Modifier and Type Method Description DoubleValuesSourceValueSource. asDoubleValuesSource()Expose this ValueSource as a DoubleValuesSourcestatic DoubleValuesSourceIndexReaderFunctions. docCount(java.lang.String field)Creates a constant value source returning the docCount for a given fieldstatic DoubleValuesSourceIndexReaderFunctions. docFreq(Term term)Creates a constant value source returning the docFreq of a given termDoubleValuesSourceFunctionScoreQuery. getSource()static DoubleValuesSourceIndexReaderFunctions. maxDoc()Creates a constant value source returning the index's maxDocstatic DoubleValuesSourceIndexReaderFunctions. numDeletedDocs()Creates a constant value source returning the number of deleted docs in the indexstatic DoubleValuesSourceIndexReaderFunctions. numDocs()Creates a constant value source returning the index's numDocsDoubleValuesSourceFunctionScoreQuery.MultiplicativeBoostValuesSource. rewrite(IndexSearcher reader)DoubleValuesSourceFunctionScoreQuery.QueryBoostValuesSource. rewrite(IndexSearcher reader)DoubleValuesSourceIndexReaderFunctions.IndexReaderDoubleValuesSource. rewrite(IndexSearcher searcher)DoubleValuesSourceIndexReaderFunctions.NoCacheConstantDoubleValuesSource. rewrite(IndexSearcher reader)DoubleValuesSourceIndexReaderFunctions.TermFreqDoubleValuesSource. rewrite(IndexSearcher searcher)DoubleValuesSourceValueSource.WrappedDoubleValuesSource. rewrite(IndexSearcher searcher)static DoubleValuesSourceIndexReaderFunctions. sumDocFreq(java.lang.String field)Creates a constant value source returning the sumDocFreq for a given fieldstatic DoubleValuesSourceIndexReaderFunctions. termFreq(Term term)Creates a value source that returns the term freq of a given term for each documentstatic DoubleValuesSourceIndexReaderFunctions. 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 FunctionScoreQueryFunctionScoreQuery. boostByValue(Query in, DoubleValuesSource boost)Returns a FunctionScoreQuery where the scores of a wrapped query are multiplied by the value of a DoubleValuesSource.static ValueSourceValueSource. 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 FunctionMatchQuery with default TwoPhaseIterator matchCost -FunctionMatchQuery.DEFAULT_MATCH_COST= 100.0fFunctionMatchQuery(DoubleValuesSource source, java.util.function.DoublePredicate filter, float matchCost)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 classDoubleValuesSource.ConstantValuesSourceprivate static classDoubleValuesSource.FieldValuesSourceprivate static classDoubleValuesSource.QueryDoubleValuesSourceprivate static classDoubleValuesSource.WeightDoubleValuesSourceprivate static classLongValuesSource.DoubleLongValuesSourceFields in org.apache.lucene.search declared as DoubleValuesSource Modifier and Type Field Description private DoubleValuesSourceDoubleValuesSource.LongDoubleValuesSource. innerprivate DoubleValuesSourceDoubleValuesSource.DoubleValuesComparatorSource. producer(package private) DoubleValuesSourceDoubleValuesSource.DoubleValuesSortField. producerstatic DoubleValuesSourceDoubleValuesSource. SCORESA DoubleValuesSource that exposes a document's score If this source is used as part of a values calculation, then callers must not passnullas theDoubleValuesparameter ongetValues(LeafReaderContext, DoubleValues)Methods in org.apache.lucene.search that return DoubleValuesSource Modifier and Type Method Description static DoubleValuesSourceDoubleValuesSource. constant(double value)Creates a DoubleValuesSource that always returns a constant valuestatic DoubleValuesSourceDoubleValuesSource. fromDoubleField(java.lang.String field)Creates a DoubleValuesSource that wraps a double-valued fieldstatic DoubleValuesSourceDoubleValuesSource. fromField(java.lang.String field, java.util.function.LongToDoubleFunction decoder)Creates a DoubleValuesSource that wraps a generic NumericDocValues fieldstatic DoubleValuesSourceDoubleValuesSource. fromFloatField(java.lang.String field)Creates a DoubleValuesSource that wraps a float-valued fieldstatic DoubleValuesSourceDoubleValuesSource. fromIntField(java.lang.String field)Creates a DoubleValuesSource that wraps an int-valued fieldstatic DoubleValuesSourceDoubleValuesSource. fromLongField(java.lang.String field)Creates a DoubleValuesSource that wraps a long-valued fieldstatic DoubleValuesSourceDoubleValuesSource. fromQuery(Query query)Create a DoubleValuesSource that returns the score of a particular queryDoubleValuesSourceDoubleValuesSource.ConstantValuesSource. rewrite(IndexSearcher searcher)DoubleValuesSourceDoubleValuesSource.FieldValuesSource. rewrite(IndexSearcher searcher)DoubleValuesSourceDoubleValuesSource.QueryDoubleValuesSource. rewrite(IndexSearcher searcher)abstract DoubleValuesSourceDoubleValuesSource. rewrite(IndexSearcher reader)Return a DoubleValuesSource specialised for the given IndexSearcher Implementations should assume that this will only be called once.DoubleValuesSourceDoubleValuesSource.WeightDoubleValuesSource. rewrite(IndexSearcher searcher)DoubleValuesSourceLongValuesSource.DoubleLongValuesSource. rewrite(IndexSearcher searcher)DoubleValuesSourceLongValuesSource. 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 DoubleValuesSourceDoubleRangeGroupSelector. sourceConstructors in org.apache.lucene.search.grouping with parameters of type DoubleValuesSource Constructor Description DoubleRangeGroupSelector(DoubleValuesSource source, DoubleRangeFactory rangeFactory)Creates a new DoubleRangeGroupSelector
-