How to add multiple tags using script

Hi,

I have document with "tags" as one property which has list of values. For example

"tags": [ "red", "blue", "green"]

I want to add ["yellow", "black"] and remove ["blue"] tags in one update call in NEST.

And how do I ensure all tags in that list are unique.

Note: I'm using ElasticSearch 6.x

Thanks

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