# Returning more than \_id in percolated queries

**URL:** <https://discuss.elastic.co/t/returning-more-than--id-in-percolated-queries/27664>\
**Category:** Elasticsearch\
**Created:** [August 19, 2015, 10:35am UTC](https://discuss.elastic.co/t/returning-more-than--id-in-percolated-queries/27664 "2015-08-19T10:35:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Norberto\_Meijome](https://avatars.discourse-cdn.com/v4/letter/n/ed655f/32.png) [@Norberto\_Meijome](https://discuss.elastic.co/u/Norberto_Meijome)\
**Post date:** [August 19, 2015, 10:35am UTC](https://discuss.elastic.co/t/returning-more-than--id-in-percolated-queries/27664/1 "2015-08-19T10:35:27Z")

</div>

Hello everyone!  
I'd like to store some metadata in my percolator 'query documents', which  
would be returned alongside the \_id field when a matching document is  
percolated .

Is this possible, and if so, where can I find an example?

## thanks! b

Norberto 'Beto' Meijome

---

<div class="post-metadata">

**Author:** ![Norberto\_Meijome](https://avatars.discourse-cdn.com/v4/letter/n/ed655f/32.png) [@Norberto\_Meijome](https://discuss.elastic.co/u/Norberto_Meijome)\
**Post date:** [August 19, 2015, 1:09pm UTC](https://discuss.elastic.co/t/returning-more-than--id-in-percolated-queries/27664/2 "2015-08-19T13:09:27Z")

</div>

I can get the document back in a separate GET request to the index with my percolator, but I'm trying to get the information back without this extra query.

Is this possible?

cheers!  
B

---

<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 5, 2017, 11:55pm UTC](https://discuss.elastic.co/t/returning-more-than--id-in-percolated-queries/27664/3 "2017-07-05T23:55:00Z")

</div>


