public final class TextSearchOptions extends Object
Filters.text(String, TextSearchOptions)
helperConstructor | Description |
---|---|
TextSearchOptions() |
Modifier and Type | Method | 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() |
@Nullable public String getLanguage()
public TextSearchOptions language(@Nullable String language)
language
- the language to use for the text search@Nullable public Boolean getCaseSensitive()
public TextSearchOptions caseSensitive(@Nullable Boolean caseSensitive)
caseSensitive
- the case-sensitive flag for the text search@Nullable public Boolean getDiacriticSensitive()
public TextSearchOptions diacriticSensitive(@Nullable Boolean diacriticSensitive)
diacriticSensitive
- the diacritic-sensitive flag for the text search