[JAVA-4315] Add builder for $searchMeta stage Created: 27/Sep/21  Updated: 27/May/22  Resolved: 25/Apr/22

Status: Closed
Project: Java Driver
Component/s: Builders
Affects Version/s: None
Fix Version/s: 4.7.0

Type: New Feature Priority: Minor - P4
Reporter: Esha Bhargava Assignee: Valentin Kavalenka
Resolution: Done Votes: 0
Labels: QP-priority, size-small
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-58588 Implement $searchMeta stage Closed
Documented
Issue split
Related
is related to JAVA-4190 Client side builder for operators sup... Closed
is related to JAVA-4415 Add builder for $search stage Closed
Server Compat: 4.4, 5.0, 5.1
Quarter: FY23Q1
Backwards Compatibility: Fully Compatible
Documentation Changes: Needed

 Description   

Atlas Search supports a new stage: $searchMeta. This stage is only available in an Atlas Cluster which deployed a search index (just like $search). This stage will output metadata about the search results, as described here.

To support usage of this state, the Java driver should add an Aggregates#searchMeta method. This will improve discoverability of this stage for users of the driver.



 Comments   
Comment by Githook User [ 27/May/22 ]

Author:

{'name': 'Valentin Kovalenko', 'email': 'valentin.kovalenko@mongodb.com', 'username': 'stIncMale'}

Message: Add query building API for MongoDB Atlas full-text search (#952)

Java API: `com.mongodb.client.model.search`
Scala API: `org.mongodb.scala.model.search`

JAVA-4415 JAVA-4315 JAVA-4190
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/1812865f234b2d9c9ab27ea760959ded152d51ac

Comment by Valentin Kavalenka [ 25/Apr/22 ]

I am closing the task for the same exact reasons as JAVA-4415.

Comment by Jeffrey Yemin [ 12/Jan/22 ]

Deferring due to upcoming cross-drivers work in scope of DRIVERS-2019.

Generated at Thu Feb 08 09:01:46 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.