Companion

object Companion

Properties

Link copied to clipboard

A DoubleValuesSource that exposes a document's score

Functions

Link copied to clipboard

Creates a DoubleValuesSource that always returns a constant value

Link copied to clipboard

Creates a DoubleValuesSource that wraps a double-valued field

Link copied to clipboard
fun fromField(field: String, decoder: (Long) -> Double): DoubleValuesSource

Creates a DoubleValuesSource that wraps a generic NumericDocValues field

Link copied to clipboard

Creates a DoubleValuesSource that wraps a float-valued field

Link copied to clipboard

Creates a DoubleValuesSource that wraps an int-valued field

Link copied to clipboard

Creates a DoubleValuesSource that wraps a long-valued field

Link copied to clipboard

Create a DoubleValuesSource that returns the score of a particular query

Link copied to clipboard

Returns a DoubleValues instance that wraps scores returned by a Scorer.

Link copied to clipboard

Returns a DoubleValues instance for computing the vector similarity score per document against the byte query vector

Returns a DoubleValues instance for computing the vector similarity score per document against the float query vector