Class FullTextIndexConfiguration

public class FullTextIndexConfiguration extends IndexConfiguration
Full Text Index Configuration
  • Constructor Details

    • FullTextIndexConfiguration

      public FullTextIndexConfiguration(@NonNull String... expressions)
  • Method Details

    • setLanguage

      @NonNull public FullTextIndexConfiguration setLanguage(@Nullable 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. If not explicitly set, the current locale's language will be used. Setting a null, empty, or unrecognized value will disable the language features.
    • getLanguage

      @Nullable public String getLanguage()
    • ignoreAccents

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

      public boolean isIgnoringAccents()