Class FullTextIndex


  • public class FullTextIndex
    extends Index
    Index for Full-Text search
    • Method Detail

      • setLanguage

        @NonNull
        public FullTextIndex setLanguage​(@NonNull
                                         String language)
        The language code which is an ISO-639 language such as "en", "fr", etc. Setting the language code affects how word breaks and word stems are parsed. Without setting the value, the current locale's language will be used. Setting a nil or "" value to disable the language features.
      • ignoreAccents

        @NonNull
        public FullTextIndex ignoreAccents​(boolean ignoreAccents)
        Set the true value to ignore accents/diacritical marks. The default value is false.