Force merge index elasticsearch

Reduce segment count; useful before making index read-only

curl -X POST 'http://localhost:9200/<index>/_forcemerge?max_num_segments=1'
more elasticsearch all 19 commands →