Reassign the knn values iterator in TestSortingCodecReader (#13852)

This commit is contained in:
Luca Cavanna 2024-10-02 23:43:28 +02:00
parent 52cb0413fd
commit b32ccecedf
1 changed files with 1 additions and 0 deletions

View File

@ -255,6 +255,7 @@ public class TestSortingCodecReader extends LuceneTestCase {
sorted_set_dv = leaf.getSortedSetDocValues("sorted_set_dv");
binary_sorted_dv = leaf.getSortedDocValues("binary_sorted_dv");
vectorValues = leaf.getFloatVectorValues("vector");
valuesIterator = vectorValues.iterator();
prevValue = -1;
}
assertTrue(prevValue + " < " + ids.longValue(), prevValue < ids.longValue());