Elasticsearch - indexing too slow


Hello, I took back an application which works with elasticsearch v2.4.4. The indexation 2.8 of documents takes 9 hours. I would like to improve this ? Actually I have two nodes elasticsearch on two server with 1 shards and 1 replicas. My config elastic search https://pastebin.com/DrMQj2h5. Here is the code of the method indexing https://pastebin.com/YYpUGDrK. I begin on elasticsearch. Do you any idea ? My configuration is correct ?

(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.