public final class TextSearchOptions
extends java.lang.Object
Filters.text(String, TextSearchOptions)
helperConstructor and Description |
---|
TextSearchOptions() |
Modifier and Type | Method and Description |
---|---|
TextSearchOptions |
caseSensitive(java.lang.Boolean caseSensitive)
Set the case-sensitive flag for the text search
|
TextSearchOptions |
diacriticSensitive(java.lang.Boolean diacriticSensitive)
Set the diacritic-sensitive flag for the text search
|
java.lang.Boolean |
getCaseSensitive()
Returns the case-sensitive flag to use with the text search
|
java.lang.Boolean |
getDiacriticSensitive()
Returns the diacritic-sensitive flag to use with the text search
|
java.lang.String |
getLanguage()
Returns the language to be used with the text search
|
TextSearchOptions |
language(java.lang.String language)
Set the language for the text search
|
java.lang.String |
toString() |
public java.lang.String getLanguage()
public TextSearchOptions language(java.lang.String language)
language
- the language to use for the text searchpublic java.lang.Boolean getCaseSensitive()
public TextSearchOptions caseSensitive(java.lang.Boolean caseSensitive)
caseSensitive
- the case-sensitive flag for the text searchpublic java.lang.Boolean getDiacriticSensitive()
public TextSearchOptions diacriticSensitive(java.lang.Boolean diacriticSensitive)
diacriticSensitive
- the diacritic-sensitive flag for the text searchpublic java.lang.String toString()
toString
in class java.lang.Object