Fix simple text byte vector iteration (#13842)

This commit is contained in:
Benjamin Trent 2024-10-01 09:31:26 -04:00 committed by GitHub
parent f411adfe43
commit 4461bc1eff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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();