I have just migrated from elasticsearch 6.6 to 6.7.
I have created my index using the below guide.
But the create method is showing me as deprecated. But it is not shown as deprecated in the guide.
Which is the correct method to use?
Any help here.