Fixed
Details
Assignee
Marko BekhtaMarko BekhtaReporter
Marko BekhtaMarko BekhtaComponents
Sprint
NoneFix versions
Priority
Major
Details
Details
Assignee
Marko Bekhta
Marko BekhtaReporter
Marko Bekhta
Marko BekhtaComponents
Sprint
None
Fix versions
Priority
Created March 28, 2023 at 10:58 AM
Updated June 2, 2023 at 1:33 PM
Resolved May 31, 2023 at 8:01 AM
Lucene’s unified highlighter will concatenate all the snippets into one string by default. For example if we have a multivalued field with:
Applying a unified highlighter to it will result in:
While using other highlighter types, or if using the Elasticsearch backend, the result will be:
To get Lucene’s unified highlighter to behave in the same way, we’d need to have our custom implementation of both
PassageFormatter
andFieldHighlighter
Alternatively, we might end up simply exposing the
ellipsis
parameter of theDefaultPassageFormatter
to the users through Lucene-specific unified highlighter DSL.