# Multi-tenant Search

**URL:** <https://discuss.elastic.co/t/multi-tenant-search/16052>\
**Category:** Elasticsearch\
**Created:** [February 27, 2014, 2:14pm UTC](https://discuss.elastic.co/t/multi-tenant-search/16052 "2014-02-27T14:14:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![noor](https://avatars.discourse-cdn.com/v4/letter/n/c67d28/32.png) [@noor](https://discuss.elastic.co/u/noor)\
**Post date:** [February 27, 2014, 2:14pm UTC](https://discuss.elastic.co/t/multi-tenant-search/16052/1 "2014-02-27T14:14:26Z")

</div>

I have a multi-tenant application where in which each tenant has separate  
index specific to tenant. My question is that if I search something from  
\_all index how can I ensure in elasticsearch that it will search for  
relevant query from each index. Means, how can I give equal importance to  
each tenant's index in elasticsearch.

Thanks,

Noor.

--  
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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/84588d80-11c3-430c-a6f2-f916b466a3db%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/84588d80-11c3-430c-a6f2-f916b466a3db%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Sean\_Gallagher](https://avatars.discourse-cdn.com/v4/letter/s/f1d935/32.png) [@Sean\_Gallagher](https://discuss.elastic.co/u/Sean_Gallagher)\
**Post date:** [February 27, 2014, 9:55pm UTC](https://discuss.elastic.co/t/multi-tenant-search/16052/2 "2014-02-27T21:55:07Z")

</div>

Hi Noor,

In a multiple-index search, all indices are weighted equally for scoring  
purposes. You shouldn't see any difference in importance between any of  
your tenants' indices.

Thanks,  
Sean

On Thursday, February 27, 2014 9:14:26 AM UTC-5, Noor wrote:

> I have a multi-tenant application where in which each tenant has separate  
> index specific to tenant. My question is that if I search something from  
> \_all index how can I ensure in elasticsearch that it will search for  
> relevant query from each index. Means, how can I give equal importance to  
> each tenant's index in elasticsearch.
> 
> Thanks,
> 
> Noor.

--  
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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/cbc0169f-93a2-4943-b96e-418a478e17ae%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/cbc0169f-93a2-4943-b96e-418a478e17ae%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:46am UTC](https://discuss.elastic.co/t/multi-tenant-search/16052/3 "2017-07-06T01:46:48Z")

</div>

Closed on July 6, 2017, 1:46am UTC


