[
https://issues.apache.org/jira/browse/LUCENE-1483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12655957#action_12655957
]
Michael McCandless commented on LUCENE-1483:
--------------------------------------------
bq. adding a return type to the collect/hit method? ... ie: an enum style
result indicating "OK" or "ABORT" (with the potential of adding additional
constants later ala FieldSelectorResult)
I think we should consider this, though this then implies an if stmt checking
the return result & doing something, on each hit, so we should test the cost of
doing so vs the cost of throwing an exception instead (eg we could define a
typed exception in this new interface which means "abort the search now" and
maybe another to mean "stop searching & return the results you got so far",
etc.).
> Change IndexSearcher to use MultiSearcher semantics for multiple subreaders
> ---------------------------------------------------------------------------
>
> Key: LUCENE-1483
> URL: https://issues.apache.org/jira/browse/LUCENE-1483
> Project: Lucene - Java
> Issue Type: Improvement
> Affects Versions: 2.9
> Reporter: Mark Miller
> Priority: Minor
> Attachments: LUCENE-1483.patch, LUCENE-1483.patch, LUCENE-1483.patch,
> LUCENE-1483.patch, LUCENE-1483.patch, LUCENE-1483.patch, LUCENE-1483.patch,
> LUCENE-1483.patch, LUCENE-1483.patch, LUCENE-1483.patch
>
>
> FieldCache and Filters are forced down to a single segment reader, allowing
> for individual segment reloading on reopen.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]