[
https://issues.apache.org/jira/browse/LUCENE-1483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12655761#action_12655761
]
Doug Cutting commented on LUCENE-1483:
--------------------------------------
Could we add a new class like
{code}
public abstract class Hitable {
public abstract void setBase(int base);
public abstract void hit(int doc, float score);
}
{code}
upgrade everything in trunk to use this, and change HitCollector to:
{code}
/** @deprecated */
public abstract class HitCollector extends Hitable {
public abstract void setBase() { throw new UOE(); }
}
{code}
then, for back-compatiblity, wrap anything that extends HitCollector to rebase?
Then you'd have neither an isSupported method nor use exceptions for control.
> 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
>
>
> 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]