소스 검색

更新 mapping

wcc 2 년 전
부모
커밋
c424beee60
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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"