Created
December 3, 2013 05:07
-
-
Save timhaines/7764139 to your computer and use it in GitHub Desktop.
Elastic Search Notes
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
## Useful Links | |
* Home Page - http://www.elasticsearch.org/ | |
* Git HomePage - more info, less marketing: https://github.com/elasticsearch/elasticsearch | |
* Glossary - http://www.elasticsearch.org/guide/reference/glossary/ | |
* Hands on Intro - Hammer Time - https://github.com/s1monw/hammertime | |
* Node client - https://github.com/phillro/node-elasticsearch-client | |
* Mongo River - to stream data in from Mongo - https://github.com/richardwilly98/elasticsearch-river-mongodb/ | |
* How to setup with Chef Solo - http://www.elasticsearch.org/tutorials/deploying-elasticsearch-with-chef-solo/ | |
* Elastic Search on EC2 - http://www.elasticsearch.org/tutorials/elasticsearch-on-ec2/ | |
## Notes | |
* An 'index' is similar to a collection in Mongo. It's the container that stores the data for one collection. | |
* Number of shards and replicas is set per index. | |
* Re Multi-tenancy, Clinton for ES core team recommends not using a index per tenant. http://elasticsearch-users.115913.n3.nabble.com/What-is-best-indexing-strategy-for-multitenant-data-td2904545.html | |
## Limitations | |
* Once number of shards is set, it can't be changed for an index. Instead a new index has to be created. See reindex with zero downtime: http://www.elasticsearch.org/blog/changing-mapping-with-zero-downtime |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment