mirror of https://github.com/apache/lucene.git
fix test bug: we cannot rely on relative importance of 'shorter document' and 'higher term freq' to the similarity's scoring
This commit is contained in:
parent
90c544f6ba
commit
2cd77c735a
|
@ -165,7 +165,7 @@ public class TestBoolean2 extends LuceneTestCase {
|
|||
"w1 w2 w3 w4 w5",
|
||||
"w1 w3 w2 w3",
|
||||
"w1 xx w2 yy w3",
|
||||
"w1 w3 xx w2 yy w3"
|
||||
"w1 w3 xx w2 yy mm"
|
||||
};
|
||||
|
||||
public void queriesTest(Query query, int[] expDocNrs) throws Exception {
|
||||
|
|
Loading…
Reference in New Issue