Skip to content

Add $rerank aggregation stage support#1963

Open
rozza wants to merge 1 commit intomongodb:mainfrom
rozza:JAVA-6052
Open

Add $rerank aggregation stage support#1963
rozza wants to merge 1 commit intomongodb:mainfrom
rozza:JAVA-6052

Conversation

@rozza
Copy link
Copy Markdown
Member

@rozza rozza commented May 6, 2026

Add $rerank aggregation stage support

Adds builder support for the $rerank pipeline stage (MongoDB 8.3, Atlas only).

API:

  • RerankQuery: query object with text shorthand or full Bson for future modalities
  • Aggregates.rerank(): 2 overloads (single path, multi path)
  • Scala wrappers and type alias in Aggregates.scala

JAVA-6052

@rozza rozza requested a review from Copilot May 6, 2026 15:06
@rozza rozza force-pushed the JAVA-6052 branch 2 times, most recently from c71c695 to 23de292 Compare May 6, 2026 15:22
Adds builder support for the $rerank pipeline stage (MongoDB 8.3, Atlas only).

API:
- RerankQuery: query object with text shorthand or full Bson for future modalities
- Aggregates.rerank(): 2 overloads (single path, multi path)
- Scala wrappers and type alias in Aggregates.scala

JAVA-6052
@rozza rozza marked this pull request as ready for review May 6, 2026 15:44
@rozza rozza requested a review from a team as a code owner May 6, 2026 15:44
@rozza rozza requested a review from nhachicha May 6, 2026 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant