Ingest Pipeline using NEST in .net

I'm trying to use ingest pipeline using NEST library but not sure how should i specify the pipeline. I can insert the document successfully using console with following.
POST /mydocuments/document/3?pipeline=attachment { "content": "e1xydGYxXGFuc2kNCkxvcmVtIGlwc3VtIGRvbG9yIHNpdCBhbWV0DQpccGFyIH0=" }

Looking forward for some help.

Thanks,
Himal

Never mind! I figured it out. IndexRequest has an option to set the Pipeline.

        IndexRequest<Document> doc = new IndexRequest<Document>(newBlogPost);
		doc.Pipeline = "attachment";

Thanks,
Himal

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