Class TextSearchOptions

java.lang.Object
com.mongodb.client.model.TextSearchOptions

@Deprecated(since="2021-05-27") public final class TextSearchOptions extends Object
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
Text search options for the Filters.text(String, TextSearchOptions) helper
Since:
3.2
  • Constructor Details

    • TextSearchOptions

      public TextSearchOptions()
      Deprecated.
  • Method Details

    • getLanguage

      @Nullable public String getLanguage()
      Deprecated.
      Returns the language to be used with the text search
      Returns:
      the language to use for the text search if set or null
    • language

      public TextSearchOptions language(@Nullable String language)
      Deprecated.
      Set the language for the text search
      Parameters:
      language - the language to use for the text search
      Returns:
      this
    • getCaseSensitive

      @Nullable public Boolean getCaseSensitive()
      Deprecated.
      Returns the case-sensitive flag to use with the text search
      Returns:
      the case-sensitive flag if set or null
    • caseSensitive

      public TextSearchOptions caseSensitive(@Nullable Boolean caseSensitive)
      Deprecated.
      Set the case-sensitive flag for the text search
      Parameters:
      caseSensitive - the case-sensitive flag for the text search
      Returns:
      this
    • getDiacriticSensitive

      @Nullable public Boolean getDiacriticSensitive()
      Deprecated.
      Returns the diacritic-sensitive flag to use with the text search
      Returns:
      the diacritic-sensitive flag if set or null
    • diacriticSensitive

      public TextSearchOptions diacriticSensitive(@Nullable Boolean diacriticSensitive)
      Deprecated.
      Set the diacritic-sensitive flag for the text search
      Parameters:
      diacriticSensitive - the diacritic-sensitive flag for the text search
      Returns:
      this
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object