Yes, you got it right.
- Technically I asked ILM to do it, but AFAIK ILM does exactly what you describe.
- Yes, I am having trouble switching coded on shards that already have only one segment.
- Yes. But I would say that segment was still BEST_SPEED.
Yes, that is the reason why I opened this topic. I do not want to reindex again. Reindexing is what caused my problems, because I hit _source 50% bigger after reindex. Now I need to switch codecs to get that disk space back.
Yes, any shards that had more segments switched to the new codec.
I was hoping one of you would suggest a trick to force the forcemerge to run.
E.g. I thought about creating new segments by adding a couple of dummy documents and then deleting them. But I am afraid that forcemerge will be too clever and just delete the new segments.