Package com.mongodb.client.model.search
Interface DateNearSearchOperator
- All Superinterfaces:
Bson
,SearchOperator
-
Field Summary
Fields inherited from interface org.bson.conversions.Bson
DEFAULT_CODEC_REGISTRY
-
Method Summary
Modifier and TypeMethodDescriptionscore
(SearchScore modifier) Creates a newSearchOperator
with the scoring modifier specified.Methods inherited from interface org.bson.conversions.Bson
toBsonDocument, toBsonDocument
-
Method Details
-
score
Description copied from interface:SearchOperator
Creates a newSearchOperator
with the scoring modifier specified.- Specified by:
score
in interfaceSearchOperator
- Parameters:
modifier
- The scoring modifier.- Returns:
- A new
SearchOperator
.
-