Condividi tramite


SplitSkill Class

Definition

A skill to split a string into chunks of text. https://docs.microsoft.com/azure/search/cognitive-search-skill-textsplit

[Newtonsoft.Json.JsonObject("#Microsoft.Skills.Text.SplitSkill")]
public class SplitSkill : Microsoft.Azure.Search.Models.Skill
[<Newtonsoft.Json.JsonObject("#Microsoft.Skills.Text.SplitSkill")>]
type SplitSkill = class
    inherit Skill
Public Class SplitSkill
Inherits Skill
Inheritance
SplitSkill
Attributes
Newtonsoft.Json.JsonObjectAttribute

Constructors

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.

Properties

Context

Gets or sets 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.

(Inherited from Skill)
DefaultLanguageCode

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

Description

Gets or sets the description of the skill which describes the inputs, outputs, and usage of the skill.

(Inherited from Skill)
Inputs

Gets or sets inputs of the skills could be a column in the source data set, or the output of an upstream skill.

(Inherited from Skill)
MaximumPageLength

Gets or sets the desired maximum page length. Default is 10000.

Name

Gets or sets 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 '#'.

(Inherited from Skill)
Outputs

Gets or sets 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.

(Inherited from Skill)
TextSplitMode

Gets or sets a value indicating which split mode to perform. Possible values include: 'pages', 'sentences'

Methods

Validate()

Validate the object.

Applies to