Mayya Sharipova created LUCENE-10020:
----------------------------------------

             Summary: DocComparator should not skip docs with the same docID on 
multiple sorts with search after
                 Key: LUCENE-10020
                 URL: https://issues.apache.org/jira/browse/LUCENE-10020
             Project: Lucene - Core
          Issue Type: Bug
            Reporter: Mayya Sharipova


Because of the optimization introduced in 
[LUCENE-9449|https://issues.apache.org/jira/browse/LUCENE-9449], when searching 
with sort on  [_doc, other fields] with search after,  DocComparator can 
efficiently skip all docs before and including the provided [search after 
docID].
This is a desirable behaviour in a single index search. But in a distributed 
search, where multiple indices have docs with the same docID, and when 
searching on [_doc, other fields], the sort optimization should not skip 
documents with the same docIDs.  


Relates to LUCENE-9449



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to