[ 
https://issues.apache.org/jira/browse/LUCENE-1837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12746624#action_12746624
 ] 

Mark Miller commented on LUCENE-1837:
-------------------------------------

bq. Really the Weight should gather & hold all top-level stats it needs on 
construction? (The MultiSearcher is passed on Weight construction).

Ah - good point. I've said it before myself - index level stats should be taken 
from the createWeightSearcher - I just don't integrate thoughts well :)

So that seems like the right thing to do - only thing I don't like is that this 
info has to be calculated by calling each Searchable in the MultiSearcher, and 
then
you likely won't ever use it - explain is generally debug stuff. I don't like 
that.

But I guess, if you want the info, you gotto do what you gotto do ...

> Remove Searcher from explain and idf/maxDoc info from explain
> -------------------------------------------------------------
>
>                 Key: LUCENE-1837
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1837
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>             Fix For: 2.9
>
>
> these changes (starting with the TermWeight idf/maxDoc info) were illegal IMO 
> - I think they need to be rolled back/out.

-- 
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: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to