Uses of Interface org.apache.lucene.codecs.hnsw.FlatVectorsScorer (Lucene 10.5.0 core API)
Description: use: package: org.apache.lucene.codecs.hnsw, interface: FlatVectorsScorer

# Uses of Interface
org.apache.lucene.codecs.hnsw.FlatVectorsScorer

Packages that use FlatVectorsScorer
Package
Description
org.apache.lucene.codecs.hnsw
HNSW vector helper classes.
org.apache.lucene.codecs.lucene104
Lucene 10.4 file format.
org.apache.lucene.codecs.lucene95
Lucene 9.5 file format.
org.apache.lucene.codecs.lucene99
Lucene 9.9 file format.
org.apache.lucene.internal.vectorization
Internal implementations to support SIMD vectorization.

- ## Uses of FlatVectorsScorer in org.apache.lucene.codecs.hnsw

  Classes in org.apache.lucene.codecs.hnsw that implement FlatVectorsScorer
  Modifier and Type
  Class
  Description
  `class`
  `DefaultFlatVectorScorer`
  Default implementation of `FlatVectorsScorer`.
  `class`
  `PrefetchableFlatVectorScorer`
  A `FlatVectorsScorer` wrapper that enables prefetching of vector data before scoring.
  `class`
  `ScalarQuantizedVectorScorer`
  Default scalar quantized implementation of `FlatVectorsScorer`.
  Fields in org.apache.lucene.codecs.hnsw declared as FlatVectorsScorer
  Modifier and Type
  Field
  Description
  `protected final FlatVectorsScorer`
  FlatVectorsWriter.`vectorsScorer`
  Scorer for flat vectors
  Methods in org.apache.lucene.codecs.hnsw that return FlatVectorsScorer
  Modifier and Type
  Method
  Description
  `abstract FlatVectorsScorer`
  FlatVectorsReader.`getFlatVectorScorer(String field)`
  Returns a `FlatVectorsScorer` for the given field.
  `FlatVectorsScorer`
  FlatVectorsWriter.`getFlatVectorScorer()`
  `static FlatVectorsScorer`
  FlatVectorScorerUtil.`getLucene99FlatVectorsScorer()`
  Returns a FlatVectorsScorer that supports the Lucene99 format.
  `static FlatVectorsScorer`
  FlatVectorScorerUtil.`getLucene99ScalarQuantizedVectorsScorer()`
  Constructors in org.apache.lucene.codecs.hnsw with parameters of type FlatVectorsScorer
  Modifier
  Constructor
  Description
  `protected`
  `FlatVectorsWriter(FlatVectorsScorer vectorsScorer)`
  Sole constructor
  ``
  `PrefetchableFlatVectorScorer(FlatVectorsScorer flatVectorsScorer)`
  Constructs a new prefetchable scorer wrapper.
  ``
  `ScalarQuantizedVectorScorer(FlatVectorsScorer flatVectorsScorer)`

- ## Uses of FlatVectorsScorer in org.apache.lucene.codecs.lucene104

  Classes in org.apache.lucene.codecs.lucene104 that implement FlatVectorsScorer
  Modifier and Type
  Class
  Description
  `class`
  `Lucene104ScalarQuantizedVectorScorer`
  Vector scorer over OptimizedScalarQuantized vectors
  Methods in org.apache.lucene.codecs.lucene104 that return FlatVectorsScorer
  Modifier and Type
  Method
  Description
  `FlatVectorsScorer`
  Lucene104ScalarQuantizedVectorsReader.`getFlatVectorScorer(String field)`
  Constructors in org.apache.lucene.codecs.lucene104 with parameters of type FlatVectorsScorer
  Modifier
  Constructor
  Description
  ``
  `Lucene104ScalarQuantizedVectorScorer(FlatVectorsScorer nonQuantizedDelegate)`

- ## Uses of FlatVectorsScorer in org.apache.lucene.codecs.lucene95

  Fields in org.apache.lucene.codecs.lucene95 declared as FlatVectorsScorer
  Modifier and Type
  Field
  Description
  `protected final FlatVectorsScorer`
  OffHeapByteVectorValues.`flatVectorsScorer`
  `protected final FlatVectorsScorer`
  OffHeapFloatVectorValues.`flatVectorsScorer`
  Methods in org.apache.lucene.codecs.lucene95 with parameters of type FlatVectorsScorer
  Modifier and Type
  Method
  Description
  `static OffHeapByteVectorValues`
  OffHeapByteVectorValues.`load(VectorSimilarityFunction vectorSimilarityFunction, FlatVectorsScorer flatVectorsScorer, OrdToDocDISIReaderConfiguration configuration, VectorEncoding vectorEncoding, int dimension, long vectorDataOffset, long vectorDataLength, IndexInput vectorData)`
  `static OffHeapFloatVectorValues`
  OffHeapFloatVectorValues.`load(VectorSimilarityFunction vectorSimilarityFunction, FlatVectorsScorer flatVectorsScorer, OrdToDocDISIReaderConfiguration configuration, VectorEncoding vectorEncoding, int dimension, long vectorDataOffset, long vectorDataLength, IndexInput vectorData)`
  Constructors in org.apache.lucene.codecs.lucene95 with parameters of type FlatVectorsScorer
  Modifier
  Constructor
  Description
  ``
  `DenseOffHeapVectorValues(int dimension, int size, IndexInput slice, int byteSize, FlatVectorsScorer flatVectorsScorer, VectorSimilarityFunction vectorSimilarityFunction)`
  ``
  `DenseOffHeapVectorValues(int dimension, int size, IndexInput slice, int byteSize, FlatVectorsScorer flatVectorsScorer, VectorSimilarityFunction similarityFunction)`

- ## Uses of FlatVectorsScorer in org.apache.lucene.codecs.lucene99

  Classes in org.apache.lucene.codecs.lucene99 that implement FlatVectorsScorer
  Modifier and Type
  Class
  Description
  `class`
  `Lucene99ScalarQuantizedVectorScorer`
  Optimized scalar quantized implementation of `FlatVectorsScorer` for quantized vectors stored in the Lucene99 format.
  Methods in org.apache.lucene.codecs.lucene99 that return FlatVectorsScorer
  Modifier and Type
  Method
  Description
  `FlatVectorsScorer`
  Lucene99FlatVectorsReader.`getFlatVectorScorer(String field)`
  Constructors in org.apache.lucene.codecs.lucene99 with parameters of type FlatVectorsScorer
  Modifier
  Constructor
  Description
  ``
  `Lucene99FlatVectorsFormat(FlatVectorsScorer vectorsScorer)`
  Constructs a format
  ``
  `Lucene99FlatVectorsReader(SegmentReadState state, FlatVectorsScorer scorer)`
  ``
  `Lucene99FlatVectorsReader(SegmentReadState state, FlatVectorsScorer scorer, DataAccessHint accessHint)`
  Creates a Lucene99FlatVectorsReader.
  ``
  `Lucene99FlatVectorsWriter(SegmentWriteState state, FlatVectorsScorer scorer)`
  Constructs a writer that uses the default factory to build per-field vector storage.
  ``
  `Lucene99FlatVectorsWriter(SegmentWriteState state, FlatVectorsScorer scorer, IOFunction<FieldInfo,FlatFieldVectorsWriter<?>> strategyFactory)`
  Constructs a writer that uses the supplied `strategyFactory` to build per-field vector storage.
  ``
  `Lucene99ScalarQuantizedVectorScorer(FlatVectorsScorer flatVectorsScorer)`

- ## Uses of FlatVectorsScorer in org.apache.lucene.internal.vectorization

  Methods in org.apache.lucene.internal.vectorization that return FlatVectorsScorer
  Modifier and Type
  Method
  Description
  `abstract FlatVectorsScorer`
  VectorizationProvider.`getLucene99FlatVectorsScorer()`
  Returns a FlatVectorsScorer that supports the Lucene99 format.
  `abstract FlatVectorsScorer`
  VectorizationProvider.`getLucene99ScalarQuantizedVectorsScorer()`
  Returns a FlatVectorsScorer that supports the Lucene99 format.