LUCENE-7462: Fix LegacySortedSetDocValuesWrapper to reset `upTo` when calling `advanceExact`.

This commit is contained in:
Adrien Grand 2016-10-24 15:43:21 +02:00
parent e1b06938b4
commit 97339e2cac
1 changed files with 1 additions and 0 deletions

View File

@ -77,6 +77,7 @@ public final class LegacySortedNumericDocValuesWrapper extends SortedNumericDocV
public boolean advanceExact(int target) throws IOException {
docID = target;
values.setDocument(docID);
upto = 0;
return values.count() != 0;
}