# Using one ES server for searching and another one for updating data

**URL:** <https://discuss.elastic.co/t/using-one-es-server-for-searching-and-another-one-for-updating-data/41703>\
**Category:** Elasticsearch\
**Created:** [February 13, 2016, 11:21pm UTC](https://discuss.elastic.co/t/using-one-es-server-for-searching-and-another-one-for-updating-data/41703 "2016-02-13T23:21:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![beowulfenator](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/beowulfenator/32/4905_2.png) [@beowulfenator](https://discuss.elastic.co/u/beowulfenator)\
**Post date:** [February 13, 2016, 11:21pm UTC](https://discuss.elastic.co/t/using-one-es-server-for-searching-and-another-one-for-updating-data/41703/1 "2016-02-13T23:21:13Z")

</div>

Hi!

I have a huge dataset with over 2 million documents and growing. I need to update these documents regularly, and the update is pretty heavy.

My cluster consists of two data nodes (let's call them A and B) and a number of non-data nodes that run on the same machine as their corresponding web servers. So requesting a web page from the web server results in a request to ES on localhost which then gets propagated to one of the data nodes. Every shard has one replica.

I am considering to dedicate data node A to updates and data node B to queries by non-data nodes. I imagine this would make queries run on slightly outdated data, but at least data node B would be free to process them.

Is it a good idea (or even possible)? If so, how can I instruct non-data node C to propagate its search requests to node B only?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 15, 2016, 4:12pm UTC](https://discuss.elastic.co/t/using-one-es-server-for-searching-and-another-one-for-updating-data/41703/2 "2016-02-15T16:12:33Z")

</div>

> [@beowulfenator](#):
>
> Is it a good idea (or even possible)?

It's possible but difficult so I wouldn't bother.

---

<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 5, 2017, 11:16pm UTC](https://discuss.elastic.co/t/using-one-es-server-for-searching-and-another-one-for-updating-data/41703/3 "2017-07-05T23:16:21Z")

</div>


