I indexed a base64 encoded content wih pipeline attachment;
curl -XGET 'http://localhost:9200/myindex2/my_type/my_id?pretty'
shows me the index like
"_source" : {
"data" : "e1xydGYxXGFuc2kNCkxvcmVtIGlwc3VtIGRvbG9yIHNpdCBhbWV0DQpccGFyIH0=",
"attachment" : { "content_type" : "application/rtf", "content" : "Lorem ipsum dolor sit amet" ..}
} ....
I tried to do search the content 'dolor' using below command but i did not get the result. Could you please give the command to search the content ?
curl -XGET 'http://localhost:9200/my_index2/_search?q=content:dolor'
Elastic search version i installed in 5.0.1