romseygeek commented on code in PR #12222:
URL: https://github.com/apache/lucene/pull/12222#discussion_r1164021939
##########
lucene/highlighter/src/test/org/apache/lucene/search/vectorhighlight/TestSimpleFragmentsBuilder.java:
##########
@@ -226,7 +226,7 @@ public void testDiscreteMultiValueHighlighting() throws
Exception {
result = sfb.createFragments(reader, 0, F, ffl, 3);
assertEquals(2, result.length);
assertEquals("text to <b>highlight</b>", result[0]);
- assertEquals("<b>highlight</b> other text", result[1]);
+ assertEquals("<b>highlight</b> other", result[1]);
Review Comment:
Do you know why this has changed? The fragment length is still 32
characters so I'd expect to get the full text string back.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]