I am going to do force merge for one of index (4 primary shard and 0 replica). To reduce the IO impact, I'd like to merge into 4 segments for each shard. So I use following command,
After merge is done, we can see each shard is merged to 1 segment rather than 4. My Elasticsaech version is 6.5. Could you please let me know why is seems like max_num_segments=4 is not working ? Thanks much in advanced.
index shard size generation docs.count size.memory docs.deleted committed searchable compound
rms_pl_03-viewer-cdr-invite-2020040518 0 3.8gb 259 1921532 8179330 0 true true false
rms_pl_03-viewer-cdr-invite-2020040518 1 3.7gb 288 1864142 7988849 0 true true false
rms_pl_03-viewer-cdr-invite-2020040518 2 3.7gb 274 1854965 7968941 0 true true false
rms_pl_03-viewer-cdr-invite-2020040518 3 3.7gb 260 1859372 7967752 0 true true false