[ 
https://issues.apache.org/jira/browse/LUCENE-2614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Muir resolved LUCENE-2614.
---------------------------------

    Resolution: Duplicate

solved in LUCENE-2635

> TestSimpleExplanationsOfNonMatches random test failure
> ------------------------------------------------------
>
>                 Key: LUCENE-2614
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2614
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Search
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>
> {noformat}
> junit.framework.AssertionFailedError: Explanation of [[+yy +w3]] for #0 
> doesn't indicate non-match: 0.17556934 = (MATCH) sum of:
>   0.17556934 = (MATCH) weight(field:w3 in 0), product of:
>     0.5165708 = queryWeight(field:w3), product of:
>       0.7768564 = idf(docFreq=4, maxDocs=4)
>       0.6649502 = queryNorm
>     0.33987468 = (MATCH) fieldWeight(field:w3 in 0), product of:
>       1.0 = tf(termFreq(field:w3)=1)
>       0.7768564 = idf(docFreq=4, maxDocs=4)
>       0.4375 = fieldNorm(field=field, doc=0)
>  expected:<0.0> but was:<0.17556934>
>       at junit.framework.Assert.fail(Assert.java:47)
>       at junit.framework.Assert.failNotEquals(Assert.java:277)
>       at junit.framework.Assert.assertEquals(Assert.java:116)
>       at 
> org.apache.lucene.search.CheckHits.checkNoMatchExplanations(CheckHits.java:60)
>       at 
> org.apache.lucene.search.TestSimpleExplanationsOfNonMatches.qtest(TestSimpleExplanationsOfNonMatches.java:36)
>       at 
> org.apache.lucene.search.TestExplanations.qtest(TestExplanations.java:101)
>       at 
> org.apache.lucene.search.TestSimpleExplanations.testBQ2(TestSimpleExplanations.java:239)
> {noformat}
> Plug in seed of 6398501795010097415L to TestExplanations.setUp's newRandom to 
> reproduce.
> Didn't test to see if it affects 3x also.

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

Reply via email to