Elasticsearch upgrade from 1.7.1 to 2.3.2 then create index very slow

There is a similar issue reported here