# Elastic search source extraction

**URL:** <https://discuss.elastic.co/t/elastic-search-source-extraction/113219>\
**Category:** Elasticsearch\
**Created:** [December 26, 2017, 2:18pm UTC](https://discuss.elastic.co/t/elastic-search-source-extraction/113219 "2017-12-26T14:18:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Deepak\_Mehta1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/deepak_mehta1/32/94163_2.png) [@Deepak\_Mehta1](https://discuss.elastic.co/u/Deepak_Mehta1)\
**Post date:** [December 26, 2017, 2:18pm UTC](https://discuss.elastic.co/t/elastic-search-source-extraction/113219/1 "2017-12-26T14:18:11Z")

</div>

We have query where we are excluding long text field "content" from query (including other 7-8 fields) but highlighting on "content" and "description" field ("content is excluded from source") . My question is how many time \_source field will be fetched

1. Only once
2. Twice as once for fetching other fields and one more time to fetch content for highlighting as content in excluded from source.
3. 3 times for fetching field, highlighting content and highlighting description.

To get more details on highlighting if someone can explain, How highlighting works internally?

---

<div class="post-metadata">

**Author:** ![Deepak\_Mehta1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/deepak_mehta1/32/94163_2.png) [@Deepak\_Mehta1](https://discuss.elastic.co/u/Deepak_Mehta1)\
**Post date:** [January 5, 2018, 11:49am UTC](https://discuss.elastic.co/t/elastic-search-source-extraction/113219/2 "2018-01-05T11:49:37Z")

</div>

Waiting for comments from experts.

---

<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:** [February 2, 2018, 11:49am UTC](https://discuss.elastic.co/t/elastic-search-source-extraction/113219/3 "2018-02-02T11:49:37Z")

</div>

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