# Primary Shard

**URL:** <https://discuss.elastic.co/t/primary-shard/5491>\
**Category:** Elasticsearch\
**Created:** [September 30, 2011, 7:05pm UTC](https://discuss.elastic.co/t/primary-shard/5491 "2011-09-30T19:05:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neil1](https://avatars.discourse-cdn.com/v4/letter/n/278dde/32.png) [@Neil1](https://discuss.elastic.co/u/Neil1)\
**Post date:** [September 30, 2011, 7:05pm UTC](https://discuss.elastic.co/t/primary-shard/5491/1 "2011-09-30T19:05:47Z")

</div>

Is there a way to define which node has a the primary shard for an  
index?

Thanks,

Neil

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [October 2, 2011, 1:00pm UTC](https://discuss.elastic.co/t/primary-shard/5491/2 "2011-10-02T13:00:19Z")

</div>

No, but, in upcoming 0.18, you can control which nodes an index will be  
allocated to (or not allowed to be allocated on).

On Fri, Sep 30, 2011 at 10:05 PM, Neil [neilmatthewlott@gmail.com](mailto:neilmatthewlott@gmail.com) wrote:

> Is there a way to define which node has a the primary shard for an  
> index?
> 
> Thanks,
> 
> Neil

---

<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, 3:53am UTC](https://discuss.elastic.co/t/primary-shard/5491/3 "2017-07-06T03:53:06Z")

</div>


