Interface RandomVectorScorerSupplier

All Known Subinterfaces:
CloseableRandomVectorScorerSupplier
All Known Implementing Classes:
DefaultFlatVectorScorer.ByteScoringSupplier, DefaultFlatVectorScorer.FloatScoringSupplier, FlatBitVectorsScorer.BitRandomVectorScorerSupplier, Lucene99FlatVectorsWriter.FlatCloseableRandomVectorScorerSupplier, Lucene99ScalarQuantizedVectorScorer.ScalarQuantizedRandomVectorScorerSupplier, Lucene99ScalarQuantizedVectorsWriter.ScalarQuantizedCloseableRandomVectorScorerSupplier, ScalarQuantizedVectorScorer.ScalarQuantizedRandomVectorScorerSupplier

public interface RandomVectorScorerSupplier
A supplier that creates RandomVectorScorer from an ordinal.
  • Method Summary

    Modifier and Type
    Method
    Description
    Make a copy of the supplier, which will copy the underlying vectorValues so the copy is safe to be used in other threads.
    scorer(int ord)
    This creates a RandomVectorScorer for scoring random nodes in batches against the given ordinal.