Retrieve mapping definition of index or index/type.