Skip to content

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

Merged
mch2 merged 1 commit into
2.xfrom
backport/backport-14759-to-2.x
Jul 17, 2024
Merged

[Backport 2.x] Remove query categorization from core#14762
mch2 merged 1 commit into
2.xfrom
backport/backport-14759-to-2.x

Conversation

@opensearch-trigger-bot
Copy link
Copy Markdown
Contributor

Backport d351c58 from #14759.

* Remove query categorization from core

Signed-off-by: Siddhant Deshmukh <deshsid@amazon.com>

* Add changelog

Signed-off-by: Siddhant Deshmukh <deshsid@amazon.com>

* Trigger Build

Signed-off-by: Siddhant Deshmukh <deshsid@amazon.com>

---------

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

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

@github-actions
Copy link
Copy Markdown
Contributor

✅ Gradle check result for 942ba6d: SUCCESS

@codecov
Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

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
Copy Markdown
Contributor

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

@deshsidd
Copy link
Copy Markdown
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
Copy Markdown
Contributor

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
Copy Markdown
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
@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 <deshsid@amazon.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>
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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants