HI,
I am trying to add a new field while reindexing the data if a particular condition is satisfied.
Can anyone solve this problem.
Thanks and Regards,
Likhith
HI,
I am trying to add a new field while reindexing the data if a particular condition is satisfied.
Can anyone solve this problem.
Thanks and Regards,
Likhith
What have you tried so far? What is the problem you need help solving?
Hi Christian Dahlqvist
I sorted this out using script.
ctx._source.newfield = ctx._source.field1 + ctx._source.field2
Thanks you
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.