Reputation: 3812
We have a large number of websites, and since this is our first time to use Elastic Search I don't know how should we configure ES to:
Upvotes: 9
Views: 4742
Reputation: 1847
I am new to ES, but i think you can get what you want with having one ES instance and setting up routing. http://www.elasticsearch.org/blog/customizing-your-document-routing/
Upvotes: 4
Reputation: 1507
You should setup one cluster for all websites. The biggest advantage of elasticsearch is that it scales pretty well so handling several requests from different clients shouldnt be a problem for your cluster if you scale it big enough. Each site should have an own index(an index is like a container that holds your documents). Elasticsearch allows to search over one or several indices. That means that you dont have the problem of searching all documents if you dont want too. Each site can search in its own index or if you want so over all indices.
Upvotes: 6