milvus-io / milvus

A cloud-native vector database, storage for next generation AI applications
https://milvus.io
Apache License 2.0
30.73k stars 2.93k forks source link

[Feature]: Support count with expression and groupby #37065

Open xiaofan-luan opened 3 weeks ago

xiaofan-luan commented 3 weeks ago

Is there an existing issue for this?

Is your feature request related to a problem? Please describe.

Use case: User want to know the the document number under certain partitition key User want to know how many unique partition keys exists User want to know how many chunk are there in a document

Count becomes very important use case for many RAG use case.

TODO

  1. count the result of range search.

Describe the solution you'd like.

No response

Describe an alternate solution.

No response

Anything else? (Additional Context)

No response

MrPresent-Han commented 3 weeks ago

I will handle it