# Single Engine for multiple sites?

**URL:** https://discuss.elastic.co/t/single-engine-for-multiple-sites/271113
**Category:** Elastic Search
**Tags:** elastic-site-search
**Created:** [April 23, 2021, 4:31pm UTC](https://discuss.elastic.co/t/single-engine-for-multiple-sites/271113 "2021-04-23T16:31:01Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![elasticuser7](https://avatars.discourse-cdn.com/v4/letter/e/ebca7d/32.png) [@elasticuser7](https://discuss.elastic.co/u/elasticuser7)
#### Post date: [April 23, 2021, 4:31pm UTC](https://discuss.elastic.co/t/single-engine-for-multiple-sites/271113/1 "2021-04-23T16:31:01Z")

</div>

Are there any recommendations or guidelines for using a single engine vs multiple engines when search has to be implemented for multiple sites? Does it depend on the amount of data or other factors like the amount of types?

If the document types are the same across the sites is it better to just go with a single engine irrespective of the number of records / documents?

---

<div class="post-metadata">

### Author: ![qhoxie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/qhoxie/32/47252_2.png) [@qhoxie](https://discuss.elastic.co/u/qhoxie)
#### Post date: [April 23, 2021, 8:58pm UTC](https://discuss.elastic.co/t/single-engine-for-multiple-sites/271113/2 "2021-04-23T20:58:10Z")

</div>

Hello —

If you want a single search to span multiple sites, using one engine is best. If you only search the content from the site you're on, then I recommend separating them into their own engines.

---

<div class="post-metadata">

### Author: ![elasticuser7](https://avatars.discourse-cdn.com/v4/letter/e/ebca7d/32.png) [@elasticuser7](https://discuss.elastic.co/u/elasticuser7)
#### Post date: [April 24, 2021, 3:38am UTC](https://discuss.elastic.co/t/single-engine-for-multiple-sites/271113/3 "2021-04-24T03:38:28Z")

</div>

Thank you Quin for the reply.

For the first scenario of the same search spanning multiple sites, is there any point at which a single engine starts being less optimal than multiple smaller engines? For e.g., beyond a certain no. of documents or records?

---

<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: [May 22, 2021, 3:38am UTC](https://discuss.elastic.co/t/single-engine-for-multiple-sites/271113/4 "2021-05-22T03:38:39Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
