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 DoubleValuesSourceFeatureField.newDoubleValues(String field, String featureName) Creates aDoubleValuesSourceinstance which can be used to read the values of a feature from the aFeatureFieldfor documents. -
Uses of DoubleValuesSource in org.apache.lucene.search
Subclasses of DoubleValuesSource in org.apache.lucene.searchModifier and TypeClassDescriptionclassADoubleValuesSourcethat computes vector similarity between a query vector and raw full precision vectors indexed in providedKnnFloatVectorFieldin documents.classADoubleValuesSourcethat scores documents using similarity between a multi-vector query, and indexed document multi-vectors.Fields in org.apache.lucene.search declared as DoubleValuesSourceModifier and TypeFieldDescriptionstatic final DoubleValuesSourceDoubleValuesSource.SCORESA DoubleValuesSource that exposes a document's scoreMethods in org.apache.lucene.search that return DoubleValuesSourceModifier and TypeMethodDescriptionstatic DoubleValuesSourceDoubleValuesSource.constant(double value) Creates a DoubleValuesSource that always returns a constant valuestatic DoubleValuesSourceDoubleValuesSource.fromDoubleField(String field) Creates a DoubleValuesSource that wraps a double-valued fieldstatic DoubleValuesSourceDoubleValuesSource.fromField(String field, LongToDoubleFunction decoder) Creates a DoubleValuesSource that wraps a generic NumericDocValues fieldstatic DoubleValuesSourceDoubleValuesSource.fromFloatField(String field) Creates a DoubleValuesSource that wraps a float-valued fieldstatic DoubleValuesSourceDoubleValuesSource.fromIntField(String field) Creates a DoubleValuesSource that wraps an int-valued fieldstatic DoubleValuesSourceDoubleValuesSource.fromLongField(String field) Creates a DoubleValuesSource that wraps a long-valued fieldstatic DoubleValuesSourceCreate a DoubleValuesSource that returns the score of a particular queryabstract DoubleValuesSourceDoubleValuesSource.rewrite(IndexSearcher reader) Return a DoubleValuesSource specialised for the given IndexSearcherFullPrecisionFloatVectorSimilarityValuesSource.rewrite(IndexSearcher reader) LateInteractionFloatValuesSource.rewrite(IndexSearcher reader) LongValuesSource.toDoubleValuesSource()Convert to a DoubleValuesSource by casting long values to doublesConstructors in org.apache.lucene.search with parameters of type DoubleValuesSourceModifierConstructorDescriptionDoubleValuesSourceRescorer(DoubleValuesSource valuesSource) RescoreTopNQuery(Query query, DoubleValuesSource valuesSource, int n) Execute the inner Query, re-score using a customizable DoubleValueSource and trim down the result to k