I extended this concept to deal with cases where you have objects within an ES document as the putAll only seems to work when you have fields in an ES document and not when you have objects within an ES document that contain fields (properties) themselves.
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.