:::tips 基本语法:
- 请求方式:PUT
 - 请求路径:/索引库名
 - 请求参数:mapping映射
:::
PUT /索引库名{"mappings": {"properties": {"字段名1":{"type": "text","analyzer": "ik_smart" //设置IK分词器},"字段名2":{"type": "keyword","index": "false" //设置不参与索引},"字段名3":{"properties": {"子字段": {"type": "keyword"}}}}}}
 
