Skip to content
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

[Backport 2.x] Remove query categorization from core #14762

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport d351c58 from #14759.

* Remove query categorization from core

Signed-off-by: Siddhant Deshmukh <[email protected]>

* Add changelog

Signed-off-by: Siddhant Deshmukh <[email protected]>

* Trigger Build

Signed-off-by: Siddhant Deshmukh <[email protected]>

---------

Signed-off-by: Siddhant Deshmukh <[email protected]>
(cherry picked from commit d351c58)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@reta
Copy link
Collaborator

reta commented Jul 16, 2024

@deshsidd @ansjcy these changes made it to 2.15.0 so technically we are breaking things (that apparently we have never documented). @andrross @dblock fyi folks

Copy link
Contributor

✅ Gradle check result for 942ba6d: SUCCESS

Copy link

codecov bot commented Jul 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.59%. Comparing base (697396b) to head (942ba6d).

Additional details and impacted files
@@             Coverage Diff              @@
##                2.x   #14762      +/-   ##
============================================
- Coverage     71.61%   71.59%   -0.03%     
- Complexity    62504    62509       +5     
============================================
  Files          5106     5101       -5     
  Lines        293554   293427     -127     
  Branches      42772    42762      -10     
============================================
- Hits         210228   210077     -151     
- Misses        65688    65729      +41     
+ Partials      17638    17621      -17     

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

@kotwanikunal
Copy link
Member

@deshsidd @ansjcy these changes made it to 2.15.0 so technically we are breaking things (that apparently we have never documented). @andrross @dblock fyi folks

Can we potentially treat it as a bug or miss for 2.15?

@deshsidd
Copy link
Contributor

@reta We are moving these changes to the query insights plugin and will backport those changes too to keep things consistent. We will be documenting this as part of the plugin documentation. Please let us know your thoughts. Hope we can review and approve this one.

@reta
Copy link
Collaborator

reta commented Jul 17, 2024

@reta We are moving these changes to the query insights plugin and will backport those changes too to keep things consistent. We will be documenting this as part of the plugin documentation. Please let us know your thoughts. Hope we can review and approve this one.

Sure, but the plugins follow some conventions for settings, fe: search.query.metrics.enabled would become plugins.query-insigths.search.query.metrics.enabled

@andrross any concerns? (custom-codecs flashback :-) )

@deshsidd
Copy link
Contributor

@reta Thanks for the approval. Please merge the PR as I don't have write permissions.

@deshsidd
Copy link
Contributor

@reta We are moving these changes to the query insights plugin and will backport those changes too to keep things consistent. We will be documenting this as part of the plugin documentation. Please let us know your thoughts. Hope we can review and approve this one.

Sure, but the plugins follow some conventions for settings, fe: search.query.metrics.enabled would become plugins.query-insigths.search.query.metrics.enabled

@andrross any concerns? (custom-codecs flashback :-) )

Understood. We are using the name search.query.metrics.enabled in our downstream services and logic since OS 2.13. Might have to make multiple changes if we make this counter name change.

@reta
Copy link
Collaborator

reta commented Jul 17, 2024

Understood. We are using the name search.query.metrics.enabled in our downstream services and logic since OS 2.13. Might have to make multiple changes if we make this counter name change.

Yes, we would need to deprecate this property in favour of plugins.* specific one (we have many examples of such migrations).

@deshsidd
Copy link
Contributor

Yes, we would need to deprecate this property in favour of plugins.* specific one (we have many examples of such migrations).

@reta Will do the rename as a followup PR which I will backport. Is it okay to merge this for now? Need it to make sure our builds pass for the plugin.

@mch2 mch2 merged commit ab0b4bf into 2.x Jul 17, 2024
53 of 54 checks passed
@andrross andrross deleted the backport/backport-14759-to-2.x branch July 23, 2024 22:45
kkewwei pushed a commit to kkewwei/OpenSearch that referenced this pull request Jul 24, 2024
…nsearch-project#14762)

* Remove query categorization from core

* Add changelog

* Trigger Build

---------

(cherry picked from commit d351c58)

Signed-off-by: Siddhant Deshmukh <[email protected]>
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>
Signed-off-by: kkewwei <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants