Skip to content

Add an example for using the compound search operator#2856

Merged
GromNaN merged 1 commit intodoctrine:2.12.xfrom
GromNaN:doc-compound
Oct 16, 2025
Merged

Add an example for using the compound search operator#2856
GromNaN merged 1 commit intodoctrine:2.12.xfrom
GromNaN:doc-compound

Conversation

@GromNaN
Copy link
Member

@GromNaN GromNaN commented Oct 15, 2025

Q A
Type doc
BC Break no
Fixed issues -

Summary

The compound search operator is very common for combining multiple search operators, its usage is more complex, that's why it needs a dedicated example.

@GromNaN GromNaN requested a review from paulinevos October 15, 2025 12:01
@GromNaN GromNaN added this to the 2.13.0 milestone Oct 15, 2025
@GromNaN GromNaN modified the milestones: 2.13.0, 2.12.3 Oct 15, 2025
@GromNaN GromNaN changed the base branch from 2.13.x to 2.12.x October 15, 2025 12:29
@GromNaN GromNaN requested a review from Copilot October 15, 2025 12:29
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds documentation for the compound search operator in MongoDB Atlas Search, demonstrating how to combine multiple search operators. The compound operator is a commonly used feature that requires clearer documentation due to its complexity.

Key changes:

  • Added example code showing usage of compound(), must(), and should() operators
  • Included explanation text linking to official MongoDB documentation

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@GromNaN GromNaN merged commit 2edcd25 into doctrine:2.12.x Oct 16, 2025
22 checks passed
@GromNaN GromNaN deleted the doc-compound branch October 16, 2025 13:41
@GromNaN GromNaN modified the milestones: 2.12.3, 2.13.0 Oct 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants