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

Add preference param to Query #443

Merged
merged 3 commits into from
Oct 6, 2016
Merged

Conversation

menglewis
Copy link
Contributor

This PR enables the preference option on Query which allows the user to control the preference for determining which shard replicas are used for a search request.

See: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-preference.html

@pyromaniac
Copy link
Contributor

Hey, awesome patch, thanks, but can you do like here as well: https://github.com/toptal/chewy/pull/417/files#diff-9640c36137c8265e53d4b946666de2c8R13

@pyromaniac pyromaniac merged commit 7522dc1 into toptal:master Oct 6, 2016
@pyromaniac
Copy link
Contributor

Thanks!

@menglewis menglewis deleted the preference-param branch October 14, 2016 20:57
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.

2 participants