LuXugang opened a new pull request #736:
URL: https://github.com/apache/lucene/pull/736


   When IndexSortSortedNumericDocValuesRangeQuery can take advantage of index 
sort, Weight#count will use BoundedDocSetIdIterator's lastDoc and firstDoc to 
calculate count, but if missingValue enables, those Documents which not contain 
DocValues may be involved in calculating count.
   
   That is why in BoundedDocSetIdIterator#advance(int target), target need to 
be check if such Document contains DocValues
   `int result = delegate.advance(target);`


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

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

Reply via email to