init
This commit is contained in:
119
doc/es/document/geo_document
Normal file
119
doc/es/document/geo_document
Normal 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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user