Sau*_*rab 1 bulkinsert elasticsearch
I am trying to index a json file size of 128MB.But due to some reason, I am not able to index it and it shows no error , nothing. But if I break the file to two files size 50mb and 60mb or any size less than 100mb, the file is indexed. Since it gives me no error, I have no idea why I cannot index the file
I am using this command
curl -H 'Content-Type: application/x-ndjson' -XPOST 'localhost:9200/novcart/sales/_bulk' --data-binary @novcart2.json
Run Code Online (Sandbox Code Playgroud)
默认情况下,ES 配置为处理最大 100MB 的有效负载。您需要更改的设置称为http.max_content_length。
您可以通过将其添加到elasticsearch.yml配置文件并重新启动 ES来增加此限制:
http.max_content_length: 150mb
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1949 次 |
| 最近记录: |