# How is the idf calculated for an alias that maps to multiple indexes?

**URL:** <https://discuss.elastic.co/t/how-is-the-idf-calculated-for-an-alias-that-maps-to-multiple-indexes/20864>\
**Category:** Elasticsearch\
**Created:** [November 20, 2014, 10:37am UTC](https://discuss.elastic.co/t/how-is-the-idf-calculated-for-an-alias-that-maps-to-multiple-indexes/20864 "2014-11-20T10:37:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dantuff](https://avatars.discourse-cdn.com/v4/letter/d/e79b87/32.png) [@dantuff](https://discuss.elastic.co/u/dantuff)\
**Post date:** [November 20, 2014, 10:37am UTC](https://discuss.elastic.co/t/how-is-the-idf-calculated-for-an-alias-that-maps-to-multiple-indexes/20864/1 "2014-11-20T10:37:15Z")

</div>

If I have mapped an alias to more than one index and I execute a search  
using the alias name, will the idf be calculated for each individual index  
or will the idf calculation take into consideration all of the indexes that  
are mapped to the alias?

--  
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/a6553a0a-6c50-4215-8829-12903faccdd5%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/a6553a0a-6c50-4215-8829-12903faccdd5%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:48am UTC](https://discuss.elastic.co/t/how-is-the-idf-calculated-for-an-alias-that-maps-to-multiple-indexes/20864/2 "2017-07-06T00:48:44Z")

</div>

Closed on July 6, 2017, 12:48am UTC


