lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-1837) Remove Searcher from explain and idf/maxDoc info from explain
Date Sun, 23 Aug 2009 16:18:59 GMT

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


Mime
View raw message