OpenSearch/modules/lang-mustache
Christoph Büscher ca21aa0cb5 Make reset() in QueryShardContext private
The query shard reset() method resets some internal state in the
query shard context, like clearing query names, the filter flag
or named queries. The problem with this method being public is
that it currently (miss?) used for modifying an existing context
for recursive invocatiob, but the contexts that have been reseted
that way cannot be properly set back to their previous state.

This PR is a step towards removing reset() entirely by first making
it only be used internally in QueryShardContext. In places where
reset() was used we can either create new QueryShardContexts or
modify the existing context because it is discarded afterwards anyway.
2016-05-03 18:56:16 +02:00
..
licenses get gradle check passing for lang-mustache 2015-12-09 00:10:37 -05:00
src Make reset() in QueryShardContext private 2016-05-03 18:56:16 +02:00
build.gradle Changed indexed scripts to be stored in the cluster state instead of the `.scripts` index. 2016-04-22 13:42:55 +02:00