|
@@ -0,0 +1,603 @@
|
|
|
|
+curl -H 'Content-Type: application/json' -u jybid:Top2023_JEB01i@31 -XPUT http://127.0.0.1:19908/bidding_yg_v1 -d '{
|
|
|
|
+ "settings": {
|
|
|
|
+ "index": {
|
|
|
|
+ "analysis": {
|
|
|
|
+ "analyzer": {
|
|
|
|
+ "my_ngram_title": {
|
|
|
|
+ "filter": [
|
|
|
|
+ "lowercase"
|
|
|
|
+ ],
|
|
|
|
+ "tokenizer": "my_ngram_title"
|
|
|
|
+ },
|
|
|
|
+ "douhao": {
|
|
|
|
+ "type": "pattern",
|
|
|
|
+ "pattern": ","
|
|
|
|
+ },
|
|
|
|
+ "my_ngram": {
|
|
|
|
+ "filter": [
|
|
|
|
+ "lowercase"
|
|
|
|
+ ],
|
|
|
|
+ "tokenizer": "my_ngram"
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "tokenizer": {
|
|
|
|
+ "my_ngram_title": {
|
|
|
|
+ "token_chars": [
|
|
|
|
+ "letter",
|
|
|
|
+ "digit",
|
|
|
|
+ "punctuation",
|
|
|
|
+ "symbol"
|
|
|
|
+ ],
|
|
|
|
+ "min_gram": "1",
|
|
|
|
+ "type": "nGram",
|
|
|
|
+ "max_gram": "1"
|
|
|
|
+ },
|
|
|
|
+ "my_ngram": {
|
|
|
|
+ "token_chars": [
|
|
|
|
+ "letter",
|
|
|
|
+ "digit",
|
|
|
|
+ "punctuation",
|
|
|
|
+ "symbol"
|
|
|
|
+ ],
|
|
|
|
+ "min_gram": "2",
|
|
|
|
+ "type": "nGram",
|
|
|
|
+ "max_gram": "2"
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "number_of_shards": "9",
|
|
|
|
+ "number_of_replicas": "0",
|
|
|
|
+ "max_result_window": "20000"
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "mappings": {
|
|
|
|
+
|
|
|
|
+ "dynamic":false,
|
|
|
|
+ "properties": {
|
|
|
|
+ "buyerzipcode": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "winnertel": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "winnerperson": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "contractcode": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "winneraddr": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "agencyaddr": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "buyeraddr": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "buyer_type": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "signaturedate": {
|
|
|
|
+ "type": "long"
|
|
|
|
+ },
|
|
|
|
+ "is_yg_new": {
|
|
|
|
+ "type": "long"
|
|
|
|
+ },
|
|
|
|
+ "expiredate": {
|
|
|
|
+ "type": "long"
|
|
|
|
+ },
|
|
|
|
+ "tag_topinformation": {
|
|
|
|
+ "analyzer": "douhao",
|
|
|
|
+ "type": "text"
|
|
|
|
+ },
|
|
|
|
+ "tag_topinformation_zp": {
|
|
|
|
+ "analyzer": "douhao",
|
|
|
|
+ "type": "text"
|
|
|
|
+ },
|
|
|
|
+ "tag_subinformation": {
|
|
|
|
+ "analyzer": "douhao",
|
|
|
|
+ "fielddata": true,
|
|
|
|
+ "type": "text"
|
|
|
|
+ },
|
|
|
|
+ "tag_topinformation_ai": {
|
|
|
|
+ "analyzer": "douhao",
|
|
|
|
+ "type": "text"
|
|
|
|
+ },
|
|
|
|
+ "tag_subinformation_ai": {
|
|
|
|
+ "analyzer": "douhao",
|
|
|
|
+ "fielddata": true,
|
|
|
|
+ "type": "text"
|
|
|
|
+ },
|
|
|
|
+ "tag_set": {
|
|
|
|
+ "properties": {
|
|
|
|
+ "wuye": {
|
|
|
|
+ "properties":{
|
|
|
|
+ "scale": {
|
|
|
|
+ "type": "long"
|
|
|
|
+ },
|
|
|
|
+ "period": {
|
|
|
|
+ "type": "long"
|
|
|
|
+ },
|
|
|
|
+ "property_form": {
|
|
|
|
+ "type": "text",
|
|
|
|
+ "analyzer": "douhao"
|
|
|
|
+ },
|
|
|
|
+ "changehand": {
|
|
|
|
+ "type": "float"
|
|
|
|
+ },
|
|
|
|
+ "changehandindex": {
|
|
|
|
+ "type": "long"
|
|
|
|
+ },
|
|
|
|
+ "isfirsthand": {
|
|
|
|
+ "type": "long"
|
|
|
|
+ },
|
|
|
|
+ "owner_type": {
|
|
|
|
+ "type": "integer"
|
|
|
|
+ },
|
|
|
|
+ "isfile": {
|
|
|
|
+ "type": "long"
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "contractperiod": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "projectperiod": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "projectaddr": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "agencytel": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "agencyperson": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "domain_firsttype":{
|
|
|
|
+ "type":"keyword"
|
|
|
|
+ },
|
|
|
|
+ "domain_secondtype":{
|
|
|
|
+ "type":"keyword"
|
|
|
|
+ },
|
|
|
|
+ "domain_thirdtype":{
|
|
|
|
+ "type":"keyword"
|
|
|
|
+ },
|
|
|
|
+ "source_id":{
|
|
|
|
+ "type":"keyword"
|
|
|
|
+ },
|
|
|
|
+ "deliver_area":{
|
|
|
|
+ "type":"keyword"
|
|
|
|
+ },
|
|
|
|
+ "deliver_city":{
|
|
|
|
+ "type":"keyword"
|
|
|
|
+ },
|
|
|
|
+ "deliver_district":{
|
|
|
|
+ "type":"keyword"
|
|
|
|
+ },
|
|
|
|
+ "public_type":{
|
|
|
|
+ "type":"keyword"
|
|
|
|
+ },
|
|
|
|
+ "buyerperson": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "isValidFile": {
|
|
|
|
+ "type": "boolean"
|
|
|
|
+ },
|
|
|
|
+ "dataweight": {
|
|
|
|
+ "type": "long"
|
|
|
|
+ },
|
|
|
|
+ "agency": {
|
|
|
|
+ "type": "keyword",
|
|
|
|
+ "fields": {
|
|
|
|
+ "magency": {
|
|
|
|
+ "analyzer": "my_ngram",
|
|
|
|
+ "type": "text"
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "projectscope": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "projectcode": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "bidopentime": {
|
|
|
|
+ "type": "long"
|
|
|
|
+ },
|
|
|
|
+ "supervisorrate": {
|
|
|
|
+ "type": "double"
|
|
|
|
+ },
|
|
|
|
+ "buyertel": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "bidamount": {
|
|
|
|
+ "type": "double"
|
|
|
|
+ },
|
|
|
|
+ "winner": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "buyer": {
|
|
|
|
+ "type": "keyword",
|
|
|
|
+ "fields": {
|
|
|
|
+ "mbuyer": {
|
|
|
|
+ "analyzer": "my_ngram_title",
|
|
|
|
+ "type": "text"
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "budget": {
|
|
|
|
+ "type": "double"
|
|
|
|
+ },
|
|
|
|
+ "projectname": {
|
|
|
|
+ "type": "keyword",
|
|
|
|
+ "fields": {
|
|
|
|
+ "pname": {
|
|
|
|
+ "analyzer": "my_ngram_title",
|
|
|
|
+ "type": "text"
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "bidstatus": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "buyerclass": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "topscopeclass": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "mobile_tag": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "s_subscopeclass": {
|
|
|
|
+ "analyzer": "douhao",
|
|
|
|
+ "type": "text"
|
|
|
|
+ },
|
|
|
|
+ "area": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "city": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "district": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "s_winner": {
|
|
|
|
+ "analyzer": "douhao",
|
|
|
|
+ "type": "text",
|
|
|
|
+ "fields": {
|
|
|
|
+ "mwinner": {
|
|
|
|
+ "analyzer": "my_ngram_title",
|
|
|
|
+ "type": "text"
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "s_sha": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "pici": {
|
|
|
|
+ "type": "long"
|
|
|
|
+ },
|
|
|
|
+ "id": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "package": {
|
|
|
|
+ "properties": {
|
|
|
|
+ "bidamount": {
|
|
|
|
+ "type": "float"
|
|
|
|
+ },
|
|
|
|
+ "name": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "winner": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "come_package": {
|
|
|
|
+ "properties": {
|
|
|
|
+ "package_id": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "code": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "bidamount": {
|
|
|
|
+ "type": "float"
|
|
|
|
+ },
|
|
|
|
+ "budget": {
|
|
|
|
+ "type": "float"
|
|
|
|
+ },
|
|
|
|
+ "name": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "winner": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "subpackage": {
|
|
|
|
+ "type": "integer"
|
|
|
|
+ },
|
|
|
|
+ "title": {
|
|
|
|
+ "analyzer": "my_ngram_title",
|
|
|
|
+ "type": "text",
|
|
|
|
+ "fields": {
|
|
|
|
+ "mtitle": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "detail": {
|
|
|
|
+ "analyzer": "my_ngram",
|
|
|
|
+ "type": "text"
|
|
|
|
+ },
|
|
|
|
+ "site": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "comeintime": {
|
|
|
|
+ "type": "long"
|
|
|
|
+ },
|
|
|
|
+ "href": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "publish_media": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "infoformat": {
|
|
|
|
+ "type": "long"
|
|
|
|
+ },
|
|
|
|
+ "publishtime": {
|
|
|
|
+ "type": "long"
|
|
|
|
+ },
|
|
|
|
+ "spidercode": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "toptype": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "subtype": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "filetext": {
|
|
|
|
+ "type": "text",
|
|
|
|
+ "analyzer": "my_ngram"
|
|
|
|
+ },
|
|
|
|
+ "purchasing": {
|
|
|
|
+ "type": "text",
|
|
|
|
+ "analyzer": "my_ngram"
|
|
|
|
+ },
|
|
|
|
+ "purchasinglist": {
|
|
|
|
+ "properties": {
|
|
|
|
+ "itemname": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "model": {
|
|
|
|
+ "analyzer": "my_ngram",
|
|
|
|
+ "type": "text"
|
|
|
|
+ },
|
|
|
|
+ "unitname": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "number": {
|
|
|
|
+ "type": "double"
|
|
|
|
+ },
|
|
|
|
+ "brandname": {
|
|
|
|
+ "analyzer": "my_ngram",
|
|
|
|
+ "type": "text"
|
|
|
|
+ },
|
|
|
|
+ "unitprice": {
|
|
|
|
+ "type": "double"
|
|
|
|
+ },
|
|
|
|
+ "totalprice": {
|
|
|
|
+ "type": "double"
|
|
|
|
+ },
|
|
|
|
+ "item": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "procurementlist": {
|
|
|
|
+ "properties": {
|
|
|
|
+ "projectname": {
|
|
|
|
+ "analyzer": "my_ngram_title",
|
|
|
|
+ "type": "text"
|
|
|
|
+ },
|
|
|
|
+ "buyer": {
|
|
|
|
+ "analyzer": "my_ngram_title",
|
|
|
|
+ "type": "text"
|
|
|
|
+ },
|
|
|
|
+ "item": {
|
|
|
|
+ "analyzer": "my_ngram_title",
|
|
|
|
+ "type": "text"
|
|
|
|
+ },
|
|
|
|
+ "projectscope": {
|
|
|
|
+ "analyzer": "my_ngram",
|
|
|
|
+ "type": "text"
|
|
|
|
+ },
|
|
|
|
+ "totalprice": {
|
|
|
|
+ "type": "double"
|
|
|
|
+ },
|
|
|
|
+ "remark": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "expurasingtime": {
|
|
|
|
+ "type": "long"
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "tagname": {
|
|
|
|
+ "analyzer": "douhao",
|
|
|
|
+ "type": "text"
|
|
|
|
+ },
|
|
|
|
+ "s_topscopeclass": {
|
|
|
|
+ "analyzer": "douhao",
|
|
|
|
+ "type": "text"
|
|
|
|
+ },
|
|
|
|
+ "property_form": {
|
|
|
|
+ "analyzer": "douhao",
|
|
|
|
+ "fielddata": true,
|
|
|
|
+ "type": "text"
|
|
|
|
+ },
|
|
|
|
+ "channel": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "winnerorder": {
|
|
|
|
+ "properties": {
|
|
|
|
+ "sort": {
|
|
|
|
+ "type": "long"
|
|
|
|
+ },
|
|
|
|
+ "sortstr": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "entname": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "project_scale": {
|
|
|
|
+ "analyzer": "my_ngram",
|
|
|
|
+ "type": "text"
|
|
|
|
+ },
|
|
|
|
+ "project_duration": {
|
|
|
|
+ "type": "long"
|
|
|
|
+ },
|
|
|
|
+ "project_timeunit": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "project_startdate": {
|
|
|
|
+ "type": "long"
|
|
|
|
+ },
|
|
|
|
+ "project_completedate": {
|
|
|
|
+ "type": "long"
|
|
|
|
+ },
|
|
|
|
+ "payway": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "contract_guarantee": {
|
|
|
|
+ "type": "boolean"
|
|
|
|
+ },
|
|
|
|
+ "bid_guarantee": {
|
|
|
|
+ "type": "boolean"
|
|
|
|
+ },
|
|
|
|
+ "qualifies": {
|
|
|
|
+ "analyzer": "my_ngram",
|
|
|
|
+ "type": "text"
|
|
|
|
+ },
|
|
|
|
+ "entidlist": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "funds": {
|
|
|
|
+ "analyzer": "my_ngram",
|
|
|
|
+ "type": "text"
|
|
|
|
+ },
|
|
|
|
+ "review_experts": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "bidmethod": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "bidendtime": {
|
|
|
|
+ "type": "long"
|
|
|
|
+ },
|
|
|
|
+ "bidopenaddress": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "docamount": {
|
|
|
|
+ "type": "double"
|
|
|
|
+ },
|
|
|
|
+ "agencyrate": {
|
|
|
|
+ "type": "double"
|
|
|
|
+ },
|
|
|
|
+ "agencyfee": {
|
|
|
|
+ "type": "double"
|
|
|
|
+ },
|
|
|
|
+ "getdocmethod": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "bidway": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "china_bidding": {
|
|
|
|
+ "type": "keyword"
|
|
|
|
+ },
|
|
|
|
+ "yuceendtime": {
|
|
|
|
+ "type": "long"
|
|
|
|
+ },
|
|
|
|
+ "createtime": {
|
|
|
|
+ "type": "long"
|
|
|
|
+ },
|
|
|
|
+ "purchasing_tag": {
|
|
|
|
+ "analyzer": "douhao",
|
|
|
|
+ "type": "text"
|
|
|
|
+ },
|
|
|
|
+ "multipackage": {
|
|
|
|
+ "type": "long"
|
|
|
|
+ },
|
|
|
|
+ "bid_field": {
|
|
|
|
+ "analyzer": "douhao",
|
|
|
|
+ "type": "text"
|
|
|
|
+ },
|
|
|
|
+ "bidstarttime": {
|
|
|
|
+ "type": "long"
|
|
|
|
+ },
|
|
|
|
+ "docendtime": {
|
|
|
|
+ "type": "long"
|
|
|
|
+ },
|
|
|
|
+ "docstarttime": {
|
|
|
|
+ "type": "long"
|
|
|
|
+ },
|
|
|
|
+ "signendtime": {
|
|
|
|
+ "type": "long"
|
|
|
|
+ },
|
|
|
|
+ "signstarttime": {
|
|
|
|
+ "type": "long"
|
|
|
|
+ },
|
|
|
|
+ "issue_quota":{
|
|
|
|
+ "type":"double"
|
|
|
|
+ },
|
|
|
|
+ "bidopen_shape":{
|
|
|
|
+ "type":"keyword"
|
|
|
|
+ },
|
|
|
|
+ "quote_mode":{
|
|
|
|
+ "type":"keyword"
|
|
|
|
+ },
|
|
|
|
+ "is_acquire_tender":{
|
|
|
|
+ "type":"boolean"
|
|
|
|
+ },
|
|
|
|
+ "is_payment_deposit":{
|
|
|
|
+ "type":"boolean"
|
|
|
|
+ },
|
|
|
|
+ "is_joint_bidding":{
|
|
|
|
+ "type":"boolean"
|
|
|
|
+ },
|
|
|
|
+ "object_type":{
|
|
|
|
+ "type":"keyword"
|
|
|
|
+ },
|
|
|
|
+ "enterprise_qualification": {
|
|
|
|
+ "type": "text",
|
|
|
|
+ "analyzer": "my_ngram"
|
|
|
|
+ },
|
|
|
|
+ "personnel_qualification": {
|
|
|
|
+ "type": "text",
|
|
|
|
+ "analyzer": "my_ngram"
|
|
|
|
+ },
|
|
|
|
+ "performance_qualification": {
|
|
|
|
+ "type": "text",
|
|
|
|
+ "analyzer": "my_ngram"
|
|
|
|
+ },
|
|
|
|
+ "enterprise_credit": {
|
|
|
|
+ "type": "text",
|
|
|
|
+ "analyzer": "my_ngram"
|
|
|
|
+ },
|
|
|
|
+ "autoid": {
|
|
|
|
+ "type": "long"
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+}'
|