mirror of https://github.com/apache/lucene.git
LUCENE-1066: better explain output for idf
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@598072 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c70ec4af66
commit
f668a48266
|
@ -77,7 +77,8 @@ public class TermQuery extends Query {
|
|||
result.setDescription("weight("+getQuery()+" in "+doc+"), product of:");
|
||||
|
||||
Explanation idfExpl =
|
||||
new Explanation(idf, "idf(docFreq=" + reader.docFreq(term) + ")");
|
||||
new Explanation(idf, "idf(docFreq=" + reader.docFreq(term) +
|
||||
", numDocs=" + reader.numDocs() + ")");
|
||||
|
||||
// explain query weight
|
||||
Explanation queryExpl = new Explanation();
|
||||
|
|
Loading…
Reference in New Issue