Explorar el Código

bidding 新增 come_package;法人库 ent_info 添加字段 org_tags

wcc hace 9 meses
padre
commit
40c6f10ddc
Se han modificado 2 ficheros con 34 adiciones y 11 borrados
  1. 26 0
      mapping/biddingmapping2.txt
  2. 8 11
      mapping/ent_info.txt

+ 26 - 0
mapping/biddingmapping2.txt

@@ -88,6 +88,10 @@ curl -H 'Content-Type: application/json' -u jybid:Top2023_JEB01i@31 -XPUT http:/
           "analyzer": "douhao",
           "type": "text"
         },
+       "tag_topinformation_zp": {
+          "analyzer": "douhao",
+          "type": "text"
+        },
         "tag_subinformation": {
           "analyzer": "douhao",
           "fielddata": true,
@@ -267,6 +271,28 @@ curl -H 'Content-Type: application/json' -u jybid:Top2023_JEB01i@31 -XPUT http:/
                 }
             }
         },
+       "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"
         },

+ 8 - 11
mapping/ent_info.txt

@@ -186,17 +186,14 @@ curl -H 'Content-Type: application/json'  -u jybid:Top2023_JEB01i@31  -XPUT http
                 "analyzer": "douhao",
                 "type": "text"
             },
-            "national_top": {
-                "type": "keyword"
-            },
-            "national_sub": {
-                "type": "keyword"
-            },
-            "national_subsub": {
-                "type": "keyword"
-            },
-            "main_label": {
-                "type": "keyword"
+            "org_tags": {
+                "type": "text",
+                 "analyzer": "my_ngram_title",
+                  "fields": {
+                    "tag": {
+                        "type": "keyword"
+                    }
+                }              
             },              
             "company_label": {
                 "type": "keyword",