Yes, my fault, I made a mistake. I call the function in Process, that's the problem.

Now the bulk performance has been improved, and I'm going to use Rally to benchmark ElasticSearch, I think it will helpful to me.

Thanks a lot to give me advise to solve my problem. If I have other problems, maybe I will bother you again, so thanks again!