jtibshirani opened a new pull request #2070: URL: https://github.com/apache/lucene-solr/pull/2070
Previously we only checked that the first segment's ordinal deltas were all zero. This didn't account for some rare cases where some of the segment's ordinals are filtered out, so the ordinals aren't contiguous. In these cases we fill in dummy values for the missing ordinal deltas. So a segment's ordinals can appear to match the global ordinals perfectly, but not actually contain all the terms. Such a case can arise when using a FilteredTermsEnum, for example when merging a segment with deletions. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org