Last active
August 29, 2015 14:08
-
-
Save mkurian/824256ce1eab366cad6f to your computer and use it in GitHub Desktop.
Tips and Tricks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Avoid split brain problem by setting minimum master nodes: | |
http://blog.trifork.com/2013/10/24/how-to-avoid-the-split-brain-problem-in-elasticsearch/ | |
discovery.zen.minimum_master_nodes: set it to N/2 +1 | |
discovery.zen.ping.timeout: change default if required to handle slow nodes | |
- Use boolean filters instead of and, or not, since they use bitsets | |
- Use filter over query for repeat searches, since filters are cached | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment