Is it possible to find largest document(s) in elasticsearch?

Our elasticsearch performance seems to be seriously degraded, and i'm trying to figure out if it is caused by some of the documents that we are not structuring properly before adding to the index, and i have a feeling that we have some documents in high megabytes.

Is there a way to find or sort documents by size?

thank you all.

I don't think you ca do this today. It will be available in 2.0 as a plugin.

See: https://www.elastic.co/guide/en/elasticsearch/plugins/2.0/mapper-size.html

1 Like