你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SearchModelFactory.SearchIndexerSkill 方法

定义

初始化 SearchIndexerSkill 的新实例。

public static Azure.Search.Documents.Indexes.Models.SearchIndexerSkill SearchIndexerSkill (string oDataType, string name, string description, string context, System.Collections.Generic.IList<Azure.Search.Documents.Indexes.Models.InputFieldMappingEntry> inputs, System.Collections.Generic.IList<Azure.Search.Documents.Indexes.Models.OutputFieldMappingEntry> outputs);
static member SearchIndexerSkill : string * string * string * string * System.Collections.Generic.IList<Azure.Search.Documents.Indexes.Models.InputFieldMappingEntry> * System.Collections.Generic.IList<Azure.Search.Documents.Indexes.Models.OutputFieldMappingEntry> -> Azure.Search.Documents.Indexes.Models.SearchIndexerSkill
Public Shared Function SearchIndexerSkill (oDataType As String, name As String, description As String, context As String, inputs As IList(Of InputFieldMappingEntry), outputs As IList(Of OutputFieldMappingEntry)) As SearchIndexerSkill

参数

oDataType
String

标识技能的具体类型。

name
String

在技能组中唯一标识它的技能的名称。 未定义名称的技能将在技能数组中指定其从 1 开始的索引的默认名称,前缀为字符“#”。

description
String

技能的说明,描述技能的输入、输出和用法。

context
String

表示执行操作的级别,例如文档根目录或文档内容 (例如 /document 或 /document/content) 。 默认值为 /document。

inputs
IList<InputFieldMappingEntry>

技能的输入可以是源数据集中的列,也可以是上游技能的输出。

outputs
IList<OutputFieldMappingEntry>

技能的输出要么是搜索索引中的字段,要么是另一个技能可以用作输入的值。

返回

适用于