浏览代码

采购单位、中标单位 添加 seo_id

wcc 1 年之前
父节点
当前提交
5784ac7173
共有 4 个文件被更改,包括 9 次插入3 次删除
  1. 2 2
      mapping/biddingmapping2.txt
  2. 3 0
      mapping/buyer2.txt
  3. 1 1
      mapping/projectset2.txt
  4. 3 0
      mapping/winner2.txt

+ 2 - 2
mapping/biddingmapping2.txt

@@ -1,4 +1,4 @@
-curl -H 'Content-Type: application/json' -u es_all:TopJkO2E_d1x -XPUT http://127.0.0.1:19805/bidding_v2 -d '{
+curl -H 'Content-Type: application/json' -u jybid:Top2023_JEB01i@31 -XPUT http://127.0.0.1:19905/bidding_v1 -d '{
   "settings": {
     "index": {
       "analysis": {
@@ -45,7 +45,7 @@ curl -H 'Content-Type: application/json' -u es_all:TopJkO2E_d1x -XPUT http://127
           }
         }
       },
-      "number_of_shards": "12",
+      "number_of_shards": "28",
       "number_of_replicas": "1",
       "max_result_window": "20000"
     }

+ 3 - 0
mapping/buyer2.txt

@@ -46,6 +46,9 @@ curl -H 'Content-Type: application/json' -u es_all:TopJkO2E_d1x -XPUT http://127
         },
         "province": {
           "type": "keyword"
+        },
+         "seo_id": {
+          "type": "long"
         },
         "city": {
           "type": "keyword"

+ 1 - 1
mapping/projectset2.txt

@@ -1,4 +1,4 @@
-curl -H 'Content-Type: application/json' -u es_all:TopJkO2E_d1x -XPUT http://127.0.0.1:19805/projectset_v2 -d '{
+curl -H 'Content-Type: application/json' -u es_all:TopJkO2E_d1x -XPUT http://127.0.0.1:19805/projectset_v3 -d '{
   "settings": {
     "index": {
       "analysis": {

+ 3 - 0
mapping/winner2.txt

@@ -46,6 +46,9 @@ curl  -H 'Content-Type: application/json' -u es_all:TopJkO2E_d1x  -XPUT http://1
       },
       "winner_name": {
         "type": "keyword"
+      },
+       "seo_id": {
+        "type": "long"
       },
       "tag_business": {
         "type": "keyword"