lucene-dev mailing list archives

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


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:
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Minor
>             Fix For: 4.3
> Spin-off of LUCENE-4752, see
> 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:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message