# Remember some information in a kind of query context in native script filter

**URL:** <https://discuss.elastic.co/t/remember-some-information-in-a-kind-of-query-context-in-native-script-filter/22776>\
**Category:** Elasticsearch\
**Created:** [March 20, 2015, 11:39am UTC](https://discuss.elastic.co/t/remember-some-information-in-a-kind-of-query-context-in-native-script-filter/22776 "2015-03-20T11:39:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Loic\_Wenkin](https://avatars.discourse-cdn.com/v4/letter/l/4491bb/32.png) [@Loic\_Wenkin](https://discuss.elastic.co/u/Loic_Wenkin)\
**Post date:** [March 20, 2015, 11:39am UTC](https://discuss.elastic.co/t/remember-some-information-in-a-kind-of-query-context-in-native-script-filter/22776/1 "2015-03-20T11:39:35Z")

</div>

Hi all,

I searched multiple times around the Internet, but I cannot find out any  
valuable clue.

I would like to remember some data across multiple hits when I execute a  
filter (written in Java) over a result. Be care that I want this set of  
data to be forgotten when the search is finished. Is there any solution to  
do it?

Thanks for your replies.

Regards,  
Loïc

--  
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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/c5e9b9c0-1c9f-435c-bbd3-d89a698567b2%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/c5e9b9c0-1c9f-435c-bbd3-d89a698567b2%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 12:25am UTC](https://discuss.elastic.co/t/remember-some-information-in-a-kind-of-query-context-in-native-script-filter/22776/2 "2017-07-06T00:25:23Z")

</div>


