Browse Source

更新bidding 和 projectset 新字段

wcc 1 month ago
parent
commit
f1eefc5e93
2 changed files with 19 additions and 0 deletions
  1. 3 0
      mapping/biddingmapping2.txt
  2. 16 0
      mapping/projectset2.txt

+ 3 - 0
mapping/biddingmapping2.txt

@@ -148,6 +148,9 @@ curl -H 'Content-Type: application/json' -u jybid:Top2023_JEB01i@31 -XPUT http:/
         "projectaddr": {
         "projectaddr": {
           "type": "keyword"
           "type": "keyword"
         },
         },
+       "basicClass": {
+          "type": "keyword"
+        },
         "agencytel": {
         "agencytel": {
           "type": "keyword"
           "type": "keyword"
         },
         },

+ 16 - 0
mapping/projectset2.txt

@@ -191,6 +191,14 @@ curl -H 'Content-Type: application/json'  -XPUT http://172.20.45.129:9206/projec
             "city": {
             "city": {
               "type": "keyword"
               "type": "keyword"
             },
             },
+          "projectperiod":       { "type": "keyword" },
+          "basicClass":          { "type": "keyword" },
+          "est_purchase_time":   { "type": "long" },
+          "signaturedate":       { "type": "long" },
+          "expiredate":          { "type": "long" },
+          "docendtime":          { "type": "long" },
+          "docstarttime":        { "type": "long" },
+          "bidstarttime":        { "type": "long" },
             "projectcode": {
             "projectcode": {
               "type": "keyword"
               "type": "keyword"
             },
             },
@@ -408,6 +416,14 @@ curl -H 'Content-Type: application/json'  -XPUT http://172.20.45.129:9206/projec
        "subtitle_projectname": {
        "subtitle_projectname": {
           "type": "keyword"
           "type": "keyword"
         },
         },
+      "projectperiod":       { "type": "keyword" },
+      "basicClass":          { "type": "keyword" },
+      "est_purchase_time":   { "type": "long" },
+      "signaturedate":       { "type": "long" },
+      "expiredate":          { "type": "long" },
+      "docendtime":          { "type": "long" },
+      "docstarttime":        { "type": "long" },
+      "bidstarttime":        { "type": "long" },
         "bid_field": {
         "bid_field": {
           "analyzer": "douhao",
           "analyzer": "douhao",
           "type": "text"
           "type": "text"