I'm trying to upgrade to ES 5 (5.1.2, latest as of today) and replacing the attachment-mapper plug-in (which has been deprecated) with ingest-attachment plug-in.
For starters I would assume that I have to register the plug-in within my integration test (as it was for mapper-attachments plug-in) - but I can't find ingest-attachment on the maven repository.
Any hints on how to go forward?
Then I'd go and create a pipeline with
The next step would be to create an
IndexRequest and set the ID of the pipeline before adding the request to my bulk processor (or executing it).
Is this the correct way to go or am I missing something?
Finally one more issue/question. I used a mapping that contained a
copy_to of the extracted content to other fields in order to process the content with different analyzers (but use the extraction with tika only once). This ain't possible anymore, because it is a
multiple field it said in the error log. How can I achieve the copy to my other fields without having to use the ingest-attachment pipeline for each field (as it would be very time consuming)?
Thanks in advance.