You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "mayya-sharipova (via GitHub)" <gi...@apache.org> on 2024/04/12 14:00:07 UTC

[PR] UnifiedHighlighter highlight on multiple fields (#13268) [lucene]

mayya-sharipova opened a new pull request, #13297:
URL: https://github.com/apache/lucene/pull/13297

   Add ability to UnifiedHighlighter to combine matches from multiple fields to highlight a single field.
   
   FastVectorHighlighter for a long time has an option to highlight a single field based on matches from several fields. But UnifiedHighlighter was missing this option.
   
   This adds this ability with a new function: `UnifiedHighlighter::withMaskedFieldsFunc`  that sets up a function that given a field retuns a set of masked fields whose matches  are combined  to highlight the given field.
   
   Backport for PR #3268
   


-- 
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: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


Re: [PR] UnifiedHighlighter highlight on multiple fields (#13268) [lucene]

Posted by "mayya-sharipova (via GitHub)" <gi...@apache.org>.
mayya-sharipova merged PR #13297:
URL: https://github.com/apache/lucene/pull/13297


-- 
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: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org