Guys
I'm stuck....
I'm trying to index some PDF's and PPT's in Elastic as follows
curl -H 'Content-Type: application/pdf' -XPUT https://????.eu-west-1.aws.found.io:9243/aggregator/doc/7?pipeline=attachment --data-binary @ixluokdn000991d90edmxwa1.pdf
and get the following response
{
"error": {
"root_cause": [
{
"type": "not_x_content_exception",
"reason": "Compressor detection can only be called on some xcontent bytes or compressed xcontent bytes"
}
],
"type": "not_x_content_exception",
"reason": "Compressor detection can only be called on some xcontent bytes or compressed xcontent bytes"
},
"status": 500
}
It works fine if the content is a base64 string....
I've tried reading the docs but for some reason I cannot see where I am going wrong
Thanks in advance
Darren