How to create index using elastic client

I am working on creating an index with required mapping. Currently, I am able to do with curl -X PUT command but I am exploring the use of creating index using the elastic client.

Please let me know.

Thanks,
Rajeev

Which client?

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