Class SimpleTextKnnVectorsFormat
java.lang.Object
org.apache.lucene.codecs.KnnVectorsFormat
org.apache.lucene.codecs.simpletext.SimpleTextKnnVectorsFormat
- All Implemented Interfaces:
NamedSPILoader.NamedSPI
For debugging, curiosity, transparency only!! Do not use this codec in production.
This codec stores all data in a single human-readable text file (_N.vec). You can view this in any text editor, and even edit it to alter your index.
- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
Field Summary
Fields inherited from class org.apache.lucene.codecs.KnnVectorsFormat
EMPTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfieldsReader
(SegmentReadState state) fieldsWriter
(SegmentWriteState state) Methods inherited from class org.apache.lucene.codecs.KnnVectorsFormat
forName, getName
-
Constructor Details
-
SimpleTextKnnVectorsFormat
public SimpleTextKnnVectorsFormat()
-
-
Method Details
-
fieldsWriter
- Specified by:
fieldsWriter
in classKnnVectorsFormat
- Throws:
IOException
-
fieldsReader
- Specified by:
fieldsReader
in classKnnVectorsFormat
- Throws:
IOException
-