I was wondering if there is a way to query the number of mapped fields within an existing Index! Is that possible? In general, I am asking because I want to know how to handle a situation where my Index is getting close to elastic limit which is 1000
.
Asked
Active
Viewed 63 times
0
-
This answer might help: https://stackoverflow.com/questions/40586020/get-the-number-of-fields-on-an-index – Adam T Aug 30 '18 at 15:53
-
Wow! thanks a lot Adam :) – Shuki Sep 02 '18 at 13:58
1 Answers
0
Use http://localhost:9200/twitter/_mapping and to get mapping information and later get the count of fields from properties or by counting how many times "type" is used.

Biplab
- 139
- 6