Package com.mongodb.client.model.search
Interface CompoundSearchOperator
- All Superinterfaces:
 Bson,CompoundSearchOperatorBase,SearchOperator
- All Known Subinterfaces:
 FilterCompoundSearchOperator,MustCompoundSearchOperator,MustNotCompoundSearchOperator,ShouldCompoundSearchOperator
@Evolving
@Beta(CLIENT)
public interface CompoundSearchOperator
extends CompoundSearchOperatorBase, SearchOperator
- Since:
 - 4.7
 - See Also:
 
- 
Field Summary
Fields inherited from interface org.bson.conversions.Bson
DEFAULT_CODEC_REGISTRY - 
Method Summary
Modifier and TypeMethodDescriptionscore(SearchScore modifier) Creates a newSearchOperatorwith the scoring modifier specified.Methods inherited from interface org.bson.conversions.Bson
toBsonDocument, toBsonDocumentMethods inherited from interface com.mongodb.client.model.search.CompoundSearchOperatorBase
filter, must, mustNot, should 
- 
Method Details
- 
score
Description copied from interface:SearchOperatorCreates a newSearchOperatorwith the scoring modifier specified.- Specified by:
 scorein interfaceSearchOperator- Parameters:
 modifier- The scoring modifier.- Returns:
 - A new 
SearchOperator. 
 
 -