Ability to use rescore
with Inner hits
#108163
Labels
>enhancement
:Search/Ranking
Scoring, rescoring, rank evaluation.
:Search/Search
Search-related issues that do not fall into other categories
Team:Search
Meta label for search team
Description
For nested queries, and more recently, collapse, its possible to have a top-level rescore that applies to the top-level documents.
However, the inner-hit scores may not reflect the top-level rescore.
It would be beneficial to add
rescore
toinner_hits
so that individual inner hits can be rescored to reflect their top-level score.The question becomes an API level one.
A: Do we want to simply add a
rescore
element that is a fully-feature rescore, just like the rescore field in _searcu?B: Or do we add an option for
inner_hits
to take advantage of the already existing top-level rescore, but allow them to set override options likewindow_size
?@jimczi what do you think?
The text was updated successfully, but these errors were encountered: