Retrieve mapping of an index using pyes library

Hello,

I need a quick help. I need to know how to get mapping of an index using
pyes library. I know a CURL command to achieve the same but I need an API.
Alternatively, if I can get some API to get index name for a given alias,
that would also do. I found get_alias(alias) but it is a deprecated in pyes
0.19 version. Please help me.

Thanks,
Nishidha

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/1bcc324a-968d-4623-b2c3-46fe1bc5274b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.