Commit c33c661
committed
Add $rerank aggregation stage support
Adds builder support for the $rerank pipeline stage (MongoDB 8.3, Atlas only).
API:
- RerankQuery: represents the query object (text field, extensible for future modalities)
- RerankOptions: immutable options builder for forward-compatible extensibility
- Aggregates.rerank(): 4 overloads (single/multi path, with/without options)
- Scala wrappers in Aggregates.scala
JAVA-60521 parent c0f9627 commit c33c661
7 files changed
Lines changed: 1206 additions & 6 deletions
File tree
- docs/superpowers/plans
- driver-core/src
- main/com/mongodb/client/model
- test/functional/com/mongodb/client/model
- driver-scala/src
- main/scala/org/mongodb/scala/model
- test/scala/org/mongodb/scala/model
0 commit comments