Configure an index to always index documents using nested types

How can I configure an index such that all documents added to the index
which are not flat are always indexed as nested regardless of the depth of
the hierarchy.

I believe this is possible with dynamic templates using the default index
but I can't find any definitive answer as to how to do this.

Thanks,

Matthew

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/5a1fedfb-85c3-4ce3-8443-f7f5190f65a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.