OpenSearch/test
Nick Knize 6428d1a2a6
[Refactor] MapperService to QueryShardContext in valueFetcher (#2027)
* [Refactor] MapperService to QueryShardContext in valueFetcher

QueryShardContext encapsulates MapperService along with other mechanisms useful
for analyzers, highlighters, and readers. This commit refactors the valueFetcher
to use the QueryShardContext as a parameter instead of direct access to the
MapperService. This is an API change. Behavior of the method is unaffected.

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>

* change unnecessary Optional usage

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>

* spotlessApply

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
2022-02-08 08:38:20 -05:00
..
external-modules [License] Add SPDX and OpenSearch Modification license header (#509) 2021-04-09 14:28:18 -05:00
fixtures Update FIPS API libraries of Bouncy Castle (#1853) 2022-01-05 16:59:55 -08:00
framework [Refactor] MapperService to QueryShardContext in valueFetcher (#2027) 2022-02-08 08:38:20 -05:00
logger-usage [License] Add SPDX and OpenSearch Modification license header (#509) 2021-04-09 14:28:18 -05:00
build.gradle [License] Add SPDX and OpenSearch Modification license header (#509) 2021-04-09 14:28:18 -05:00