[Feature] Improve elasticsearch performance by using disable doc values #12741
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
Search before asking
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
Use case
@ElasticSearch.DisableDocValues
annotation could be considered.Possible use cases
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?
Code of Conduct
The text was updated successfully, but these errors were encountered: