Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fielddata: Fix iterator over global ordinals.
Our iterator over global ordinals is currently incorrect since it does NOT return -1 (NO_MORE_ORDS) when all ordinals have been consumed. This bug does not strike immediately with elasticsearch since we always consume ordinals in a random-access fashion. However it strikes when consuming ordinals through Lucene helpers such as DocValues#docsWithField. Close #8580
- Loading branch information
Showing
4 changed files
with
140 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.