mirror of https://github.com/apache/lucene.git
Fix simple text byte vector iteration (#13842)
This commit is contained in:
parent
cce7d36920
commit
0c7163fc77
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue