# How to get just certain fields on query time?

**URL:** <https://discuss.elastic.co/t/how-to-get-just-certain-fields-on-query-time/17710>\
**Category:** Elasticsearch\
**Created:** [May 24, 2014, 6:54pm UTC](https://discuss.elastic.co/t/how-to-get-just-certain-fields-on-query-time/17710 "2014-05-24T18:54:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tom\_4](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tom_4/32/1045_2.png) [@Tom\_4](https://discuss.elastic.co/u/Tom_4)\
**Post date:** [May 24, 2014, 6:54pm UTC](https://discuss.elastic.co/t/how-to-get-just-certain-fields-on-query-time/17710/1 "2014-05-24T18:54:44Z")

</div>

Hi,

is there a way to get just parts of \_source on query time?

Thx  
Tom

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/7f9524bf-5899-4857-aa86-fce7f987fc38%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7f9524bf-5899-4857-aa86-fce7f987fc38%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![nik9000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik9000/32/44947_2.png) [@nik9000](https://discuss.elastic.co/u/nik9000)\
**Post date:** [May 24, 2014, 6:57pm UTC](https://discuss.elastic.co/t/how-to-get-just-certain-fields-on-query-time/17710/2 "2014-05-24T18:57:25Z")

</div>

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

On Sat, May 24, 2014 at 8:54 PM, Tom [t.oppelt@superreal.de](mailto:t.oppelt@superreal.de) wrote:

> Hi,
> 
> is there a way to get just parts of \_source on query time?
> 
> Thx  
> Tom
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/7f9524bf-5899-4857-aa86-fce7f987fc38%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7f9524bf-5899-4857-aa86-fce7f987fc38%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/7f9524bf-5899-4857-aa86-fce7f987fc38%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/7f9524bf-5899-4857-aa86-fce7f987fc38%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAPmjWd1V4HF4ebgyyQ8moKJFD7P7CCmiuQEN1Nv1ROkdSdNe%3Dw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPmjWd1V4HF4ebgyyQ8moKJFD7P7CCmiuQEN1Nv1ROkdSdNe%3Dw%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Clinton\_Gormley](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Clinton\_Gormley](https://discuss.elastic.co/u/Clinton_Gormley)\
**Post date:** [May 24, 2014, 6:57pm UTC](https://discuss.elastic.co/t/how-to-get-just-certain-fields-on-query-time/17710/3 "2014-05-24T18:57:43Z")

</div>

Yes, with source filtering:

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

On 24 May 2014 20:54, Tom [t.oppelt@superreal.de](mailto:t.oppelt@superreal.de) wrote:

> Hi,
> 
> is there a way to get just parts of \_source on query time?
> 
> Thx  
> Tom
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/7f9524bf-5899-4857-aa86-fce7f987fc38%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7f9524bf-5899-4857-aa86-fce7f987fc38%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/7f9524bf-5899-4857-aa86-fce7f987fc38%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/7f9524bf-5899-4857-aa86-fce7f987fc38%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAPt3XKT1%3D5zO\_QmogEfZ-R8PpcKBz3a2JJttRp8f1Xh4MUUSjA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPt3XKT1%3D5zO_QmogEfZ-R8PpcKBz3a2JJttRp8f1Xh4MUUSjA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Tom\_4](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tom_4/32/1045_2.png) [@Tom\_4](https://discuss.elastic.co/u/Tom_4)\
**Post date:** [May 24, 2014, 7:29pm UTC](https://discuss.elastic.co/t/how-to-get-just-certain-fields-on-query-time/17710/4 "2014-05-24T19:29:51Z")

</div>

Perfect, thx guys !!

Am Samstag, 24. Mai 2014 20:57:49 UTC+2 schrieb Nikolas Everett:

> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-request-source-filtering.html)
> 
> On Sat, May 24, 2014 at 8:54 PM, Tom \<[t.op...@superreal.de](mailto:t.op...@superreal.de) \<javascript:\>\>wrote:
> 
> > Hi,
> > 
> > is there a way to get just parts of \_source on query time?
> > 
> > Thx  
> > Tom
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/7f9524bf-5899-4857-aa86-fce7f987fc38%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7f9524bf-5899-4857-aa86-fce7f987fc38%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/7f9524bf-5899-4857-aa86-fce7f987fc38%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/7f9524bf-5899-4857-aa86-fce7f987fc38%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/83c8188a-e285-46ce-96ca-b83fc4becc55%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/83c8188a-e285-46ce-96ca-b83fc4becc55%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 1:27am UTC](https://discuss.elastic.co/t/how-to-get-just-certain-fields-on-query-time/17710/5 "2017-07-06T01:27:11Z")

</div>


