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