Class SplitSkill


  • public final class SplitSkill
    extends SearchIndexerSkill
    A skill to split a string into chunks of text.
    • Method Detail

      • getDefaultLanguageCode

        public SplitSkillLanguage getDefaultLanguageCode()
        Get the defaultLanguageCode property: A value indicating which language code to use. Default is en.
        Returns:
        the defaultLanguageCode value.
      • setDefaultLanguageCode

        public SplitSkill setDefaultLanguageCode​(SplitSkillLanguage defaultLanguageCode)
        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

        public TextSplitMode getTextSplitMode()
        Get the textSplitMode property: A value indicating which split mode to perform.
        Returns:
        the textSplitMode value.
      • setTextSplitMode

        public SplitSkill setTextSplitMode​(TextSplitMode textSplitMode)
        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

        public Integer getMaximumPageLength()
        Get the maximumPageLength property: The desired maximum page length. Default is 10000.
        Returns:
        the maximumPageLength value.
      • setMaximumPageLength

        public SplitSkill setMaximumPageLength​(Integer maximumPageLength)
        Set the maximumPageLength property: The desired maximum page length. Default is 10000.
        Parameters:
        maximumPageLength - the maximumPageLength value to set.
        Returns:
        the SplitSkill object itself.