# Looking for preference option not to restrict with primary or replica

**URL:** <https://discuss.elastic.co/t/looking-for-preference-option-not-to-restrict-with-primary-or-replica/65630>\
**Category:** Elasticsearch\
**Created:** [November 10, 2016, 10:21am UTC](https://discuss.elastic.co/t/looking-for-preference-option-not-to-restrict-with-primary-or-replica/65630 "2016-11-10T10:21:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![oo7\_manju](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/oo7_manju/32/12737_2.png) [@oo7\_manju](https://discuss.elastic.co/u/oo7_manju)\
**Post date:** [November 10, 2016, 10:21am UTC](https://discuss.elastic.co/t/looking-for-preference-option-not-to-restrict-with-primary-or-replica/65630/1 "2016-11-10T10:21:58Z")

</div>

Hi All,

We have production ES system which is search heavy and the data load happening only once in a day during off peak time.

I am looking for optimal performance during search.  
Got to know about default search preference from replica shards, which means we are not using the primary shards for search.

So I am finding for an option which doesn't restrict the search from replica or primary, where as both should be used?

---

<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:** [December 8, 2016, 10:22am UTC](https://discuss.elastic.co/t/looking-for-preference-option-not-to-restrict-with-primary-or-replica/65630/2 "2016-12-08T10:22:11Z")

</div>

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