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;
|
return binaryValue.bytes;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int ordToDoc(int ord) {
|
||||||
|
return entry.ordToDoc[ord];
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public DocIndexIterator iterator() {
|
public DocIndexIterator iterator() {
|
||||||
return createSparseIterator();
|
return createSparseIterator();
|
||||||
|
|
Loading…
Reference in New Issue