Some default values in the ES generator scripts are not matching the default mapping parameter values in Elasticsearch.
The doc_values default is true. The ES generator is defaulting to use false when index is set to false in the schema and doc_values is undefined, around here. It should instead default to true, to match Elasticsearch behaviour.