如何将索引参数“分析器”值设置为“ English.Microsoft”

时间:2019-09-30 10:44:43

标签: azure-cognitive-search azure-search-.net-sdk

{       “ resourceType”:“索引”,       “资源”:[         {           “已启用”:是,           “ name”:“ abc”,           “字段”:[

        {
          "name": "Source",
          "type": "Edm.String",
          "searchable": false,
          "filterable": true,
          "retrievable": true,
          "sortable": false,
          "facetable": true,
          "key": false,
          "indexAnalyzer": null,
          "searchAnalyzer": null,
          "analyzer": <here i want to give English-Microsoft>,
          "synonymMaps": [

          ]
        },

请给我正确的值名称。当我有“ english.microsoft”时,它发出了错误的请求错误。

1 个答案:

答案 0 :(得分:0)

您需要将分析器设置为“ en.microsoft”

下面是指向有关添加语言分析器的文档的链接。它包含一个语言分析器列表。

https://docs.microsoft.com/en-us/azure/search/index-add-language-analyzers