[ https://issues.apache.org/jira/browse/LUCENE-9280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17064393#comment-17064393 ]
Michael Sokolov commented on LUCENE-9280: ----------------------------------------- This is interesting - could you provide a bit of motivation why this is desirable though? Since DocValues are stored in docid order, how will skipping work? I guess we know the min/max values for a block of docs, so could potentially skip over a block at a time? > Add ability to skip non-competitive documents on field sort > ------------------------------------------------------------ > > Key: LUCENE-9280 > URL: https://issues.apache.org/jira/browse/LUCENE-9280 > Project: Lucene - Core > Issue Type: Improvement > Reporter: Mayya Sharipova > Priority: Minor > Time Spent: 4h 20m > Remaining Estimate: 0h > > Today collectors, once they collect enough docs, can instruct scorers to > update their iterators to skip non-competitive documents. This is applicable > only for a case when we need top docs by _score. > It would be nice to also have an ability to skip non-competitive docs when we > need top docs sorted by other fields different from _score. -- 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