Closed Seunghan-Jung closed 1 month ago
This PR has not had activity in the past 2 weeks, labeling it as stale. If the PR is waiting for review, notify the dev@lucene.apache.org list. Thank you for your contribution!
This PR has not had activity in the past 2 weeks, labeling it as stale. If the PR is waiting for review, notify the dev@lucene.apache.org list. Thank you for your contribution!
I like this change; very nice! I shall merge it. Please share how I shall list you in CHANGES.txt.
Proposed text under improvements to 9.11:
GITHUB#13276: UnifiedHighlighter: new 'passageSortComparator' option to not do offset order (YOUR NAME)
Description
FieldHighlighter
always sorts the final selected passages based on startOffset, but this may not align with the user's intentions.For example, in the case of Solr's multiValue fields, the order might just be a simple listing of items without any significance. In such cases, the order in which passages appear is not important. It might be more effective to maintain sorting by score in these situations.
Therefore, it seems necessary to allow for the final sorting criteria to be determined in accordance with the user's intentions.