Share via


SplitSkill Constructors

Definition

Overloads

SplitSkill()

Initializes a new instance of the SplitSkill class.

SplitSkill(IList<InputFieldMappingEntry>, IList<OutputFieldMappingEntry>, String, String, String, Nullable<SplitSkillLanguage>, Nullable<TextSplitMode>, Nullable<Int32>)

Initializes a new instance of the SplitSkill class.

SplitSkill()

Source:
SplitSkill.cs

Initializes a new instance of the SplitSkill class.

public SplitSkill ();
Public Sub New ()

Applies to

SplitSkill(IList<InputFieldMappingEntry>, IList<OutputFieldMappingEntry>, String, String, String, Nullable<SplitSkillLanguage>, Nullable<TextSplitMode>, Nullable<Int32>)

Source:
SplitSkill.cs

Initializes a new instance of the SplitSkill class.

public SplitSkill (System.Collections.Generic.IList<Microsoft.Azure.Search.Models.InputFieldMappingEntry> inputs, System.Collections.Generic.IList<Microsoft.Azure.Search.Models.OutputFieldMappingEntry> outputs, string name = default, string description = default, string context = default, Microsoft.Azure.Search.Models.SplitSkillLanguage? defaultLanguageCode = default, Microsoft.Azure.Search.Models.TextSplitMode? textSplitMode = default, int? maximumPageLength = default);
new Microsoft.Azure.Search.Models.SplitSkill : System.Collections.Generic.IList<Microsoft.Azure.Search.Models.InputFieldMappingEntry> * System.Collections.Generic.IList<Microsoft.Azure.Search.Models.OutputFieldMappingEntry> * string * string * string * Nullable<Microsoft.Azure.Search.Models.SplitSkillLanguage> * Nullable<Microsoft.Azure.Search.Models.TextSplitMode> * Nullable<int> -> Microsoft.Azure.Search.Models.SplitSkill
Public Sub New (inputs As IList(Of InputFieldMappingEntry), outputs As IList(Of OutputFieldMappingEntry), Optional name As String = Nothing, Optional description As String = Nothing, Optional context As String = Nothing, Optional defaultLanguageCode As Nullable(Of SplitSkillLanguage) = Nothing, Optional textSplitMode As Nullable(Of TextSplitMode) = Nothing, Optional maximumPageLength As Nullable(Of Integer) = Nothing)

Parameters

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.

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.

defaultLanguageCode
Nullable<SplitSkillLanguage>

A value indicating which language code to use. Default is en. Possible values include: 'da', 'de', 'en', 'es', 'fi', 'fr', 'it', 'ko', 'pt'

textSplitMode
Nullable<TextSplitMode>

A value indicating which split mode to perform. Possible values include: 'pages', 'sentences'

maximumPageLength
Nullable<Int32>

The desired maximum page length. Default is 10000.

Applies to