How to Update Mapping using Object Initializer Syntax

Can someone help me with how to achieve below query using NEST in object initializer syntax.

PUT /my-index-000001/_mapping
{
  "properties": {
    "email": {
      "type": "keyword"
    }
  }
}

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.