OpenSearch/plugins/examples/script-expert-scoring
Stuart Tettemer 17cda5b2c0
Scripting: Groundwork for caching script results (#49895) (#49944)
In order to cache script results in the query shard cache, we need to
check if scripts are deterministic.  This change adds a default method
to the script factories, `isResultDeterministic() -> false` which is
used by the `QueryShardContext`.

Script results were never cached and that does not change here.  Future
changes will implement this method based on whether the results of the
scripts are deterministic or not and therefore cacheable.

Refs: #49466

**Backport**
2019-12-06 15:08:05 -07:00
..
src Scripting: Groundwork for caching script results (#49895) (#49944) 2019-12-06 15:08:05 -07:00
build.gradle Testclusters: support for security and convert example plugins (#41864) 2019-05-08 14:04:00 +03:00