Interface MustCompoundSearchOperator

All Superinterfaces:
org.bson.conversions.Bson, CompoundSearchOperator, CompoundSearchOperatorBase, SearchOperator

@Sealed @Beta(CLIENT) public interface MustCompoundSearchOperator extends CompoundSearchOperator
A representation of a CompoundSearchOperator that allows changing must-specific options, if any. This interface is a technicality and does not represent a meaningful element of the full-text search query syntax.
Since:
4.7
See Also:
  • Field Summary

    Fields inherited from interface org.bson.conversions.Bson

    DEFAULT_CODEC_REGISTRY
  • Method Summary

    Modifier and Type
    Method
    Description
    score(SearchScore modifier)
    Creates a new SearchOperator with the scoring modifier specified.

    Methods inherited from interface org.bson.conversions.Bson

    toBsonDocument, toBsonDocument

    Methods inherited from interface com.mongodb.client.model.search.CompoundSearchOperatorBase

    filter, must, mustNot, should