Set processor in NEST

Hi,

I'm using ES 5.1.2 and NEST 5.x, I'm trying add an ingest pipeline similar to the example given below.

In my implementation I have a Base64DocumentContent field which has the base64 string. I want the extracted "attachment.content" to be copied to "Content" field.

I have the following NEST query

_elasticClient.PutPipeline(_documentAttachmentPipeline, p => p
				  .Description("Document attachment pipeline")
				  .Processors(pr => pr
					  .Attachment<T>(doc => doc
						  .Field(f => f.Base64DocumentContent))
					  .Set<T>(set => set
						  .Field(f => f.Content).Value("attachment.content"))));

Instead of setting the attachment.content value it is assigning the string "attachment.content". How do I set "attachment.content" extracted value to Content field.

Thanks

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