Geo-locating can help with performance (having the UK branch use a UK datacenter and a US branch a NA datacenter) and this most easily achieved by separating clusters. You can use a Tribe node to work on multiple clusters if it ever comes to it/
Other than that your question really depends on the amounts of data and types of queries you make. It does sound like the docs are completely unrelated so different indexes (and even clusters) does make sense. -- Itamar Syn-Hershko http://code972.com | @synhershko <https://twitter.com/synhershko> Freelance Developer & Consultant Author of RavenDB in Action <http://manning.com/synhershko/> On Tue, Apr 8, 2014 at 12:58 PM, Marcio Rodrigues <[email protected]>wrote: > Still new to ES, so I was wondering what would be the best approach. > > Say you have for example a company with different branhes throughout the > country and their documents will be stored centrally, but need to be > searched sepperately. > > Would it be better to create one index for all documents and use filters > on the queries or better to make a sepperate index for each branch? > > By better I mean most efficient in terms of performance a resource usage. > > -- > You received this message because you are subscribed to the Google Groups > "elasticsearch" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/bf5107ce-4803-4fa1-89fe-a20cf678bb00%40googlegroups.com<https://groups.google.com/d/msgid/elasticsearch/bf5107ce-4803-4fa1-89fe-a20cf678bb00%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAHTr4ZvZ4ejSgRPdQz4vN5GZ6jzviu60Ke6Z7%2B7fcfw5mPXkcQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
