Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Elastic Search Notes
## 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
You can’t perform that action at this time.