milvus-io / pymilvus

Python SDK for Milvus.
Apache License 2.0
987 stars 315 forks source link

[Enhancement]: function hybrid_search missing in the class MilvusClient #2232

Open saurav-chakravorty opened 1 month ago

saurav-chakravorty commented 1 month ago

Is there an existing issue for this?

What would you like to be added?

The Python class implements all most functions like search but not hybrid_search.

Why is this needed?

I use Notebooks (managed) for a bunch of experiments where having the local mode is very useful. I tend to create a local DB with something like

client = MilvusClient("local.db") #local is good

I can do almost everything except call client.hybrid_search().

Anything else?

Yes, I can create a PR on this unless there is some known reason why this function cannot be implemented / should not be implemented.

bbetters commented 1 week ago

I would like this as well, it is implemented in the Collection class, but using it in a pipeline, wouldn't make sense declaring the schema and everything on each search.