Ver código fonte

更新 索引 集群设置

wcc 1 ano atrás
pai
commit
630a51a378

+ 6 - 3
mapping/biddingmapping2.txt

@@ -1,4 +1,4 @@
-curl -H 'Content-Type: application/json' -u jybid:Top2023_JEB01i@31 -XPUT http://127.0.0.1:19905/bidding_v1 -d '{
+curl -H 'Content-Type: application/json' -u jybid:Top2023_JEB01i@31 -XPUT http://127.0.0.1:19908/bidding_v1 -d '{
   "settings": {
     "index": {
       "analysis": {
@@ -45,8 +45,8 @@ curl -H 'Content-Type: application/json' -u jybid:Top2023_JEB01i@31 -XPUT http:/
           }
         }
       },
-      "number_of_shards": "28",
-      "number_of_replicas": "1",
+      "number_of_shards": "36",
+      "number_of_replicas": "0",
       "max_result_window": "20000"
     }
   },
@@ -203,6 +203,9 @@ curl -H 'Content-Type: application/json' -u jybid:Top2023_JEB01i@31 -XPUT http:/
         "topscopeclass": {
           "type": "keyword"
         },
+       "mobile_tag": {
+          "type": "keyword"
+        },
         "s_subscopeclass": {
           "analyzer": "douhao",
           "type": "text"

+ 2 - 2
mapping/buyer2.txt

@@ -1,4 +1,4 @@
-curl -H 'Content-Type: application/json' -u es_all:TopJkO2E_d1x -XPUT http://127.0.0.1:19805/buyer_v2 -d  '{
+curl -H 'Content-Type: application/json' -u jybid:Top2023_JEB01i@31  -XPUT http://127.0.0.1:19908/buyer_v1 -d  '{
   "settings": {
     "index": {
       "analysis": {
@@ -15,7 +15,7 @@ curl -H 'Content-Type: application/json' -u es_all:TopJkO2E_d1x -XPUT http://127
           }
         }
       },
-      "number_of_shards": "18",
+      "number_of_shards": "9",
       "number_of_replicas": "0"
     }
   },

+ 2 - 2
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_v4 -d '{
+curl -H 'Content-Type: application/json' -u jybid:Top2023_JEB01i@31 -XPUT http://127.0.0.1:19908/projectset_v1 -d '{
   "settings": {
     "index": {
       "analysis": {
@@ -43,7 +43,7 @@ curl -H 'Content-Type: application/json' -u es_all:TopJkO2E_d1x -XPUT http://127
           }
         }
       },
-      "number_of_shards": "12",
+      "number_of_shards": "9",
       "number_of_replicas": "0"
     }
   },

+ 2 - 2
mapping/qyxy2.txt

@@ -1,4 +1,4 @@
-curl -H 'Content-Type: application/json' -u es_all:TopJkO2E_d1x -XPUT http://127.0.0.1:19805/qyxy_v2 -d '{
+curl -H 'Content-Type: application/json' -u jybid:Top2023_JEB01i@31  -XPUT http://127.0.0.1:19908/qyxy_v1 -d '{
 "settings": {
   "index": {
     "analysis": {
@@ -55,7 +55,7 @@ curl -H 'Content-Type: application/json' -u es_all:TopJkO2E_d1x -XPUT http://127
         }
       }
     },
-    "number_of_shards": "12",
+    "number_of_shards": "9",
     "number_of_replicas": "0"
   }
 },

+ 2 - 2
mapping/winner2.txt

@@ -1,4 +1,4 @@
-curl  -H 'Content-Type: application/json' -u es_all:TopJkO2E_d1x  -XPUT http://127.0.0.1:19805/winner_v1 -d '{
+curl  -H 'Content-Type: application/json' -u jybid:Top2023_JEB01i@31  -XPUT http://127.0.0.1:19908/winner_v1 -d '{
 "settings": {
   "index": {
     "analysis": {
@@ -15,7 +15,7 @@ curl  -H 'Content-Type: application/json' -u es_all:TopJkO2E_d1x  -XPUT http://1
         }
       }
     },
-    "number_of_shards": "12",
+    "number_of_shards": "9",
     "number_of_replicas": "0"
   }
 },