# What influences the number of inverted indexes

**URL:** <https://discuss.elastic.co/t/what-influences-the-number-of-inverted-indexes/36897>\
**Category:** Elasticsearch\
**Created:** [December 10, 2015, 3:48pm UTC](https://discuss.elastic.co/t/what-influences-the-number-of-inverted-indexes/36897 "2015-12-10T15:48:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zoltan](https://avatars.discourse-cdn.com/v4/letter/z/ad7895/32.png) [@zoltan](https://discuss.elastic.co/u/zoltan)\
**Post date:** [December 10, 2015, 3:48pm UTC](https://discuss.elastic.co/t/what-influences-the-number-of-inverted-indexes/36897/1 "2015-12-10T15:48:30Z")

</div>

What influences the number of inverted indexes?  
Is it one per node or is it one per index or something else? Is it a good assumption that the less inverted indexes I have the better is?  
Couldn't google the answer so please help.

---

<div class="post-metadata">

**Author:** ![cbuescher](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cbuescher/32/60402_2.png) [@cbuescher](https://discuss.elastic.co/u/cbuescher)\
**Post date:** [December 11, 2015, 11:39am UTC](https://discuss.elastic.co/t/what-influences-the-number-of-inverted-indexes/36897/2 "2015-12-11T11:39:28Z")

</div>

Hi Zoltan,

as you noticed, the meaning of "index" is a bit overloaded in Elasticsearch. An Elasticsearch index is a logical unit that groups together related data. It consists of one or more "shards" which can be distributed across one or more "nodes" (basically running ES processes). Each shard itself is an individual [Lucene](https://lucene.apache.org/) index which can be conceptually be thought of as an inverted index, but in reality itself consists of many "segments"... So you see it's a bit like a nesting doll really.

Here's for example a [blog post](https://www.elastic.co/blog/found-elasticsearch-from-the-bottom-up) that presents this nesting from the bottom up. Having said that, having few inverted indices is generally not that important, under certain circumstances it might help, but typically you shouldn't worry about the number of inverted indices (meaning segments on the lucene level) since that is managed by Lucene internally.

This is

---

<div class="post-metadata">

**Author:** ![zoltan](https://avatars.discourse-cdn.com/v4/letter/z/ad7895/32.png) [@zoltan](https://discuss.elastic.co/u/zoltan)\
**Post date:** [December 11, 2015, 2:44pm UTC](https://discuss.elastic.co/t/what-influences-the-number-of-inverted-indexes/36897/3 "2015-12-11T14:44:48Z")

</div>

Thank you for the clarification, it was very helpful to me.

---

<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 5, 2017, 11:31pm UTC](https://discuss.elastic.co/t/what-influences-the-number-of-inverted-indexes/36897/4 "2017-07-05T23:31:46Z")

</div>


