# Does NRT and facet search work together?

**URL:** <https://discuss.elastic.co/t/does-nrt-and-facet-search-work-together/4535>\
**Category:** Elasticsearch\
**Created:** [June 2, 2011, 6:47pm UTC](https://discuss.elastic.co/t/does-nrt-and-facet-search-work-together/4535 "2011-06-02T18:47:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andy\_2](https://avatars.discourse-cdn.com/v4/letter/a/77aa72/32.png) [@Andy\_2](https://discuss.elastic.co/u/Andy_2)\
**Post date:** [June 2, 2011, 6:47pm UTC](https://discuss.elastic.co/t/does-nrt-and-facet-search-work-together/4535/1 "2011-06-02T18:47:20Z")

</div>

Hi,

Does NRT work well with facet search in ElasticSearch?

Does faceting in ElasticSearch rely on caching (which I believe is how  
faceting is implemented in Solr) for performance? If that's the case  
then wouldn't NRT reduce facet performance significantly because all  
the realtime updates are constantly invalidating the facet cache?

Any tips on making NRT and facet work well together?

Thanks.

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [June 2, 2011, 9:07pm UTC](https://discuss.elastic.co/t/does-nrt-and-facet-search-work-together/4535/2 "2011-06-02T21:07:30Z")

</div>

They work well together. Faceting work is based on FieldCache, and thats segment level caching, all facets are segment level.

On Thursday, June 2, 2011 at 9:47 PM, Andy wrote:

> Hi,
> 
> Does NRT work well with facet search in Elasticsearch?
> 
> Does faceting in Elasticsearch rely on caching (which I believe is how  
> faceting is implemented in Solr) for performance? If that's the case  
> then wouldn't NRT reduce facet performance significantly because all  
> the realtime updates are constantly invalidating the facet cache?
> 
> Any tips on making NRT and facet work well together?
> 
> Thanks.

---

<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, 4:04am UTC](https://discuss.elastic.co/t/does-nrt-and-facet-search-work-together/4535/3 "2017-07-06T04:04:47Z")

</div>

Closed on July 6, 2017, 4:04am UTC


