Apparently the optimize operation (called force-merge in Elasticsearch) can have unintended, harmful side effects: see the warning in https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-forcemerge.html#indices-forcemerge Thus we probably should avoid calling optimize by default in the mass indexer, and mention that only people who know what they are doing should use this. |