I encountered a strange problem with ES 6.2.4. I try to bulk insert data into my ES nodes, which run fine, but which is also slow (~10s per 1000 insert).
I run it on 4go of RAM, the CPU is used at ~24%, with 3 shards, and refresh deactivated.
If I do not specify a mapping and let ES dynamically finds it, I get only 1s to index the bulk of 1000 docs. Alright, my mapping is complex and lots of preprocesing.
Now what is strange is that if i retrieve the mapping dynamically provided by ES (through
GET /my-index/) and then use this exact same mapping on a new instance, I also have the bad perf (~10s per bulk) while it should be the same.
Any idea on that ? I feel like I am missing something here and it's kind of frustrating