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

问题描述 投票:0回答:1

{“ 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”时,它发出了错误的请求错误。

azure-search azure-search-.net-sdk
1个回答
0
投票

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

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

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

© www.soinside.com 2019 - 2024. All rights reserved.