# Just Pushed: Search API: Allow for script fields to extract parts of the stored \`\_source\`

**URL:** <https://discuss.elastic.co/t/just-pushed-search-api-allow-for-script-fields-to-extract-parts-of-the-stored--source/3296>\
**Category:** Elasticsearch\
**Created:** [September 2, 2010, 6:31pm UTC](https://discuss.elastic.co/t/just-pushed-search-api-allow-for-script-fields-to-extract-parts-of-the-stored--source/3296 "2010-09-02T18:31:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [September 2, 2010, 6:31pm UTC](https://discuss.elastic.co/t/just-pushed-search-api-allow-for-script-fields-to-extract-parts-of-the-stored--source/3296/1 "2010-09-02T18:31:24Z")

</div>

You can now fetch parts of the source and return it when searching. More  
info here: [http://github.com/elasticsearch/elasticsearch/issues/issue/349](http://github.com/elasticsearch/elasticsearch/issues/issue/349).

-shay.banon

---

<div class="post-metadata">

**Author:** ![Lukas\_Vlcek1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas_vlcek1/32/819_2.png) [@Lukas\_Vlcek1](https://discuss.elastic.co/u/Lukas_Vlcek1)\
**Post date:** [September 3, 2010, 6:30am UTC](https://discuss.elastic.co/t/just-pushed-search-api-allow-for-script-fields-to-extract-parts-of-the-stored--source/3296/2 "2010-09-03T06:30:26Z")

</div>

Hi,

Can highlighting be applied on this data?

Rgds,  
Lukas

On Thu, Sep 2, 2010 at 8:31 PM, Shay Banon [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)wrote:

> You can now fetch parts of the source and return it when searching. More  
> info here: [Search API: Allow for script fields to extract parts of the stored \_`source` · Issue #349 · elastic/elasticsearch · GitHub](http://github.com/elasticsearch/elasticsearch/issues/issue/349).
> 
> -shay.banon

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [September 3, 2010, 8:26am UTC](https://discuss.elastic.co/t/just-pushed-search-api-allow-for-script-fields-to-extract-parts-of-the-stored--source/3296/3 "2010-09-03T08:26:38Z")

</div>

No, not yet. This only relates to the data returned for a "search hit".

On Fri, Sep 3, 2010 at 9:30 AM, Lukáš Vlček [lukas.vlcek@gmail.com](mailto:lukas.vlcek@gmail.com) wrote:

> Hi,
> 
> Can highlighting be applied on this data?
> 
> Rgds,  
> Lukas
> 
> On Thu, Sep 2, 2010 at 8:31 PM, Shay Banon [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)wrote:
> 
> > You can now fetch parts of the source and return it when searching. More  
> > info here: [Search API: Allow for script fields to extract parts of the stored \_`source` · Issue #349 · elastic/elasticsearch · GitHub](http://github.com/elasticsearch/elasticsearch/issues/issue/349)  
> > .
> > 
> > -shay.banon

---

<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, 4:19am UTC](https://discuss.elastic.co/t/just-pushed-search-api-allow-for-script-fields-to-extract-parts-of-the-stored--source/3296/4 "2017-07-06T04:19:46Z")

</div>


