-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Introduced new setting search.query.max_query_string_heap_size #19493
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
❌ Gradle check result for a39b97b: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❌ Gradle check result for 626b486: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
626b486 to
027860e
Compare
|
❌ Gradle check result for 027860e: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Nils Bandener <nils.bandener@eliatra.com>
Signed-off-by: Nils Bandener <nils.bandener@eliatra.com>
Signed-off-by: Nils Bandener <nils.bandener@eliatra.com>
027860e to
7818306
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #19493 +/- ##
============================================
- Coverage 73.08% 73.06% -0.02%
- Complexity 70470 70484 +14
============================================
Files 5712 5712
Lines 322762 322788 +26
Branches 46743 46746 +3
============================================
- Hits 235877 235856 -21
- Misses 67912 67931 +19
- Partials 18973 19001 +28 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Description
This introduces a new cluster wide setting
search.query.max_query_string_heap_sizewhich can be used to limit the max heap utilization of instantiated Lucene-style query strings. This complements thesearch.query.max_query_string_lengthsetting.A couple of considerations:
RamUsageEstimatorwould also offer the possibility to use reflective methods to gain more precise figures for the object sizes. However, I am not sure if this might have performance impacts. Thus, I have not used this for now.Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.