I am trying to aad 142 MB pdf file in Elasticsearch attachment using ingest.
Error details as below
FailureReason: BadResponse while attempting PUT on http://127.0.0.1:6379/index-stress-test-10oct2018-r1/document/b6091cc6-c2b7-40c3-9f26-7187223d3cfb?pipeline=attachments
Audit trail of this API call:
- [1] BadResponse: Node: http://127.0.0.1:6379/ Took: 00:00:01.4445106
OriginalException: Elasticsearch.Net.ElasticsearchClientException: Request failed to execute. Call: Status code 503 from: PUT /index-stress-test-10oct2018-r1/document/b6091cc6-c2b7-40c3-9f26-7187223d3cfb?pipeline=attachments. ServerError: Type: circuit_breaking_exception Reason: "[parent] Data too large, data for [<http_request>] would be [363305103/346.4mb], which is larger than the limit of [363285708/346.4mb]"
Request:
<Request stream not captured or already read to completion by serializer. Set DisableDirectStreaming() on ConnectionSettings to force it to be set on the response.>
Response:
<Response stream not captured or already read to completion by serializer. Set DisableDirectStreaming() on ConnectionSettings to force it to be set on the response.>
Exception:
Elasticsearch.Net.ElasticsearchClientException: Request failed to execute. Call: Status code 503 from: PUT /index-stress-test-10oct2018-r1/document/b6091cc6-c2b7-40c3-9f26-7187223d3cfb?pipeline=attachments. ServerError: Type: circuit_breaking_exception Reason: "[parent] Data too large, data for [<http_request>] would be [363305103/346.4mb], which is larger than the limit of [363285708/346.4mb]"
Could you please let me know fix for same.