How to query current mapping size?

Hey,

I run Elasticsearch 2.3.5.
Is there a way to get statistics on index mappings? size? memory?
Currently I have a mess in my mappings, and I am doing some cleanups.
I would like to see the impact of my changes.

Is there such way?

Thanks!

There's not, but it's an interesting idea.
I'd encourage you to raise a feature request on GH :slight_smile:

Size wise, you could compare the size of the index metadata your data directory before and after the change ($ES_HOME/data/nodes/{nodeId}/indices/{indexID}/_state) to see any differences. In terms of memory usage savings within ES for your mapping changes, that will be much harder to ascertain and there is no concrete way of getting that information as Mark mentioned.

Thanks!

@warkolm I will do that!