lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-4858) Ability to terminate queries on a per-segment basis
Date Wed, 20 Mar 2013 16:23:16 GMT

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

Robert Muir commented on LUCENE-4858:
-------------------------------------

Can't we split this issue up? I think the current discussion is focused much on this sorted
segments thing, but thats not the only possible implementation for this kind of thing.

Already you can terminate the whole query (globally) by throwing an exception from your collector.

So to me the next step is to make it easier to terminate the collection of just one segment
and have IndexSearcher proceed to the other ones. This can just be a special marker exception
(extends RuntimeException) in IndexSearcher. Then any collector can do this.

                
> Ability to terminate queries on a per-segment basis
> ---------------------------------------------------
>
>                 Key: LUCENE-4858
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4858
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Minor
>             Fix For: 4.3
>
>
> Spin-off of LUCENE-4752, see https://issues.apache.org/jira/browse/LUCENE-4752?focusedCommentId=13606565&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13606565
and https://issues.apache.org/jira/browse/LUCENE-4752?focusedCommentId=13607282&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13607282
> When an index is sorted per-segment, queries that sort according to the index sort order
could be early terminated.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


Mime
View raw message