# Ability to retrieve matched portion in a given list

**URL:** <https://discuss.elastic.co/t/ability-to-retrieve-matched-portion-in-a-given-list/14344>\
**Category:** Elasticsearch\
**Created:** [November 11, 2013, 7:35am UTC](https://discuss.elastic.co/t/ability-to-retrieve-matched-portion-in-a-given-list/14344 "2013-11-11T07:35:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amit\_Soni](https://avatars.discourse-cdn.com/v4/letter/a/c0e974/32.png) [@Amit\_Soni](https://discuss.elastic.co/u/Amit_Soni)\
**Post date:** [November 11, 2013, 7:35am UTC](https://discuss.elastic.co/t/ability-to-retrieve-matched-portion-in-a-given-list/14344/1 "2013-11-11T07:35:01Z")

</div>

hi everyone - I am experimenting with a mapping wherein a field is of type  
list/array and it can contain hundreds of elements.

I am wondering if elastic search allows a mechanism using which only the  
matched portion of the list can be retrieved and not everything.

thoughts?

Thanks much in advance!

-Amit.

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [November 11, 2013, 6:25pm UTC](https://discuss.elastic.co/t/ability-to-retrieve-matched-portion-in-a-given-list/14344/2 "2013-11-11T18:25:03Z")

</div>

Highlighting does this. There is a bug with the Fvh not sorting list fields properly by score so stick to plain if you want that.

Sent from my iPhone

> On Nov 11, 2013, at 2:35 AM, Amit Soni [amitsoni29@gmail.com](mailto:amitsoni29@gmail.com) wrote:
> 
> hi everyone - I am experimenting with a mapping wherein a field is of type list/array and it can contain hundreds of elements.
> 
> I am wondering if Elasticsearch allows a mechanism using which only the matched portion of the list can be retrieved and not everything.
> 
> thoughts?
> 
> Thanks much in advance!
> 
> ## -Amit.
> 
> 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).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:07am UTC](https://discuss.elastic.co/t/ability-to-retrieve-matched-portion-in-a-given-list/14344/3 "2017-07-06T02:07:48Z")

</div>


