mirror of https://github.com/apache/lucene.git
LUCENE-9638: fix simple text vector format fields list terminator
This commit is contained in:
parent
4b3e8d7ce8
commit
3c9d355315
|
@ -93,11 +93,11 @@ public class SimpleTextVectorWriter extends VectorWriter {
|
|||
writeInt(meta, docId);
|
||||
newline(meta);
|
||||
}
|
||||
writeField(meta, FIELD_NUMBER, -1);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void finish() throws IOException {
|
||||
writeField(meta, FIELD_NUMBER, -1);
|
||||
SimpleTextUtil.writeChecksum(meta, scratch);
|
||||
SimpleTextUtil.writeChecksum(vectorData, scratch);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue