Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Completed
Created by Guest
Created on Jan 22, 2021

Create Atlas Search helper method for aggregations in java

Java driver doesn’t include a {{search()}} helper method in the [Aggregation class](http://mongodb.github.io/mongo-java-driver/4.1/apidocs/mongodb-driver-core/com/mongodb/client/model/Aggregates.html), for facilitating Atlas Search queries. While it's possible to build a custom pipeline which includes a `{ $ search ... }` stage, a dedicated helper method would be convenient.
  • ADMIN RESPONSE
    Oct 18, 2025
    This work was completed and released as part of Java driver version 4.7.0 https://jira.mongodb.org/browse/JAVA-4415 ( https://jira.mongodb.org/browse/JAVA-4415 )