I've just realized that ES has a _/_template and a _/_index_template.
What are they for?
I was using code:
PutIndexTemplateRequest ngramTemplate = new PutIndexTemplateRequest("ngram-template")
.patterns(Arrays.asList("resourcetable-*", "termconcept-*"))
.settings(Settings.builder().put("index.max_ngram_diff", 50));
I didn't understand why my ngram-template didn't appear on _/_index_template.
After that, I was looking on _/_template.....
Which is the difference between them?