[SDK]: Client support partition key #24402
Labels
area/api
kind/enhancement
Issues or changes related to enhancement
kind/feature
Issues related to feature request from users
Is there an existing issue for this?
Is your feature request related to a problem? Please describe.
I would like to introduce another level of abstract, partition key.
So when user create a collection
So you will see book group is the parititon key, and the collection will create 1024 partitions by default.
When insert happens:
hash(book_name)%1024 to decide which segment should be written into
others are exactly same as current insert path.
When search:
User must specify a group of partition key when search (Performance may degrade if not specified)
Milvus first pick the correct segment to work with
Then do scalar filtering on the segment based on partition keys and other filter conditions.
Describe the solution you'd like.
@XuanYang-cn @longjiquan @congqixia @yhmo @yelusion2 @shanghaikid @yah01 @nameczz
Describe an alternate solution.
No response
Anything else? (Additional Context)
No response
The text was updated successfully, but these errors were encountered: