使用ElasticSearch在bulk导入json数据时,The bulk request must be terminated by a newline [\n]
问题重现输入命令curl-XPOST-H'Content-Type:application/json''xxxx:9200/bank/account/_bulk?pretty'-d"./acc.json"报了如下的错误:{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Thebulkrequestmustb