added put_index_settings API
added index optimization in live-reindex