| Package | Description |
|---|---|
| com.mongodb.client.model |
This package contains models and options that help describe MongoCollection operations
|
| Modifier and Type | Field and Description |
|---|---|
private TextSearchOptions |
Filters.TextFilter.textSearchOptions |
| Modifier and Type | Method and Description |
|---|---|
TextSearchOptions |
TextSearchOptions.caseSensitive(java.lang.Boolean caseSensitive)
Set the case-sensitive flag for the text search
|
TextSearchOptions |
TextSearchOptions.diacriticSensitive(java.lang.Boolean diacriticSensitive)
Set the diacritic-sensitive flag for the text search
|
TextSearchOptions |
TextSearchOptions.language(java.lang.String language)
Set the language for the text search
|
| Modifier and Type | Method and Description |
|---|---|
static Bson |
Filters.text(java.lang.String search,
TextSearchOptions textSearchOptions)
Creates a filter that matches all documents matching the given the search term with the given text search options.
|
| Constructor and Description |
|---|
TextFilter(java.lang.String search,
TextSearchOptions textSearchOptions) |