OpenSearch/plugins/mapper-annotated-text
Jim Ferenczi bd6e2592a7 Remove the SearchContext from the highlighter context (#47733)
Today built-in highlighter and plugins have access to the SearchContext through the
highlighter context. However most of the information exposed in the SearchContext are not needed and a QueryShardContext
would be enough to perform highlighting. This change replaces the SearchContext by the informations that are absolutely
required by highlighter: a QueryShardContext and the SearchContextHighlight. This change allows to reduce the exposure of the
complex SearchContext and remove the needs to clone it in the percolator sub phase.

Relates #47198
Relates #46523
2019-10-10 10:34:10 +02:00
..
src Remove the SearchContext from the highlighter context (#47733) 2019-10-10 10:34:10 +02:00
build.gradle New plugin - Annotated_text field type (#30364) 2018-09-18 10:25:27 +01:00