你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
SearchIndexerIndexProjectionSelector 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 SearchIndexerIndexProjectionSelector 的新实例。
public SearchIndexerIndexProjectionSelector (string targetIndexName, string parentKeyFieldName, string sourceContext, System.Collections.Generic.IEnumerable<Azure.Search.Documents.Indexes.Models.InputFieldMappingEntry> mappings);
new Azure.Search.Documents.Indexes.Models.SearchIndexerIndexProjectionSelector : string * string * string * seq<Azure.Search.Documents.Indexes.Models.InputFieldMappingEntry> -> Azure.Search.Documents.Indexes.Models.SearchIndexerIndexProjectionSelector
Public Sub New (targetIndexName As String, parentKeyFieldName As String, sourceContext As String, mappings As IEnumerable(Of InputFieldMappingEntry))
参数
- targetIndexName
- String
要投影到的搜索索引的名称。 必须具有具有“关键字 (keyword) ”分析器集的键字段。
- parentKeyFieldName
- String
搜索索引中要将父文档的键值映射到的字段的名称。 必须是可筛选的字符串字段,而不是键字段。
- sourceContext
- String
投影的源上下文。 表示将文档拆分为多个子文档的基数。
- mappings
- IEnumerable<InputFieldMappingEntry>
投影的映射,或者应将哪个源映射到目标索引中的哪个字段。
例外
targetIndexName
、parentKeyFieldName
、sourceContext
或 mappings
为 null。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈