station
B2B2C-SaaS 多元版 · station
供应商订单 mapping
PUT station
{ "settings": { "analysis": { "filter": { "mall4cloud_ngram_filter": { "type": "ngram", "min_gram": 1, "max_gram": 1 } }, "analyzer": { "mall4cloud_ngram_analyzer": { "type": "custom", "tokenizer": "standard", "filter": [ "lowercase", "mall4cloud_ngram_filter" ] } } } }, "mappings": { "properties": { "account": { "type": "text" }, "addr": { "type": "text", "analyzer": "ik_max_word", "search_analyzer": "ik_smart" }, "detailAddr": { "type": "keyword" }, "area": { "type": "text" }, "areaId": { "type": "long" }, "categoryIds": { "type": "long" }, "city": { "type": "text" }, "cityId": { "type": "long" }, "createTime": { "type": "long" }, "imgUrl": { "type": "keyword", "index": false, "doc_values": false }, "imgUrls": { "type": "keyword", "index": false, "doc_values": false }, "lat": { "type": "float" }, "lng": { "type": "float" }, "mobile": { "type": "text" }, "mobilePrefix": { "type": "text" }, "perPersonAmount": { "type": "double" }, "primaryCategoryId": { "type": "long" }, "primaryCategoryName": { "type": "text" }, "province": { "type": "text" }, "provinceId": { "type": "long" }, "sameCityDelivery": { "type": "integer" }, "sameCityVO": { "properties": { "chargeType": { "type": "long" }, "defaultDistance": { "type": "float" }, "deliveryFee": { "type": "long" }, "freeWeight": { "type": "float" }, "lat": { "type": "float" }, "lng": { "type": "float" }, "overDistance": { "type": "float" }, "overDistanceFee": { "type": "long" }, "overWeight": { "type": "float" }, "overWeightFee": { "type": "long" }, "positionInfo": { "type": "text", "fields": { "keyword": { "type": "keyword", "ignore_above": 256 } } }, "startFee": { "type": "long" }, "stationId": { "type": "long" }, "status": { "type": "long" } } }, "selfPickup": { "type": "integer" }, "shopId": { "type": "long" }, "stationId": { "type": "text" }, "stationLocation": { "type": "geo_point" }, "stationName": { "type": "text", "analyzer": "ik_max_word", "search_analyzer": "ik_smart", "fields": { "ngram": { "type": "text", "analyzer": "mall4cloud_ngram_analyzer" }, "keyword": { "type": "keyword" }, "wildcard": { "type": "wildcard" } } }, "stationScore": { "type": "double" }, "status": { "type": "integer" }, "stockMode": { "type": "integer" }, "street": { "type": "text" }, "streetId": { "type": "long" }, "timeInfo": { "type": "text", "fields": { "keyword": { "type": "keyword", "ignore_above": 256 } } }, "updateTime": { "type": "long" }, "customProd" : { "type" : "integer" }, "customMarking" : { "type" : "integer" }, "contactName" : { "type" : "keyword" } } }}