Retrieve mapping of an index using pyes library


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.


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
To view this discussion on the web visit
For more options, visit