OpenSearch/modules
Przemko Robakowski 8cf47aca7e
[7.x] Improve Painless compilation performance for nested conditionals (#52056) (#52074)
* Improve Painless compilation performance for nested conditionals (#52056)

This PR changes how conditional expression is handled in `PainlessParser`
in a way that avoids the need for backtracking, which led to exponential
compilation times in case of nested conditionals.

The test was added ensures that we can compile deeply nested conditionals.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

* Fix Map.of in Java8

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-02-07 21:13:25 +01:00
..
aggs-matrix-stats Rename MapperService#fullName to fieldType. 2020-02-07 10:35:53 -08:00
analysis-common Move analysis/mappings stats to cluster-stats. (#51875) 2020-02-05 11:02:25 +01:00
ingest-common Avoid clash between source field and header field in CsvProcessorTests (#51962) (#52070) 2020-02-07 21:00:39 +01:00
ingest-geoip Allow list of IPs in geoip ingest processor (#49573) (#49947) 2019-12-07 00:19:09 +01:00
ingest-user-agent update ingest-user-agent regexes.yml (#47807) 2019-10-18 16:26:48 +02:00
lang-expression Rename MapperService#fullName to fieldType. 2020-02-07 10:35:53 -08:00
lang-mustache Add "did you mean" to unknown queries (#51177) (#51254) 2020-01-21 12:45:52 -05:00
lang-painless [7.x] Improve Painless compilation performance for nested conditionals (#52056) (#52074) 2020-02-07 21:13:25 +01:00
mapper-extras Rename MapperService#fullName to fieldType. 2020-02-07 10:35:53 -08:00
parent-join Rename MapperService#fullName to fieldType. 2020-02-07 10:35:53 -08:00
percolator Rename MapperService#fullName to fieldType. 2020-02-07 10:35:53 -08:00
rank-eval Remove comparison to true for booleans (#51723) 2020-01-31 16:35:43 -08:00
reindex Mute ReindexFailureTests test 2020-02-06 16:29:04 -08:00
repository-url Remove Unused Single Delete in BlobStoreRepository (#50024) (#50123) 2019-12-12 11:17:46 +01:00
systemd Extend systemd timeout during startup (#49784) 2019-12-03 14:25:45 -05:00
tasks Deprecate creation of dot-prefixed index names except for hidden and system indices (#49959) 2020-01-28 10:01:16 -07:00
transport-netty4 Add Trace Logging of REST Requests (#51684) (#52015) 2020-02-07 09:03:20 +01:00
build.gradle Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00