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