# Term facets on index name

**URL:** https://discuss.elastic.co/t/term-facets-on-index-name/3361
**Category:** Elasticsearch
**Created:** [September 23, 2010, 11:56am UTC](https://discuss.elastic.co/t/term-facets-on-index-name/3361 "2010-09-23T11:56:22Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Lukas\_Vlcek1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas_vlcek1/32/819_2.png) [@Lukas\_Vlcek1](https://discuss.elastic.co/u/Lukas_Vlcek1)
#### Post date: [September 23, 2010, 11:56am UTC](https://discuss.elastic.co/t/term-facets-on-index-name/3361/1 "2010-09-23T11:56:22Z")

</div>

Hi,

I found there are two different tickets for the same functionality. I am  
confused, can anybody tell me the difference between these two?

> <https://github.com/elastic/elasticsearch/issues/292>

  

> <https://github.com/elastic/elasticsearch/issues/374>

I have been personally using the first one (and I also requested it :-)) but  
I am a bit confused about the second one.  
Is it that the first one made "\_index" name value in Lucene index optional  
while the second one default?

Regards,  
Lukas

---

<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: [September 23, 2010, 3:40pm UTC](https://discuss.elastic.co/t/term-facets-on-index-name/3361/2 "2010-09-23T15:40:54Z")

</div>

The second one allows to do term facets on the index name without needing to  
store it in a document.

On Thu, Sep 23, 2010 at 1:56 PM, Lukáš Vlček [lukas.vlcek@gmail.com](mailto:lukas.vlcek@gmail.com) wrote:

> Hi,
> 
> I found there are two different tickets for the same functionality. I am  
> confused, can anybody tell me the difference between these two?  
> [Add the ability to store the index name in the doc · Issue #292 · elastic/elasticsearch · GitHub](http://github.com/elasticsearch/elasticsearch/issues/issue/292)  
> [Terms Facet: Allow to provide `_index` as the field, resulting in facets on indices · Issue #374 · elastic/elasticsearch · GitHub](http://github.com/elasticsearch/elasticsearch/issues/issue/374)
> 
> I have been personally using the first one (and I also requested it :-))  
> but I am a bit confused about the second one.  
> Is it that the first one made "\_index" name value in Lucene index optional  
> while the second one default?
> 
> Regards,  
> Lukas

---

<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:19am UTC](https://discuss.elastic.co/t/term-facets-on-index-name/3361/3 "2017-07-06T04:19:01Z")

</div>


