fix test bug (fails with DFI similarity)

This commit is contained in:
Robert Muir 2016-01-26 04:15:29 -05:00
parent 5e935d7106
commit bf00c961a2
1 changed files with 1 additions and 1 deletions

View File

@ -265,7 +265,7 @@ public class CommonTermsQueryTest extends LuceneTestCase {
assertEquals("0", r.document(search.scoreDocs[0].doc).get("id"));
assertEquals("2", r.document(search.scoreDocs[1].doc).get("id"));
assertEquals("3", r.document(search.scoreDocs[2].doc).get("id"));
assertTrue(search.scoreDocs[1].score > search.scoreDocs[2].score);
assertTrue(search.scoreDocs[1].score >= search.scoreDocs[2].score);
}
{