java.lang.Object
org.apache.lucene.codecs.hnsw.FlatVectorsFormat
- Direct Known Subclasses:
Lucene99FlatVectorsFormat
,Lucene99ScalarQuantizedVectorsFormat
Encodes/decodes per-document vectors and provides a scoring interface for the flat stored vectors
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract FlatVectorsReader
fieldsReader
(SegmentReadState state) Returns aKnnVectorsReader
to read the vectors from the index.abstract FlatVectorsWriter
fieldsWriter
(SegmentWriteState state) Returns aFlatVectorsWriter
to write the vectors to the index.
-
Constructor Details
-
FlatVectorsFormat
protected FlatVectorsFormat()Sole constructor
-
-
Method Details
-
fieldsWriter
Returns aFlatVectorsWriter
to write the vectors to the index.- Throws:
IOException
-
fieldsReader
Returns aKnnVectorsReader
to read the vectors from the index.- Throws:
IOException
-