This commit is contained in:
2025-10-14 13:25:54 +08:00
parent f5f09b6e90
commit 601302eaaa
9 changed files with 275 additions and 1 deletions

View File

@@ -0,0 +1,119 @@
PUT geo_document
{
"mappings": {
"properties": {
"id": {
"index": true,
"type": "long",
"store": true
},
"pid": {
"index": true,
"type": "long",
"store": true
},
"fullName": {
"type": "text",
"search_analyzer": "ik_smart",
"store": true
},
"level": {
"index": true,
"type": "integer"
},
"name": {
"type": "text"
},
"provinceId": {
"index": true,
"type": "long"
},
"cityId": {
"index": true,
"type": "long"
},
"districtId": {
"index": true,
"type": "long"
},
"streetId": {
"index": true,
"type": "long"
},
"province": {
"type": "text"
},
"city": {
"type": "text"
},
"district": {
"type": "text"
},
"street": {
"type": "text"
},
"isDomestic":{
"type": "boolean"
},
"regionCode":{
"type": "keyword"
},
"pinyin": {
"type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"store": true
},
"initials":{
"type": "keyword"
},
"point": {
"index": true,
"type": "geo_point",
"store": true
},
"kfc" :{
"type": "keyword"
},
"mcdonald" :{
"type": "keyword"
},
"pizzahut" :{
"type": "keyword"
},
"starbucks" :{
"type": "keyword"
},
"naixue" :{
"type": "keyword"
},
"lucky" :{
"type": "keyword"
},
"cotti" :{
"type": "keyword"
},
"movie" :{
"type": "keyword"
},
"mall" :{
"type": "keyword"
},
"hotel" :{
"type": "keyword"
},
"ticket" :{
"type": "keyword"
},
"tour" :{
"type": "keyword"
},
"sightSeeing" :{
"type": "keyword"
},
"audio" :{
"type": "keyword"
}
}
}
}