ElasticSearch version 5.0.1 changes


(raj shah) #1

I was previously using ElasticSearch v2.4.0.

When I use ElasticSearch v5.0.1 for the same number of records, the size of index increases by around 30-40%, when viewed in cat/indices.
Is there any specific upgrade in the latest version that may be causing this?

Thanks in advance.


(Mark Walkom) #2

Doc values are enabled by default, so it'll depend on your mappings.


(raj shah) #3

Hello @warkolm,

The doc values are enabled and the mappings are the same in both versions.
Still, the index size is greater in v5.0.1 by around 30-40%.

Any other reason that you might be aware of?


(Mark Walkom) #4

Is it the exact same dataset?


(raj shah) #5

Yes it is.


(Mark Walkom) #6

Do you have deleted docs? Have you tried a force merge?


(raj shah) #7

There are no deleted docs. The index is completely new.

And how will force merge be useful? I have only one index.


(system) #8

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