1.创建索引
PUT test_index1{"settings": {"index": {"number_of_shards": "5","number_of_replicas": "1"}},"mappings": {"_doc": {"properties": {"name": {"type": "keyword"},"describe": {"type": "text"}}}}}
2.查看索引字段映射
GET test_index1/_mapping
3.添加字段(添加后不能删除)
PUT test_index1/_mapping/_doc{"properties": {"fullName": {"type": "keyword"}}}
4.删除索引
DELETE test_index1
