Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPARSE_FLOAT_VECTOR is not support metric_type="BM25" #2977

Open
1 task done
Galaxy0505 opened this issue Jan 15, 2025 · 1 comment
Open
1 task done

SPARSE_FLOAT_VECTOR is not support metric_type="BM25" #2977

Galaxy0505 opened this issue Jan 15, 2025 · 1 comment

Comments

@Galaxy0505
Copy link

Is there an existing issue for this?

  • I have searched the existing issues.

Issue

SPARSE_FLOAT_VECTOR is not support metric_type="BM25",[handler]: RPC error: [create_index], <MilvusException: (code=1100, message=only IP is the supported metric type for sparse index: invalid parameter[expected=valid index params][actual=invalid index params])>, <Time:{'RPC start': '2025-01-15 18:59:05.468730', 'RPC error': '2025-01-15 18:59:05.581485'}> (decorators.py:140)

Suggestion

No response

Anything else?

No response

@zhengbuqian
Copy link

Hi @Galaxy0505, BM25 metric is supported at Milvus 2.5 or later, and can be used only on sparse vector field that is the output of BM25 function. See https://github.com/milvus-io/pymilvus/blob/master/examples/datatypes/hello_bm25.py for example

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

No branches or pull requests

2 participants