Painless Scripting

Hi All,
I am new to elastic search and trying to use ingest pipeline for modifying documents.
I have a field in the document as JSON Array, I want to convert that into a string (Stringify JSON) and then save it into a new field.
Is it possible to do this using ingest pipeline and how ?

Welcome!

Is there any reason you can not do that from the application which generates the document instead of adding a pre-process?

Then to answer you question, could you share a typical document you have as an input and how you would like it to be after the pipeline execution?

1 Like

Thanks, for the reply. Yes, it's not possible to do it on our couchbase server.

I have used the conversion processor to convert the JSON Array in my document to a String.

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