Fix simple text byte vector iteration (#13842)

This commit is contained in:
Benjamin Trent 2024-10-01 09:31:26 -04:00 committed by Benjamin Trent
parent cce7d36920
commit 0c7163fc77
1 changed files with 5 additions and 0 deletions

View File

@ -434,6 +434,11 @@ public class SimpleTextKnnVectorsReader extends KnnVectorsReader {
return binaryValue.bytes;
}
@Override
public int ordToDoc(int ord) {
return entry.ordToDoc[ord];
}
@Override
public DocIndexIterator iterator() {
return createSparseIterator();