【问题标题】:Can I use .NET SDK to create Azure Table datasource for Azure Search index?我可以使用 .NET SDK 为 Azure 搜索索引创建 Azure Table 数据源吗?
【发布时间】:2016-12-05 07:00:25
【问题描述】:

我想配置数据源,包括 ia。包含集合的 json 字符串的字段映射。

【问题讨论】:

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


    【解决方案1】:

    是的,您可以 - 从 nuget.org 获取最新的 Azure 搜索 SDK 并使用 DataSource.AzureTableStorage method

    您不再需要使用字段映射来填充字符串集合字段 - 只要将字符串格式化为 JSON 字符串数组,Azure 搜索就会自动为您执行此操作。但是,如果您出于其他原因需要字段映射,可以使用 FieldMappings propertyIndexer 类。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-12-31
      • 1970-01-01
      • 2021-09-15
      • 1970-01-01
      • 2021-12-24
      • 2020-03-03
      • 1970-01-01
      • 2017-12-17
      相关资源
      最近更新 更多