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

Michael McCandless commented on LUCENE-1837:
--------------------------------------------

bq. 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 those stats are already being computed (in the default Similarity impl's 
idf).  If we "improved" Similarity.idf so that it returned idf, docFreq and 
maxDoc in one go, then there's no added cost right?

> 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