SearchModelFactory.SearchIndexerSkill Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| SearchIndexerSkill(String, String, String, String, IEnumerable<InputFieldMappingEntry>, IEnumerable<OutputFieldMappingEntry>) |
Base type for skills. |
| SearchIndexerSkill(String, String, String, String, IList<InputFieldMappingEntry>, IList<OutputFieldMappingEntry>) |
Initializes a new instance of SearchIndexerSkill. |
SearchIndexerSkill(String, String, String, String, IEnumerable<InputFieldMappingEntry>, IEnumerable<OutputFieldMappingEntry>)
- Source:
- SearchModelFactory.cs
Base type for skills.
public static Azure.Search.Documents.Indexes.Models.SearchIndexerSkill SearchIndexerSkill(string odataType = default, string name = default, string description = default, string context = default, System.Collections.Generic.IEnumerable<Azure.Search.Documents.Indexes.Models.InputFieldMappingEntry> inputs = default, System.Collections.Generic.IEnumerable<Azure.Search.Documents.Indexes.Models.OutputFieldMappingEntry> outputs = default);
static member SearchIndexerSkill : string * string * string * string * seq<Azure.Search.Documents.Indexes.Models.InputFieldMappingEntry> * seq<Azure.Search.Documents.Indexes.Models.OutputFieldMappingEntry> -> Azure.Search.Documents.Indexes.Models.SearchIndexerSkill
Public Shared Function SearchIndexerSkill (Optional odataType As String = Nothing, Optional name As String = Nothing, Optional description As String = Nothing, Optional context As String = Nothing, Optional inputs As IEnumerable(Of InputFieldMappingEntry) = Nothing, Optional outputs As IEnumerable(Of OutputFieldMappingEntry) = Nothing) As SearchIndexerSkill
Parameters
- odataType
- String
The discriminator for derived types.
- name
- String
The name of the skill which uniquely identifies it within the skillset. A skill with no name defined will be given a default name of its 1-based index in the skills array, prefixed with the character '#'.
- description
- String
The description of the skill which describes the inputs, outputs, and usage of the skill.
- context
- String
Represents the level at which operations take place, such as the document root or document content (for example, /document or /document/content). The default is /document.
- inputs
- IEnumerable<InputFieldMappingEntry>
Inputs of the skills could be a column in the source data set, or the output of an upstream skill.
- outputs
- IEnumerable<OutputFieldMappingEntry>
The output of a skill is either a field in a search index, or a value that can be consumed as an input by another skill.
Returns
A new SearchIndexerSkill instance for mocking.
Applies to
SearchIndexerSkill(String, String, String, String, IList<InputFieldMappingEntry>, IList<OutputFieldMappingEntry>)
- Source:
- SearchModelFactory.cs
- Source:
- SearchModelFactory.cs
Initializes a new instance of 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
Parameters
- oDataType
- String
Identifies the concrete type of the skill.
- name
- String
The name of the skill which uniquely identifies it within the skillset. A skill with no name defined will be given a default name of its 1-based index in the skills array, prefixed with the character '#'.
- description
- String
The description of the skill which describes the inputs, outputs, and usage of the skill.
- context
- String
Represents the level at which operations take place, such as the document root or document content (for example, /document or /document/content). The default is /document.
- inputs
- IList<InputFieldMappingEntry>
Inputs of the skills could be a column in the source data set, or the output of an upstream skill.
- outputs
- IList<OutputFieldMappingEntry>
The output of a skill is either a field in a search index, or a value that can be consumed as an input by another skill.