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
Allow the query cache to be disabled. #16268
Conversation
LGTM |
Is having a custom query cache really something we should be promoting? It seems like allowing to disable it is one thing, and should be done with a boolean. |
I enabled it the way it was already implemented but I agree we probably want to keep things more contained. |
c75fe10
to
83f2e08
Compare
Thanks @rjernst for the suggestion. I replaced the setting with a flag and removed the ability to configure custom query caches. |
This LGTM as is. I have 2 thoughts for the future:
|
I like the name better too so I will rename before merging. Thanks! |
This replaces the internal `index.queries.cache.type` setting with a new `index.queries.cache.enabled` setting, which is documented. Closes elastic#15802
83f2e08
to
0eb1a81
Compare
This feature already existed but was neither tested nor documented.
Closes #15802