Is there any reason to not just go with the default of "index" : true for field mappings? There are some fields that I don't believe I will need to perform a search on so my thought is set index to false, but is there any benefit other than just being explicit about what I want searchable vs. not?
The benefit of setting index to false is that Elasticsearch will not have to build an inverted index for that field when you index documents. As a result, indexing documents is going to be slightly faster. Also, because there will be no inverted index for that field persisted on disk, you will use less disk space.
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.