# Stored fields vs \_source filtering in case of large source to fetch only one field while querying

**URL:** <https://discuss.elastic.co/t/stored-fields-vs-source-filtering-in-case-of-large-source-to-fetch-only-one-field-while-querying/143304>\
**Category:** Elasticsearch\
**Created:** [August 7, 2018, 10:58am UTC](https://discuss.elastic.co/t/stored-fields-vs-source-filtering-in-case-of-large-source-to-fetch-only-one-field-while-querying/143304 "2018-08-07T10:58:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rashmi\_Ramanathan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi_ramanathan/32/58686_2.png) [@Rashmi\_Ramanathan](https://discuss.elastic.co/u/Rashmi_Ramanathan)\
**Post date:** [August 7, 2018, 10:58am UTC](https://discuss.elastic.co/t/stored-fields-vs-source-filtering-in-case-of-large-source-to-fetch-only-one-field-while-querying/143304/1 "2018-08-07T10:58:32Z")

</div>

To retrieve fields while querying, AFAIK, there are two ways to achieve in ES

1. stored\_fields
2. source filtering

I have an index with source enabled where it has few large documents also.  
While querying, I want to fetch **only one string field(non-indexed field which doesn't have more than 50 characters)**.  
Which one would be preferable to fetch the field in terms of performance **stored\_fields or source filtering?**

I am in ES 6.1

---

<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:** [September 4, 2018, 10:58am UTC](https://discuss.elastic.co/t/stored-fields-vs-source-filtering-in-case-of-large-source-to-fetch-only-one-field-while-querying/143304/2 "2018-09-04T10:58:34Z")

</div>

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