Package org.apache.lucene.codecs
Class FlatVectorsFormat
java.lang.Object
org.apache.lucene.codecs.FlatVectorsFormat
- Direct Known Subclasses:
Lucene99FlatVectorsFormat
,Lucene99ScalarQuantizedVectorsFormat
Encodes/decodes per-document vectors
- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
Constructor Summary
-
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
-