Module org.apache.lucene.core
Package org.apache.lucene.util.hnsw
Interface CloseableRandomVectorScorerSupplier
-
- All Superinterfaces:
java.lang.AutoCloseable
,java.io.Closeable
,RandomVectorScorerSupplier
- All Known Implementing Classes:
Lucene99FlatVectorsWriter.FlatCloseableRandomVectorScorerSupplier
,Lucene99ScalarQuantizedVectorsWriter.ScalarQuantizedCloseableRandomVectorScorerSupplier
public interface CloseableRandomVectorScorerSupplier extends java.io.Closeable, RandomVectorScorerSupplier
A supplier that createsRandomVectorScorer
from an ordinal. Caller should be sure to close after useNOTE: the
RandomVectorScorerSupplier.copy()
returnedRandomVectorScorerSupplier
is not necessarily closeable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
totalVectorCount()
-
Methods inherited from interface org.apache.lucene.util.hnsw.RandomVectorScorerSupplier
copy, scorer
-
-