Spring + elastic 8.9.0 How to create index template

How to create index template give java example

Hi @Prasanth_Gutlapalli,

Welcome back! Are you using the Elasticsearch Java Client or spring-data-elasticsearch?

Hi, previous i used rest high level client now planning to Elasticsearch client

Thanks for confirming @Prasanth_Gutlapalli. I've not found an explicit example with the latest Java client, but I think having a look at the PutIndexTemplateRequest Javadoc is probably a good place to start.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.