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 (elastic#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: elastic#49466
Copy file name to clipboardExpand all lines: build.gradle
+2-2
Original file line number
Diff line number
Diff line change
@@ -208,8 +208,8 @@ task verifyVersions {
208
208
* after the backport of the backcompat code is complete.
209
209
*/
210
210
211
-
boolean bwc_tests_enabled =true
212
-
finalString bwc_tests_disabled_issue =""/* place a PR link here when committing bwc changes */
211
+
boolean bwc_tests_enabled =false
212
+
finalString bwc_tests_disabled_issue ="https://github.com/elastic/elasticsearch/pull/50106"/* place a PR link here when committing bwc changes */
213
213
if (bwc_tests_enabled ==false) {
214
214
if (bwc_tests_disabled_issue.isEmpty()) {
215
215
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