Authored by wangnan

修改分词器

... ... @@ -12,19 +12,19 @@
},
"name": {
"type": "string",
"analyzer": "ik_complex"
"analyzer": "ik_max_word_syno"
},
"english_name": {
"type": "string",
"analyzer": "ik_complex"
"analyzer": "ik_max_word_syno"
},
"name_tc": {
"type": "string",
"analyzer": "ik_complex"
"analyzer": "ik_max_word_syno"
},
"des": {
"type": "string",
"analyzer": "ik_complex"
"analyzer": "ik_max_word_syno"
},
"city_id": {
"type": "integer"
... ... @@ -49,7 +49,7 @@
},
"suggest" : {
"type" : "string",
"analyzer" : "ik_complex"
"analyzer" : "ik_max_word_syno"
}
}
}
... ...
... ... @@ -15,7 +15,7 @@
},
"description": {
"type": "string",
"analyzer": "ik_complex"
"analyzer": "ik_max_word_syno"
},
"user_auth": {
"type": "integer"
... ...
... ... @@ -12,11 +12,11 @@
},
"title": {
"type": "string",
"analyzer": "ik_complex"
"analyzer": "ik_max_word_syno"
},
"title_tc": {
"type": "string",
"analyzer": "ik_complex"
"analyzer": "ik_max_word_syno"
},
"is_top": {
"type": "integer"
... ... @@ -32,11 +32,11 @@
},
"description": {
"type": "string",
"analyzer": "ik_complex"
"analyzer": "ik_max_word_syno"
},
"description_tc": {
"type": "string",
"analyzer": "ik_complex"
"analyzer": "ik_max_word_syno"
},
"is_recommend": {
"type": "integer"
... ... @@ -49,7 +49,7 @@
},
"suggest": {
"type": "string",
"analyzer": "ik_complex"
"analyzer": "ik_max_word_syno"
}
}
}
... ...
... ... @@ -12,15 +12,15 @@
},
"store_name": {
"type": "string",
"analyzer": "ik_complex"
"analyzer": "ik_max_word_syno"
},
"store_english_name": {
"type": "string",
"analyzer": "ik_complex"
"analyzer": "ik_max_word_syno"
},
"store_name_tc": {
"type": "string",
"analyzer": "ik_complex"
"analyzer": "ik_max_word_syno"
},
"latitude": {
"type": "double"
... ... @@ -30,7 +30,7 @@
},
"tags": {
"type": "string",
"analyzer": "ik_complex"
"analyzer": "ik_max_word_syno"
},
"longitude": {
"type": "double"
... ... @@ -52,11 +52,11 @@
},
"store_first": {
"type": "string",
"analyzer": "ik_complex"
"analyzer": "ik_max_word_syno"
},
"des": {
"type": "string",
"analyzer": "ik_complex"
"analyzer": "ik_max_word_syno"
},
"is_recommend": {
"type": "integer"
... ... @@ -72,11 +72,11 @@
},
"suggest": {
"type": "string",
"analyzer": "ik_complex"
"analyzer": "ik_max_word_syno"
},
"address_full": {
"type": "string",
"analyzer": "ik_complex"
"analyzer": "ik_max_word_syno"
},
"pin" : {
"properties" : {
... ...
... ... @@ -12,11 +12,11 @@
},
"title": {
"type": "string",
"analyzer": "ik_complex"
"analyzer": "ik_max_word_syno"
},
"title_tc": {
"type": "string",
"analyzer": "ik_complex"
"analyzer": "ik_max_word_syno"
},
"city_id": {
"type": "integer"
... ... @@ -35,7 +35,7 @@
},
"description_tc": {
"type": "string",
"analyzer": "ik_complex"
"analyzer": "ik_max_word_syno"
},
"is_recommend": {
"type": "integer"
... ... @@ -48,7 +48,7 @@
},
"suggest" : {
"type" : "string",
"analyzer" : "ik_complex"
"analyzer" : "ik_max_word_syno"
}
}
}
... ...