FlatVectorScorerUtil (Lucene 10.5.1 core API)
Description: declaration: package: org.apache.lucene.codecs.hnsw, class: FlatVectorScorerUtil

Package org.apache.lucene.codecs.hnsw

# Class FlatVectorScorerUtil

java.lang.Object
org.apache.lucene.codecs.hnsw.FlatVectorScorerUtil

public final class FlatVectorScorerUtil extends Object
Utilities for `FlatVectorsScorer`.

WARNING: This API is experimental and might change in incompatible ways in the next release.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static FlatVectorsScorer`
  `getLucene99FlatVectorsScorer()`
  Returns a FlatVectorsScorer that supports the Lucene99 format.
  `static FlatVectorsScorer`
  `getLucene99ScalarQuantizedVectorsScorer()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### getLucene99FlatVectorsScorer

    public static FlatVectorsScorer getLucene99FlatVectorsScorer()
    Returns a FlatVectorsScorer that supports the Lucene99 format. Scorers retrieved through this method may be optimized on certain platforms. Otherwise, a DefaultFlatVectorScorer is returned.

  - ### getLucene99ScalarQuantizedVectorsScorer

    public static FlatVectorsScorer getLucene99ScalarQuantizedVectorsScorer()