-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
8.xRelates to a 8.x client versionRelates to a 8.x client versionArea: SpecificationCategory: Feature
Description
I am trying to create an ingest pipeline for attachments and there doesn't appear to be a way to set the remove_binary option. I would like to do something like:
var ingestPipelineResult = await client.Ingest.PutPipelineAsync("attachment", p =>
p.Processors(x =>
{
x.Attachment<Document>(a =>
{
a.Field(f => f.Data);
a.IndexedChars(-1);
a.RemoveBinary(true); // this is what I want; not a real thing
});
}));
I suppose I could re-put the document after removing the data property, but that seems like overkill when the functionality exists in Elasticsearch. I could also try my hand at creating a raw request using something like HttpTransportClient, but I haven't seen any examples of how this would work so it will take some trial and error.
lawrencek76
Metadata
Metadata
Assignees
Labels
8.xRelates to a 8.x client versionRelates to a 8.x client versionArea: SpecificationCategory: Feature