Elasticsearch如何删除特定索引设置

时间:2017-08-09 06:17:23

标签: php elasticsearch

以下是我的索引设置

{
   "schools": {
      "settings": {
         "index": {
            "number_of_shards": "5",
            "provided_name": "schools",
            "creation_date": "1501821788813",
            "analysis": {
               "filter": {
                  "synonym": {
                     "ignore_case": "true",
                     "type": "synonym",
                     "synonyms_path": "synonyms.txt"
                  }
               },
               "analyzer": {
                  "synonym": {
                     "filter": [
                        "synonym"
                     ],
                     "tokenizer": "standard"
                  }
               },
               "tokenizer": {
                  "default_tokenizer": {
                     "type": "standard"
                  }
               }
            },
            "number_of_replicas": "1",
            "uuid": "GnnZjVLqR7yaxcwhwABtbQ",
            "version": {
               "created": "5050199"
            }
         }
      }
   }
}

我想删除同义词过滤器,以便同义词过滤器不起作用。如何从中删除特定设置。我尝试使用PUT更新它,但它合并数据而不是删除它。任何想法?

0 个答案:

没有答案