You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Atri Sharma (JIRA)" <ji...@apache.org> on 2019/05/16 06:49:00 UTC

[jira] [Commented] (LUCENE-8788) Order LeafReaderContexts by Estimated Number Of Hits

    [ https://issues.apache.org/jira/browse/LUCENE-8788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16841035#comment-16841035 ] 

Atri Sharma commented on LUCENE-8788:
-------------------------------------

Folks, any thoughts on this?

 

I am envisioning adding a generic mechanism which can allow users to order slices in any custom order. Note that segments within a slice will still be ordered by docID to maintain guarantees while collecting hits.

 

This can be useful for custom early termination logic and better control for users to customize query execution for thir specific workloads

> Order LeafReaderContexts by Estimated Number Of Hits
> ----------------------------------------------------
>
>                 Key: LUCENE-8788
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8788
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Atri Sharma
>            Priority: Major
>
> We offer no guarantee on the order in which an IndexSearcher will look at segments during a search operation. This can be improved for use cases where an engine using Lucene invokes early termination and uses the partially collected hits. A better model would be if we sorted segments by the estimated number of hits, thus increasing the probability of the overall relevance of the returned partial results.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org