lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject SortTest failing
Date Tue, 26 Apr 2005 02:55:49 GMT
Hm, Erik is not alone with unit tests failing.  My HighlighterTest
passes (I didn't do svn update today yet), but I see SortTest failing:

    [junit] Testcase:
testNormalizedScores(org.apache.lucene.search.TestSort):  FAILED
    [junit] expected:<0.375> but was:<0.392445>
    [junit] junit.framework.AssertionFailedError: expected:<0.375> but
was:<0.392445>
    [junit]     at
org.apache.lucene.search.TestSort.assertSameValues(TestSort.java:560)
    [junit]     at
org.apache.lucene.search.TestSort.testNormalizedScores(TestSort.java:365)


Line 365 is this:

assertSameValues (scoresA, getScores(multi.search(queryA,sort)));


And this makes me think that this broke during my last commit of Wolf's
patch for MultiSearcher and docFreq stuff.  However I did run 'ant
test' before commit and did see BUILD SUCCESSFUL, so I'm not 100% sure.
 

Anyone else seeing this error?

Otis


---------------------------------------------------------------------
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