Class SimpleTextKnnVectorsWriter
- java.lang.Object
-
- org.apache.lucene.codecs.KnnVectorsWriter
-
- org.apache.lucene.codecs.simpletext.SimpleTextKnnVectorsWriter
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class SimpleTextKnnVectorsWriter extends KnnVectorsWriter
Writes vector-valued fields in a plain text format
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidfinish()voidwriteField(FieldInfo fieldInfo, VectorValues vectors)-
Methods inherited from class org.apache.lucene.codecs.KnnVectorsWriter
merge
-
-
-
-
Method Detail
-
writeField
public void writeField(FieldInfo fieldInfo, VectorValues vectors) throws IOException
- Specified by:
writeFieldin classKnnVectorsWriter- Throws:
IOException
-
finish
public void finish() throws IOException- Specified by:
finishin classKnnVectorsWriter- Throws:
IOException
-
close
public void close() throws IOException- Throws:
IOException
-
-