OpenSearch/modules/percolator
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 Remove -Xlint exclusions in the percolator module. (#40372) 2019-03-26 07:55:02 +01:00