Permalink
Browse files

fix test bug: we cannot rely on relative importance of 'shorter docum…

…ent' and 'higher term freq' to the similarity's scoring
  • Loading branch information...
mikemccand committed Jun 17, 2016
1 parent 90c544f commit 2cd77c735af9d0158c36891ef11741ef7f5bf91c
Showing with 1 addition and 1 deletion.
  1. +1 −1 lucene/core/src/test/org/apache/lucene/search/TestBoolean2.java
@@ -165,7 +165,7 @@ public static void afterClass() throws Exception {
"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 {

0 comments on commit 2cd77c7

Please sign in to comment.