Elasticsearch的mapping设置

1
2
3
4
5
6
7
8
9
10
11
12
13
14
PUT /my_index
{
"mappings": {
"my_type": {
"properties": {
"title": {
"type": "string",
"index": "analyzed",
"analyzer": "ik_smart"
}
}
}
}
}
Share