I want to execute an atomic update operation on a Elasticsearch (6.1) document where I want to remove all the document except for some keys (on the top level, not nested).
I know that for removing a specific key (something in the example) I can do as follows:
Thanks. That's an option. Since in my case the amount of keys there are in the document is much greater than the ones I want to keep, I did it this way:
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.