# Limit of total fields \[1000\], but there are not 1000 fields indexed

**URL:** <https://discuss.elastic.co/t/limit-of-total-fields-1000-but-there-are-not-1000-fields-indexed/227802>\
**Category:** Elasticsearch\
**Created:** [April 13, 2020, 4:38pm UTC](https://discuss.elastic.co/t/limit-of-total-fields-1000-but-there-are-not-1000-fields-indexed/227802 "2020-04-13T16:38:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![deepak643](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/deepak643/32/45940_2.png) [@deepak643](https://discuss.elastic.co/u/deepak643)\
**Post date:** [April 13, 2020, 4:38pm UTC](https://discuss.elastic.co/t/limit-of-total-fields-1000-but-there-are-not-1000-fields-indexed/227802/1 "2020-04-13T16:38:30Z")

</div>

Team,  
I am facing the issue with ES on the error "Limit of total fields [1000]". I have three different environments and have never faced such issue and its always same kind of data gets indexed. We spinned up new environment and this started causing the error mentioned above.

Even before hitting the limit of 1000, I am seeing the issue. I have a document which barely has 400 fields. How is ES calculating the 1000 fields?

Update:  
For everyone out there, if you are trying to figure "Is my index actually exceeding 1000 fields limit?"

Grab the whole mappings of index and find how many times "type" is repeated. In my "type" is found more than 1000 times. Hence gives me clarity why it gives that error.  
I have fetched the index settings and like said, barely 400 fields.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [April 13, 2020, 4:40pm UTC](https://discuss.elastic.co/t/limit-of-total-fields-1000-but-there-are-not-1000-fields-indexed/227802/2 "2020-04-13T16:40:26Z")

</div>

Which Elasticsearch version are you using? Are you using multi-fields?

---

<div class="post-metadata">

**Author:** ![deepak643](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/deepak643/32/45940_2.png) [@deepak643](https://discuss.elastic.co/u/deepak643)\
**Post date:** [April 13, 2020, 4:49pm UTC](https://discuss.elastic.co/t/limit-of-total-fields-1000-but-there-are-not-1000-fields-indexed/227802/3 "2020-04-13T16:49:21Z")

</div>

I am using ES v6.3. Not sure about multi-fields. I am understanding what multi-fields is. but there is no special settings though.

---

<div class="post-metadata">

**Author:** ![deepak643](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/deepak643/32/45940_2.png) [@deepak643](https://discuss.elastic.co/u/deepak643)\
**Post date:** [April 13, 2020, 5:15pm UTC](https://discuss.elastic.co/t/limit-of-total-fields-1000-but-there-are-not-1000-fields-indexed/227802/4 "2020-04-13T17:15:32Z")

</div>

Current index settings:

```auto
"settings": {
			"index": {
				"number_of_shards": "3",
				"provided_name": "xxx-index",
				"creation_date": "1580426176302",
				"analysis": {
					"normalizer": {
						"lowercase_normalizer": {
							"filter": ["lowercase"],
							"type": "custom"
						}
					}
				},
				"number_of_replicas": "1",
				"uuid": "H-rzcK9VTnWWlCzqV96Nog",
				"version": {
					"created": "6030199"
				}
			}
		}

```

---

<div class="post-metadata">

**Author:** ![deepak643](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/deepak643/32/45940_2.png) [@deepak643](https://discuss.elastic.co/u/deepak643)\
**Post date:** [April 13, 2020, 8:17pm UTC](https://discuss.elastic.co/t/limit-of-total-fields-1000-but-there-are-not-1000-fields-indexed/227802/5 "2020-04-13T20:17:19Z")

</div>

For everyone out there, if you are trying to figure "Is my index actually exceeding 1000 fields limit?"

Grab the whole mappings of index and find how many times "type" is repeated. In my "type" is found more than 1000 times. Hence gives me clarity why it gives that error.

I found the root cause. Now I am fine increasing the limit to 1000+.

---

<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:** [May 11, 2020, 8:17pm UTC](https://discuss.elastic.co/t/limit-of-total-fields-1000-but-there-are-not-1000-fields-indexed/227802/6 "2020-05-11T20:17:39Z")

</div>

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