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

Search Preference #779

Closed
macgngsta opened this issue Dec 19, 2013 · 2 comments
Closed

Search Preference #779

macgngsta opened this issue Dec 19, 2013 · 2 comments

Comments

@macgngsta
Copy link

Is there a way to set the search preference. this seems to solve issues regarding ordering and shards.

https://groups.google.com/forum/#!topic/elasticsearch/0OXJ32S_ohs

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-request-preference.html

@rashidkpc
Copy link
Contributor

There is currently no mechanism to specify this. For the sake of completeness of the ticket, can you elaborate on the problem and the desired outcome?

@macgngsta
Copy link
Author

this can be closed.

On every refresh, i was experiencing different facet counts, i googled around and some people mentioned that the count was off due to going to a different shard, so i thought that the solution would probably be to use the search preference, in order to make sure the correct counts return. i later found that it was more of an elastic search issue, where the amount of data i was consuming probably reached the threshold of RAM that i had allocated for ES, which then caused it to behave weirdly.

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

No branches or pull requests

3 participants
@rashidkpc @macgngsta and others