Skip to content

feat(query): make hybrid_search ranker optional with RRF default#107

Open
marlon-costa-dc wants to merge 1 commit intomilvus-io:mainfrom
marlon-costa-dc:feat/optional-hybrid-search-ranker
Open

feat(query): make hybrid_search ranker optional with RRF default#107
marlon-costa-dc wants to merge 1 commit intomilvus-io:mainfrom
marlon-costa-dc:feat/optional-hybrid-search-ranker

Conversation

@marlon-costa-dc
Copy link

Summary

  • Makes the ranker parameter in hybrid_search an Option<Box<dyn BaseRanker>>.
  • If None is provided, it falls back to options.ranker or defaults to RrfRanker with k=60.0.
  • This simplifies the API for the common case where users just want standard RRF ranking.

@sre-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: marlon-costa-dc
To complete the pull request process, please assign yah01 after the PR has been reviewed.
You can assign the PR to them by writing /assign @yah01 in a comment when ready.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@mergify
Copy link

mergify bot commented Feb 25, 2026

@marlon-costa-dc Thanks for your contribution. Please submit with DCO, see the contributing guide https://github.com/milvus-io/milvus/blob/master/CONTRIBUTING.md#developer-certificate-of-origin-dco.

@mergify
Copy link

mergify bot commented Feb 25, 2026

@marlon-costa-dc Please associate the related issue to the body of your Pull Request. (eg. “issue: #187”)

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.

2 participants