|
@@ -57,7 +57,7 @@ curl -XPUT http://127.0.0.1:9800/bidding_all -d '{
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- "number_of_shards": "13",
|
|
|
|
|
|
+ "number_of_shards": "1",
|
|
"number_of_replicas": "0"
|
|
"number_of_replicas": "0"
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -74,101 +74,6 @@ curl -XPUT http://127.0.0.1:9800/bidding_all -d '{
|
|
"enabled": false
|
|
"enabled": false
|
|
},
|
|
},
|
|
"properties": {
|
|
"properties": {
|
|
- "buyerzipcode": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "winnertel": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "winnerperson": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "contractcode": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "winneraddr": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "agencyaddr": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "buyeraddr": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "signaturedate": {
|
|
|
|
- "type": "long"
|
|
|
|
- },
|
|
|
|
- "projectperiod": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "projectaddr": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "agencytel": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "agencyperson": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "buyerperson": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "agency": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string",
|
|
|
|
- "fields": {
|
|
|
|
- "magency": {
|
|
|
|
- "analyzer": "my_ngram",
|
|
|
|
- "type": "string"
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- "projectcode": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "bidopentime": {
|
|
|
|
- "type": "long"
|
|
|
|
- },
|
|
|
|
- "supervisorrate": {
|
|
|
|
- "type": "double"
|
|
|
|
- },
|
|
|
|
- "buyertel": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "bidamount": {
|
|
|
|
- "type": "double"
|
|
|
|
- },
|
|
|
|
- "winner": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "buyer": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string",
|
|
|
|
- "fields": {
|
|
|
|
- "mbuyer": {
|
|
|
|
- "analyzer": "my_ngram_title",
|
|
|
|
- "type": "string"
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- "budget": {
|
|
|
|
- "type": "double"
|
|
|
|
- },
|
|
|
|
"projectname": {
|
|
"projectname": {
|
|
"index": "not_analyzed",
|
|
"index": "not_analyzed",
|
|
"type": "string",
|
|
"type": "string",
|
|
@@ -178,54 +83,28 @@ curl -XPUT http://127.0.0.1:9800/bidding_all -d '{
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- "buyerclass": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "area": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "city": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "district": {
|
|
|
|
|
|
+ "id": {
|
|
"index": "not_analyzed",
|
|
"index": "not_analyzed",
|
|
"type": "string"
|
|
"type": "string"
|
|
},
|
|
},
|
|
- "s_winner": {
|
|
|
|
- "analyzer": "douhao",
|
|
|
|
|
|
+ "title": {
|
|
|
|
+ "analyzer": "my_ngram_title",
|
|
"type": "string",
|
|
"type": "string",
|
|
"fields": {
|
|
"fields": {
|
|
- "mwinner": {
|
|
|
|
- "analyzer": "my_ngram_title",
|
|
|
|
|
|
+ "mtitle": {
|
|
|
|
+ "index": "not_analyzed",
|
|
"type": "string"
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- "id": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "title": {
|
|
|
|
- "analyzer": "my_ngram_title",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
"site": {
|
|
"site": {
|
|
"index": "not_analyzed",
|
|
"index": "not_analyzed",
|
|
"type": "string"
|
|
"type": "string"
|
|
},
|
|
},
|
|
- "comeintime": {
|
|
|
|
- "type": "long"
|
|
|
|
- },
|
|
|
|
"href": {
|
|
"href": {
|
|
"index": "not_analyzed",
|
|
"index": "not_analyzed",
|
|
"type": "string"
|
|
"type": "string"
|
|
},
|
|
},
|
|
- "infoformat": {
|
|
|
|
- "type": "integer"
|
|
|
|
- },
|
|
|
|
"publishtime": {
|
|
"publishtime": {
|
|
"type": "long"
|
|
"type": "long"
|
|
},
|
|
},
|
|
@@ -233,186 +112,8 @@ curl -XPUT http://127.0.0.1:9800/bidding_all -d '{
|
|
"index": "not_analyzed",
|
|
"index": "not_analyzed",
|
|
"type": "string"
|
|
"type": "string"
|
|
},
|
|
},
|
|
- "toptype": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "subtype": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "projectinfo": {
|
|
|
|
- "properties": {
|
|
|
|
- "approvecode": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "approvecontent": {
|
|
|
|
- "analyzer": "my_ngram",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "approvestatus": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "approvetime": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "approvedept": {
|
|
|
|
- "analyzer": "my_ngram",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "approvenumber": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "projecttype": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "approvecity": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- "purchasing": {
|
|
|
|
- "type": "string",
|
|
|
|
- "analyzer": "my_ngram"
|
|
|
|
- },
|
|
|
|
- "purchasinglist": {
|
|
|
|
- "properties": {
|
|
|
|
- "itemname": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "model": {
|
|
|
|
- "analyzer": "my_ngram",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "unitname": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "number": {
|
|
|
|
- "type": "double"
|
|
|
|
- },
|
|
|
|
- "brandname": {
|
|
|
|
- "analyzer": "my_ngram",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "unitprice": {
|
|
|
|
- "type": "double"
|
|
|
|
- },
|
|
|
|
- "totalprice": {
|
|
|
|
- "type": "double"
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- "s_topscopeclass": {
|
|
|
|
- "analyzer": "douhao",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "topscopeclass": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "s_subscopeclass": {
|
|
|
|
- "analyzer": "douhao",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "subscopeclass": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "winnerorder": {
|
|
|
|
- "properties": {
|
|
|
|
- "sort": {
|
|
|
|
- "type": "integer"
|
|
|
|
- },
|
|
|
|
- "sortstr": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "entname": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- "project_duration": {
|
|
|
|
- "type": "long"
|
|
|
|
- },
|
|
|
|
- "project_timeunit": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "project_startdate": {
|
|
|
|
- "type": "long"
|
|
|
|
- },
|
|
|
|
- "project_completedate": {
|
|
|
|
- "type": "long"
|
|
|
|
- },
|
|
|
|
- "payway": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "contract_guarantee": {
|
|
|
|
- "type": "boolean"
|
|
|
|
- },
|
|
|
|
- "bid_guarantee": {
|
|
|
|
- "type": "boolean"
|
|
|
|
- },
|
|
|
|
- "qualifies": {
|
|
|
|
- "analyzer": "my_ngram",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "entidlist": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "funds": {
|
|
|
|
- "analyzer": "my_ngram",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "review_experts": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "bidmethod": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "bidendtime": {
|
|
|
|
- "type": "long"
|
|
|
|
- },
|
|
|
|
- "bidopenaddress": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "docamount": {
|
|
|
|
- "type": "double"
|
|
|
|
- },
|
|
|
|
- "agencyrate": {
|
|
|
|
- "type": "double"
|
|
|
|
- },
|
|
|
|
- "agencyfee": {
|
|
|
|
- "type": "double"
|
|
|
|
- },
|
|
|
|
- "getdocmethod": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "bidway": {
|
|
|
|
- "index": "not_analyzed",
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
"extracttype": {
|
|
"extracttype": {
|
|
"type": "long"
|
|
"type": "long"
|
|
- },
|
|
|
|
- "yuceendtime": {
|
|
|
|
- "type": "long"
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|