IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.

Get mapping

edit

The get mapping API allows you to retrieve mapping definitions of the index or a specific index/type.

var mapping = this.ConnectedClient.GetMapping<ElasticSearchProject>();