Hey,
You can do this a few ways. The way that we do it is to have
explicit mappings (dynamic=false) and store the _source json and
include it as part of that.
The other options are:
Have it in the mappings with index=no,store=no and store it via the
_source json
Have it in the mappings with index=no,store=yes. Then you do not
need to store the source json.
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.