# Terms Lookup caching

**URL:** <https://discuss.elastic.co/t/terms-lookup-caching/156745>\
**Category:** Elasticsearch\
**Created:** [November 14, 2018, 9:49pm UTC](https://discuss.elastic.co/t/terms-lookup-caching/156745 "2018-11-14T21:49:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mikhail\_Khludnev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mikhail_khludnev/32/59591_2.png) [@Mikhail\_Khludnev](https://discuss.elastic.co/u/Mikhail_Khludnev)\
**Post date:** [November 14, 2018, 9:49pm UTC](https://discuss.elastic.co/t/terms-lookup-caching/156745/1 "2018-11-14T21:49:30Z")

</div>

Hello,  
I'm experimenting with Terms Lookup, expecting to find an option to cache the first heavy fetch phase, I can't find any way to cache. So, every time it pulls terms from lookup index making it really slow.  
What's is the shortest path to introduce caching for underneath `TermInSetQuery's` bitset?

---

<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:** [December 12, 2018, 9:49pm UTC](https://discuss.elastic.co/t/terms-lookup-caching/156745/2 "2018-12-12T21:49:34Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
