# How to separate data by node

**URL:** <https://discuss.elastic.co/t/how-to-separate-data-by-node/79843>\
**Category:** Elasticsearch\
**Created:** [March 24, 2017, 6:12am UTC](https://discuss.elastic.co/t/how-to-separate-data-by-node/79843 "2017-03-24T06:12:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sharon\_wsf](https://avatars.discourse-cdn.com/v4/letter/s/7993a0/32.png) [@Sharon\_wsf](https://discuss.elastic.co/u/Sharon_wsf)\
**Post date:** [March 24, 2017, 6:12am UTC](https://discuss.elastic.co/t/how-to-separate-data-by-node/79843/1 "2017-03-24T06:12:35Z")

</div>

Hi team,

I have one index but have different type. how to separate the type into different node.  
my data insert to elasticsearch 2.4 will be as below:

- /news/trkd/

- /news/ph/

- /news/nnr

How to separate this folder into different nodes?  
For example:  
/news/trkd/ to node 1,  
/news/ph/ to node 2.  
/news/nnr to node 3...

Thanks and Best regards  
Sharon

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [March 24, 2017, 6:41am UTC](https://discuss.elastic.co/t/how-to-separate-data-by-node/79843/2 "2017-03-24T06:41:29Z")

</div>

Types within an index are stored in the same physical files, so can not be split out. You would need to reindex the data and create separate indices in order to control distribution across nodes.

---

<div class="post-metadata">

**Author:** ![Sharon\_wsf](https://avatars.discourse-cdn.com/v4/letter/s/7993a0/32.png) [@Sharon\_wsf](https://discuss.elastic.co/u/Sharon_wsf)\
**Post date:** [March 24, 2017, 6:46am UTC](https://discuss.elastic.co/t/how-to-separate-data-by-node/79843/3 "2017-03-24T06:46:24Z")

</div>

Understand...Thanks

---

<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:** [April 21, 2017, 6:46am UTC](https://discuss.elastic.co/t/how-to-separate-data-by-node/79843/4 "2017-04-21T06:46:24Z")

</div>

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