17cda5b2c0
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** |
||
---|---|---|
.. | ||
custom-settings | ||
custom-suggester | ||
painless-whitelist | ||
rescore | ||
rest-handler | ||
script-expert-scoring | ||
security-authorization-engine | ||
build.gradle |