Elasticsearch Java API for Index Templates

(Curtis Ruck) #1

Is there a Java API for creating Index Templates? I'm looking at how to create/check index templates to ensure they are correct.

I've always used default-mappings, and now that 2.0 has removed support for default-mappings, i'm having to find an alternative way of ensuring that index templates are present.

(Curtis Ruck) #2

Found what I was looking for under the admin().indices() API location.

(system) #3