OpenSearch/server
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
..
licenses Update joda to 2.10.3 (#45495) 2019-08-23 10:39:39 +02:00
src Remove the SearchContext from the highlighter context (#47733) 2019-10-10 10:34:10 +02:00
build.gradle Remove eclipse conditionals (#44075) 2019-10-03 11:55:00 +03:00