# Just get back specific entries of an array?

**URL:** <https://discuss.elastic.co/t/just-get-back-specific-entries-of-an-array/17484>\
**Category:** Elasticsearch\
**Created:** [May 13, 2014, 2:11pm UTC](https://discuss.elastic.co/t/just-get-back-specific-entries-of-an-array/17484 "2014-05-13T14:11:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sentient6](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@Sentient6](https://discuss.elastic.co/u/Sentient6)\
**Post date:** [May 13, 2014, 2:11pm UTC](https://discuss.elastic.co/t/just-get-back-specific-entries-of-an-array/17484/1 "2014-05-13T14:11:06Z")

</div>

Hallo dear all,

I have trouble with arrays in ElasticSearch.

I want to index a document of this structure:

{"trial" :  
[  
{  
"title": "hallo",  
"id": "5678",  
"fulltext": "world"  
},

```
  {
"title": "test",
"id": "1234",
"fulltext": "test" 
  }
]

```

}

After a query on my index I want to get back the whole entry where fulltext is: "test". But I get the whole array back.  
Is there any possibility to get just a specific entry of the array?

---

<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:29am UTC](https://discuss.elastic.co/t/just-get-back-specific-entries-of-an-array/17484/2 "2017-07-06T01:29:46Z")

</div>


