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

Allow customisation of "preferences" for _msearch #15573

Closed
alepuccetti opened this issue Dec 13, 2017 · 3 comments · Fixed by #17271
Closed

Allow customisation of "preferences" for _msearch #15573

alepuccetti opened this issue Dec 13, 2017 · 3 comments · Fixed by #17271
Labels
enhancement New value added to drive a business result Feature:Dashboard Dashboard related features

Comments

@alepuccetti
Copy link

Describe the feature:

Kibana bundle all dashboard queries into a single _msearch. There are already few tickets about how to migrate to single searches or multiple smaller _msearch. (e.g. #14750).

However, it would be an improvement if it was possible to configure Kibana in a way that the user could specify if using preferences or leave it out of the requests. As explained in this comment elastic/elasticsearch#27775 (comment), preferences ensures that all search inside a dashboard use the same shards/replicas. So if you have an index with 1 shard and n replica Kibana will not exploit elasticsearch parallelism.

On a side note, I would be curious to know why this was designed like this in the first place.

@Bargs Bargs added the Feature:Dashboard Dashboard related features label Dec 13, 2017
@alepuccetti alepuccetti changed the title Stop using "preferences" when running _msearch Allow customisation of "preferences" for _msearch Jan 12, 2018
@stacey-gammon stacey-gammon added :Sharing enhancement New value added to drive a business result labels Mar 1, 2018
@alepuccetti
Copy link
Author

Any update on this?

@nreese
Copy link
Contributor

nreese commented Mar 21, 2018

there is a PR out for review if you want to mess around with the feature and provide feedback #17271

@alepuccetti
Copy link
Author

Awesome, I will give it a go and see what happen. Thank you @nreese

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Dashboard Dashboard related features
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants