On Mon, Feb 2, 2009 at 10:57 PM, Mark Miller <[email protected]> wrote:
> Is there a reason that SolrIndexSearcher still delegates to an IndexSearcher
> rather than extending it? All I can think is that maybe you don't want it
> identifiable as an IndexSearcher? Or that there is no reason currently...

I don't think there is a good reason currently... it's historical:

// Since the internal reader in IndexSearcher is
// package protected, I can't get to it by inheritance.
// For now, I am using delgation and creating the
// IndexReader to pass to the searcher myself.
// NOTE: as of Lucene 1.9, this has changed!

-Yonik

Reply via email to