# Using stored\_fields for retrieving a subset of the fields

**URL:** <https://discuss.elastic.co/t/using-stored-fields-for-retrieving-a-subset-of-the-fields/252619>\
**Category:** Elasticsearch\
**Created:** [October 19, 2020, 11:40pm UTC](https://discuss.elastic.co/t/using-stored-fields-for-retrieving-a-subset-of-the-fields/252619 "2020-10-19T23:40:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arjun\_Singri](https://avatars.discourse-cdn.com/v4/letter/a/ea666f/32.png) [@Arjun\_Singri](https://discuss.elastic.co/u/Arjun_Singri)\
**Post date:** [October 19, 2020, 11:40pm UTC](https://discuss.elastic.co/t/using-stored-fields-for-retrieving-a-subset-of-the-fields/252619/1 "2020-10-19T23:40:19Z")

</div>

The documentation and recommendation for using stored\_fields feature in ElasticSearch has been changing. In the latest version, stored\_fields is not recommended - [https://www.elastic.co/guide/en/elasticsearch/reference/7.9/search-fields.html](https://www.elastic.co/guide/en/elasticsearch/reference/7.9/search-fields.html)  
Is there a reason for this?

Where as in version 7.4.0, there is no such negative recommendation - [https://www.elastic.co/guide/en/elasticsearch/reference/7.4/mapping-store.html](https://www.elastic.co/guide/en/elasticsearch/reference/7.4/mapping-store.html)

What is the guidance in using this feature? Is using \_source filtering a better option? I ask because in some other doc, \_source filtering is supposed to kill performance - [https://www.elastic.co/blog/found-optimizing-elasticsearch-searches](https://www.elastic.co/blog/found-optimizing-elasticsearch-searches)

What is the best way to filter fields and not kill performance?

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [October 21, 2020, 8:26am UTC](https://discuss.elastic.co/t/using-stored-fields-for-retrieving-a-subset-of-the-fields/252619/2 "2020-10-21T08:26:15Z")

</div>

The documentation has only been updated for the most recent release (and also moved around), using source is recommended there as well. So is upgrading from 7.4 to 7.9 🙂

---

<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:** [November 18, 2020, 8:26am UTC](https://discuss.elastic.co/t/using-stored-fields-for-retrieving-a-subset-of-the-fields/252619/3 "2020-11-18T08:26:28Z")

</div>

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