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

[Feature] Improve elasticsearch performance by using disable doc values #12741

Closed
2 of 3 tasks
wu-sheng opened this issue Nov 3, 2024 · 0 comments · Fixed by #12782
Closed
2 of 3 tasks

[Feature] Improve elasticsearch performance by using disable doc values #12741

wu-sheng opened this issue Nov 3, 2024 · 0 comments · Fixed by #12782
Assignees
Labels
backend OAP backend related. elastic/open-search Issues about ElasticSearch and OpenSearch storage impl. enhancement Enhancement on performance or codes feature New feature
Milestone

Comments

@wu-sheng
Copy link
Member

wu-sheng commented Nov 3, 2024

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

This topic was started by @hanahmily through #12507, which asked for no_sort in the index.
Within discussions, we noticed that elasticsearch also has a concept, called "doc_values": false

image

Use case

@ElasticSearch.DisableDocValues annotation could be considered.

Possible use cases

  1. Value column of metrics.
  2. Conditions of logs and traces(skywalking and zipkin) exclude latency and timestamp, which are used in sorting.
  3. All searchable field in metadata(*_traffic)

Additionally, I hope this change could make effects on new indices(auto generated), and keep compatible with previous created indices.

Related issues

No response

Are you willing to submit a pull request to implement this on your own?

  • Yes I am willing to submit a pull request on my own!

Code of Conduct

@wu-sheng wu-sheng added backend OAP backend related. feature New feature enhancement Enhancement on performance or codes elastic/open-search Issues about ElasticSearch and OpenSearch storage impl. labels Nov 3, 2024
@wu-sheng wu-sheng added this to the 10.2.0 milestone Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend OAP backend related. elastic/open-search Issues about ElasticSearch and OpenSearch storage impl. enhancement Enhancement on performance or codes feature New feature
Projects
None yet
2 participants