119 lines
2.1 KiB
Plaintext
119 lines
2.1 KiB
Plaintext
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"
|
|
}
|
|
}
|
|
}
|
|
} |