- java.lang.Object
-
- org.apache.lucene.codecs.FlatVectorsFormat
-
- Direct Known Subclasses:
Lucene99FlatVectorsFormat
,Lucene99ScalarQuantizedVectorsFormat
public abstract class FlatVectorsFormat extends java.lang.Object
Encodes/decodes per-document vectors
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
FlatVectorsFormat()
Sole constructor
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract 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.
-
-
-
Method Detail
-
fieldsWriter
public abstract FlatVectorsWriter fieldsWriter(SegmentWriteState state) throws java.io.IOException
Returns aFlatVectorsWriter
to write the vectors to the index.- Throws:
java.io.IOException
-
fieldsReader
public abstract FlatVectorsReader fieldsReader(SegmentReadState state) throws java.io.IOException
Returns aKnnVectorsReader
to read the vectors from the index.- Throws:
java.io.IOException
-
-