Mark Miller (JIRA) wrote:

bq. The problem is this doesn't create a the right sequence. Ie, if we mark 
supportsDocBase as deprecated, then some ExternalHitCollector won't see the 
deprecation warning (they have not overridden supportsDocBase), and so then we 
can't remove it in 3.0 since their code will then silently break. I think the 
only thing to do would be deprecate collect() in favor of another method. Or, 
deprecate HitCollector entirely in favor of new class DocBaseHitCollector 
(don't like that name). Sigh...
This shouldn't be silent though. They will get an UnsupportedOperationException if they try to do anything requiring the functionality. That seems fair for a major version change, no?

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.



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

Reply via email to