wcc 2 anni fa
parent
commit
b10f8bfa42
1 ha cambiato i file con 3 aggiunte e 15 eliminazioni
  1. 3 15
      mapping/buyer2.txt

+ 3 - 15
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_v1 -d  '{
+curl -H 'Content-Type: application/json' -u es_all:TopJkO2E_d1x -XPUT http://127.0.0.1:19805/buyer_v2 -d  '{
   "settings": {
     "index": {
       "analysis": {
@@ -29,26 +29,14 @@ curl -H 'Content-Type: application/json' -u es_all:TopJkO2E_d1x -XPUT http://127
         "buyer_name": {
           "type": "keyword"
         },
-        "institute_type": {
-          "type": "keyword"
-        },
         "buyerclass": {
           "type": "keyword"
         },
         "id": {
           "type": "keyword"
         },
-        "fixedphone": {
-          "type": "keyword"
-        },
-        "mobilephone": {
-          "type": "keyword"
-        },
-        "latestfixedphone": {
-          "type": "keyword"
-        },
-        "latestmobilephone": {
-          "type": "keyword"
+        "is_contact":{
+          "type": "boolean"
         },
         "province": {
           "type": "keyword"