I was using mapper-attachments and index PDF documents using JAVA bulk load API. Now switching to Ingest-attachment. All I see from elasticsearch website is this example:
PUT my_index/my_type/my_id?pipeline=attachment
{
"data": "e1xydGYxXGFuc2kNCkxvcmVtIGlwc3VtIGRvbG9yIHNpdCBhbWV0DQpccGFyIH0="
}
I believe this should be done using the UpdateRequest(my-index, my-type, my-id) but not sure how to represent the portion (?pipeline=attachment) in this request?
Thanks,
Ada