Commit graph

1 commit

Author SHA1 Message Date
Mayya Sharipova
2337eb05a0
Unified Highlighter to support matched_fields (#107640)
Add support to the Unified highlighter to combine matches on multiple fields
to highlight a single field: "matched_fields".

Based on Lucene PR: https://github.com/apache/lucene/pull/13268

Lucene PR is based on the concept of masked fields where masked fields
are different from the original highlighted field. This PR in
Elasticsearch uses the already existing highlighter parameter
"matched_fields".
2024-05-09 10:35:29 -04:00