# Terms Filter lookup with realtime?

**URL:** <https://discuss.elastic.co/t/terms-filter-lookup-with-realtime/17946>\
**Category:** Elasticsearch\
**Created:** [June 6, 2014, 5:21am UTC](https://discuss.elastic.co/t/terms-filter-lookup-with-realtime/17946 "2014-06-06T05:21:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anahap](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anahap/32/1503_2.png) [@anahap](https://discuss.elastic.co/u/anahap)\
**Post date:** [June 6, 2014, 5:21am UTC](https://discuss.elastic.co/t/terms-filter-lookup-with-realtime/17946/1 "2014-06-06T05:21:36Z")

</div>

Hi All,

is it possible to use terms filter filter lookup mechanism,  
so that changes to the lookup document are used in realtime.

for example i want to filter "already seen documents" out and have  
a lookup document that contains already seen document ids which is updated  
as the tracking system reports (streaming)  
that the document was viewed by a certain user.

will i be able to use terms lookup for this or does terms lookup depend on  
the index refresh?

and is this a good idea performancewise?

THA  
-A

--  
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/8a436411-d7b5-4a24-bab3-296685e81d18%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/8a436411-d7b5-4a24-bab3-296685e81d18%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, 1:24am UTC](https://discuss.elastic.co/t/terms-filter-lookup-with-realtime/17946/2 "2017-07-06T01:24:16Z")

</div>


