mirror of https://github.com/apache/lucene.git
LUCENE-7462: Fix LegacySortedSetDocValuesWrapper to reset `upTo` when calling `advanceExact`.
This commit is contained in:
parent
e1b06938b4
commit
97339e2cac
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue