Rest Java Api - remove_binary option in Attachment processor

Hello,
Es version: 8.11.1

I'm trying to set the option remove_binary for the Attachment processor to true since the default one is false by using the RestApi java, but this field is missing in the AttachmentProcessor.Builder.

Maybe I'm missing something or it is not implemented yet ?
Is there any workaround except a curl request ?

Thanks in advance.

Welcome!

That's a missing part indeed.

I opened Missing `remove_binary` option in the AttachmentProcessor · Issue #727 · elastic/elasticsearch-java · GitHub to track this.

Thanks for the report!

As a workaround, I think you might need to fallback on using the LowLevel client instead... Just for creating the ingest pipeline of course.

Thanks for your feedback :slight_smile:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.