wcc 2 anni fa
parent
commit
c424beee60
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      mapping/projectset2.txt

+ 2 - 1
mapping/projectset2.txt

@@ -136,6 +136,7 @@ curl -H 'Content-Type: application/json' -u es_all:TopJkO2E_d1x -XPUT http://127
           "type": "keyword"
         },
         "s_winner": {
+          "fielddata":true,
           "analyzer": "douhao",
           "type": "text",
           "fields": {
@@ -347,7 +348,7 @@ curl -H 'Content-Type: application/json' -u es_all:TopJkO2E_d1x -XPUT http://127
           "analyzer": "my_ngram"
         },
         "review_experts": {
-          "type": "text"
+          "type": "keyword"
         },
         "winnerorder": {
           "type": "keyword"