I have an index that is supposed to store a Json object. As a result of doing so my mapping somehow gets messed up. This is the mapping I created before indexing any documents:
I am fairly new to Elasticsearch and was wondering why it stores part of the content of my Json document in the mapping. It just looked off to me. Based on your answer I assume it stores the structure of the document in the mapping to make single fields searchable, not just the whole document. Then I never had a problem to begin with but simply misunderstood what was happening.
Out of curiosity: What would I have to do to just store the document without indexing?
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.