[2] gets applied to all mappings, ever. [1] is for all indices, but the name of the file is the name of the type.
In any case, the new(er) index templates and dynamic templates are preferred.
On Friday, May 13, 2011 at 6:57 PM, Greg wrote:
Hi all
I have read through the documentation, but am slightly confused by the
topic of default mapping.Is there a difference between defining config/mappings/_default/
mapping.json as described here[1] and defining config/default-
mapping.json as described here[2]?Many thanks
Greg[1] Elasticsearch Platform — Find real-time answers at scale | Elastic
[2] Elasticsearch Platform — Find real-time answers at scale | Elastic