Skip to content

Conversation

@kkewwei
Copy link
Contributor

@kkewwei kkewwei commented May 15, 2025

Description

Previously the default value was false, it had nothing to do with aggregation. Now default value is auto in case mode setting is not set, it is also decided by aggregationSupportsConcurrent, We should take aggregationSupportsConcurrent into account.

Related Issues

Resolves #18238

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

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.

@github-actions github-actions bot added >test-failure Test failure from CI, local build, etc. autocut flaky-test Random test failure that succeeds on second run Search Search query, autocomplete ...etc labels May 15, 2025
@github-actions
Copy link
Contributor

✅ Gradle check result for 32087cd: SUCCESS

@codecov
Copy link

codecov bot commented May 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.43%. Comparing base (ca3b005) to head (4e7323b).
Report is 3 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #18301      +/-   ##
============================================
- Coverage     72.51%   72.43%   -0.08%     
+ Complexity    67379    67330      -49     
============================================
  Files          5488     5488              
  Lines        311062   311062              
  Branches      45217    45217              
============================================
- Hits         225552   225319     -233     
- Misses        67132    67367     +235     
+ Partials      18378    18376       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

@jed326 jed326 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for raising this @kkewwei, really appreciate it. I left some minor suggestions with a more detailed explanation of how the concurrent search decision works.

@kkewwei
Copy link
Contributor Author

kkewwei commented May 15, 2025

@jed326 Test case without aggregation has been added, please review when you are free.

…dModeSettings

Signed-off-by: kkewwei <kewei.11@bytedance.com>
Signed-off-by: kkewwei <kkewwei@163.com>
@github-actions
Copy link
Contributor

✅ Gradle check result for 4e7323b: SUCCESS

Copy link
Contributor

@jed326 jed326 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a ton @kkewwei!

@jed326 jed326 merged commit 8a847f2 into opensearch-project:main May 15, 2025
30 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request May 15, 2025
…dModeSettings (#18301)

Signed-off-by: kkewwei <kewei.11@bytedance.com>
Signed-off-by: kkewwei <kkewwei@163.com>
(cherry picked from commit 8a847f2)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
jed326 pushed a commit that referenced this pull request May 15, 2025
…dModeSettings (#18301) (#18308)

(cherry picked from commit 8a847f2)

Signed-off-by: kkewwei <kewei.11@bytedance.com>
Signed-off-by: kkewwei <kkewwei@163.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@kkewwei kkewwei deleted the fix_18238 branch May 15, 2025 23:45
tanik98 pushed a commit to tanik98/OpenSearch that referenced this pull request May 27, 2025
…dModeSettings (opensearch-project#18301)

Signed-off-by: kkewwei <kewei.11@bytedance.com>
Signed-off-by: kkewwei <kkewwei@163.com>
tandonks pushed a commit to tandonks/OpenSearch that referenced this pull request Jun 1, 2025
…dModeSettings (opensearch-project#18301)

Signed-off-by: kkewwei <kewei.11@bytedance.com>
Signed-off-by: kkewwei <kkewwei@163.com>
neuenfeldttj pushed a commit to neuenfeldttj/OpenSearch that referenced this pull request Jun 26, 2025
…dModeSettings (opensearch-project#18301)

Signed-off-by: kkewwei <kewei.11@bytedance.com>
Signed-off-by: kkewwei <kkewwei@163.com>Signed-off-by: TJ Neuenfeldt <tjneu@amazon.com>
neuenfeldttj pushed a commit to neuenfeldttj/OpenSearch that referenced this pull request Jun 26, 2025
…dModeSettings (opensearch-project#18301)

Signed-off-by: kkewwei <kewei.11@bytedance.com>
Signed-off-by: kkewwei <kkewwei@163.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autocut backport 3.0 flaky-test Random test failure that succeeds on second run Search Search query, autocomplete ...etc skip-changelog >test-failure Test failure from CI, local build, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[AUTOCUT] Gradle Check Flaky Test Report for SearchServiceTests

3 participants