You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scripting: Cache script results if deterministic (#50106)
Cache results from queries that use scripts if they use only
deterministic API calls. Nondeterministic API calls are marked in the
whitelist with the `@nondeterministic` annotation. Examples are
`Math.random()` and `new Date()`.
Refs: #49466
Copy file name to clipboardExpand all lines: build.gradle
+2-2
Original file line number
Diff line number
Diff line change
@@ -205,8 +205,8 @@ task verifyVersions {
205
205
* after the backport of the backcompat code is complete.
206
206
*/
207
207
208
-
boolean bwc_tests_enabled =true
209
-
finalString bwc_tests_disabled_issue =""/* place a PR link here when committing bwc changes */
208
+
boolean bwc_tests_enabled =false
209
+
finalString bwc_tests_disabled_issue ="https://github.com/elastic/elasticsearch/pull/50106"/* place a PR link here when committing bwc changes */
210
210
if (bwc_tests_enabled ==false) {
211
211
if (bwc_tests_disabled_issue.isEmpty()) {
212
212
thrownewGradleException("bwc_tests_disabled_issue must be set when bwc_tests_enabled == false")
Copy file name to clipboardExpand all lines: modules/lang-painless/spi/src/main/java/org/elasticsearch/painless/spi/annotation/WhitelistAnnotationParser.java
+2-1
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,8 @@ public interface WhitelistAnnotationParser {
0 commit comments