Introduced new setting search.query.max_query_string_heap_size#19493
Introduced new setting search.query.max_query_string_heap_size#19493nibix wants to merge 3 commits intoopensearch-project:mainfrom
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:
|
|
I wonder if we can apply a similar approach to the See: |
|
This PR is stalled because it has been open for 30 days with no activity. |
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.