I have a bunch of past monthly
indices that are read-only
since no data is being indexed to them. I was thinking of applying best_compression
on them and then invoke the _forcemerge
api to reduce the num_segments
to 1
.
I can close
those monthly indices --> apply best_compression
--> open
them again --> forcemerge
them.
Is this the correct approach? Or that best_compression cannot
be applied to existing indices?