LUCENE-8121: Fix tests

This commit is contained in:
Alan Woodward 2018-01-11 10:33:02 +00:00
parent 352ec01a6e
commit 4d9a41807b
1 changed files with 2 additions and 2 deletions

View File

@ -163,7 +163,7 @@ public class TestUnifiedHighlighterStrictPhrases extends LuceneTestCase {
return Arrays.toString(passages);
}
});
assertArrayEquals(new String[]{"[Passage[0-22]{yin[0-3],yang[4-8],yin[10-13]}score=2.4964213]"},
assertArrayEquals(new String[]{"[Passage[0-22]{yin[0-3],yang[4-8],yin[10-13]}score=2.0685003]"},
highlighter.highlight("body", query, topDocs));
}
@ -207,7 +207,7 @@ public class TestUnifiedHighlighterStrictPhrases extends LuceneTestCase {
return Arrays.toString(passages);
}
});
assertArrayEquals(new String[]{"[Passage[0-41]{alpha[0-5],bravo[6-11],charlie[12-19]}score=3.931102]"},
assertArrayEquals(new String[]{"[Passage[0-41]{alpha[0-5],bravo[6-11],charlie[12-19]}score=2.723861]"},
highlighter.highlight("body", query, topDocs));
}