Class SplitSkill
java.lang.Object
com.azure.search.documents.indexes.models.SearchIndexerSkill
com.azure.search.documents.indexes.models.SplitSkill
A skill to split a string into chunks of text.
-
Constructor Summary
ConstructorDescriptionSplitSkill
(List<InputFieldMappingEntry> inputs, List<OutputFieldMappingEntry> outputs) Creates an instance of SplitSkill class. -
Method Summary
Modifier and TypeMethodDescriptionGet the defaultLanguageCode property: A value indicating which language code to use.Get the maximumPageLength property: The desired maximum page length.Get the textSplitMode property: A value indicating which split mode to perform.setDefaultLanguageCode
(SplitSkillLanguage defaultLanguageCode) Set the defaultLanguageCode property: A value indicating which language code to use.setMaximumPageLength
(Integer maximumPageLength) Set the maximumPageLength property: The desired maximum page length.setTextSplitMode
(TextSplitMode textSplitMode) Set the textSplitMode property: A value indicating which split mode to perform.Methods inherited from class com.azure.search.documents.indexes.models.SearchIndexerSkill
getContext, getDescription, getInputs, getName, getOutputs, setContext, setDescription, setName
-
Constructor Details
-
SplitSkill
Creates an instance of SplitSkill class.- Parameters:
inputs
- the inputs value to set.outputs
- the outputs value to set.
-
-
Method Details
-
getDefaultLanguageCode
Get the defaultLanguageCode property: A value indicating which language code to use. Default is en.- Returns:
- the defaultLanguageCode value.
-
setDefaultLanguageCode
Set the defaultLanguageCode property: A value indicating which language code to use. Default is en.- Parameters:
defaultLanguageCode
- the defaultLanguageCode value to set.- Returns:
- the SplitSkill object itself.
-
getTextSplitMode
Get the textSplitMode property: A value indicating which split mode to perform.- Returns:
- the textSplitMode value.
-
setTextSplitMode
Set the textSplitMode property: A value indicating which split mode to perform.- Parameters:
textSplitMode
- the textSplitMode value to set.- Returns:
- the SplitSkill object itself.
-
getMaximumPageLength
Get the maximumPageLength property: The desired maximum page length. Default is 10000.- Returns:
- the maximumPageLength value.
-
setMaximumPageLength
Set the maximumPageLength property: The desired maximum page length. Default is 10000.- Parameters:
maximumPageLength
- the maximumPageLength value to set.- Returns:
- the SplitSkill object itself.
-