Skip to content

fix(docs): fix incorrect code examples in rrf-ranker.md#3464

Open
Roman-Lo wants to merge 1 commit into
milvus-io:v2.6.xfrom
Roman-Lo:patch-1
Open

fix(docs): fix incorrect code examples in rrf-ranker.md#3464
Roman-Lo wants to merge 1 commit into
milvus-io:v2.6.xfrom
Roman-Lo:patch-1

Conversation

@Roman-Lo
Copy link
Copy Markdown

@Roman-Lo Roman-Lo commented Apr 2, 2026

  • Replace NodeJS code snippets that were incorrectly using WeightedRanker config (name: "weight", reranker: "weighted", weights, norm_score) with correct RRF Ranker config (name: "rrf", reranker: "rrf", k: 100)
  • Fix params.reranker example value in parameter table from "weighted" to "rrf"
  • Add missing RRFRanker import and instantiation in Python hybrid search example
  • Add missing RRFRanker import and instantiation in Java hybrid search example

- Replace NodeJS code snippets that were incorrectly using WeightedRanker
  config (name: "weight", reranker: "weighted", weights, norm_score) with
  correct RRF Ranker config (name: "rrf", reranker: "rrf", k: 100)
- Fix params.reranker example value in parameter table from "weighted" to "rrf"
- Add missing RRFRanker import and instantiation in Python hybrid search example
- Add missing RRFRanker import and instantiation in Java hybrid search example
@sre-ci-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Roman-Lo

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

@sre-ci-robot
Copy link
Copy Markdown

Welcome @Roman-Lo! It looks like this is your first PR to milvus-io/milvus-docs 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants