On Tue, Jan 4, 2011 at 5:38 PM, Smiley, David W. <dsmi...@mitre.org> wrote:
> If this is the case, then why is MultiFields.getFields(reader) used 43 times 
> across Lucene/Solr whereas ReaderUtil.Gather is only used 5 times?  If it's a 
> TODO then perhaps a JIRA issue needs to be created.  I don't find helpful 
> examples of how to use ReaderUtil.Gather... the existing 5 uses are all 
> within MultiFields & ReaderUtil.

because ReaderUtil.Gather isn't the only way to get per-segment
Fields... for example look at TermCollectingRewrite.

there was already a discussion to clean up the Multi* usage: see Uwe's
comment on https://issues.apache.org/jira/browse/LUCENE-2771

In general this has been happening though, for example only recently
did MultiTermQuery start working completely per-segment:
https://issues.apache.org/jira/browse/LUCENE-2690

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

Reply via email to