Uses of Class
org.apache.lucene.search.DoubleValuesSource
-
Packages that use DoubleValuesSource Package Description org.apache.lucene.queries.function org.apache.lucene.search org.apache.lucene.spatial org.apache.lucene.spatial.prefix org.apache.lucene.spatial.util -
-
Uses of DoubleValuesSource in org.apache.lucene.queries.function
Methods in org.apache.lucene.queries.function that return DoubleValuesSource Modifier and Type Method Description DoubleValuesSourceFunctionScoreQuery. getSource()Methods 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.Constructors in org.apache.lucene.queries.function with parameters of type DoubleValuesSource Constructor Description FunctionScoreQuery(Query in, DoubleValuesSource source)Create a new FunctionScoreQuery -
Uses of DoubleValuesSource in org.apache.lucene.search
Fields in org.apache.lucene.search declared as DoubleValuesSource Modifier and Type Field Description static 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(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 DoubleValuesSourceDoubleValuesSource. fromQuery(Query query)Create a DoubleValuesSource that returns the score of a particular queryabstract DoubleValuesSourceDoubleValuesSource. rewrite(IndexSearcher reader)Return a DoubleValuesSource specialised for the given IndexSearcher Implementations should assume that this will only be called once.DoubleValuesSourceLongValuesSource. toDoubleValuesSource()Convert to a DoubleValuesSource by casting long values to doubles -
Uses of DoubleValuesSource in org.apache.lucene.spatial
Methods in org.apache.lucene.spatial that return DoubleValuesSource Modifier and Type Method Description DoubleValuesSourceSpatialStrategy. makeDistanceValueSource(Point queryPoint)SeeSpatialStrategy.makeDistanceValueSource(org.locationtech.spatial4j.shape.Point, double)called with a multiplier of 1.0 (i.e.abstract DoubleValuesSourceSpatialStrategy. makeDistanceValueSource(Point queryPoint, double multiplier)Make a ValueSource returning the distance between the center of the indexed shape andqueryPoint.DoubleValuesSourceSpatialStrategy. makeRecipDistanceValueSource(Shape queryShape)Returns a ValueSource with values ranging from 1 to 0, depending inversely on the distance fromSpatialStrategy.makeDistanceValueSource(org.locationtech.spatial4j.shape.Point,double). -
Uses of DoubleValuesSource in org.apache.lucene.spatial.prefix
Methods in org.apache.lucene.spatial.prefix that return DoubleValuesSource Modifier and Type Method Description DoubleValuesSourcePrefixTreeStrategy. makeDistanceValueSource(Point queryPoint, double multiplier) -
Uses of DoubleValuesSource in org.apache.lucene.spatial.util
Subclasses of DoubleValuesSource in org.apache.lucene.spatial.util Modifier and Type Class Description classReciprocalDoubleValuesSourceTransforms a DoubleValuesSource using the formula v = k / (v + k)classShapeFieldCacheDistanceValueSourceA DoubleValuesSource that returns the spatial distance between an input point and a document's points inShapeFieldCacheProvider.Methods in org.apache.lucene.spatial.util that return DoubleValuesSource Modifier and Type Method Description DoubleValuesSourceReciprocalDoubleValuesSource. rewrite(IndexSearcher searcher)DoubleValuesSourceShapeFieldCacheDistanceValueSource. rewrite(IndexSearcher searcher)Constructors in org.apache.lucene.spatial.util with parameters of type DoubleValuesSource Constructor Description ReciprocalDoubleValuesSource(double distToEdge, DoubleValuesSource input)Creates a ReciprocalDoubleValuesSource
-