Skip to content

multiple-collection - #103

Draft
nagi-17 wants to merge 2 commits into
sdslabs:multi-collectionfrom
nagi-17:multiple-collection
Draft

nagi-17 wants to merge 2 commits into
sdslabs:multi-collectionfrom
nagi-17:multiple-collection

Conversation

@nagi-17

@nagi-17 nagi-17 commented Oct 20, 2026

Copy link
Copy Markdown

Draft PR to add support for collections

Comment thread crates/grpc/proto/vector-db.proto Outdated

message PointID {
UUID id = 1;
string collection = 2;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why does this have collection ?. I think its better if you just send the collection as a separate argument in each request.

Comment thread crates/grpc/proto/vector-db.proto Outdated

message SearchPointsBatchRequest {
repeated SearchRequest queries = 1;
string collection = 2;

@TanmayArya-1p TanmayArya-1p Oct 21, 2026 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

each SearchRequest already has collection so this shouldn't exist.

Comment thread crates/grpc/proto/vector-db.proto Outdated
}

message CollectionInfo {
string name = 1;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you defined CollectionName so you should use it here as well

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you should rather rename CollectionName -> CollectionID. If in the future we use UUIDs instead of strings it would still make sense

Comment thread crates/grpc/proto/vector-db.proto Outdated
Comment on lines +110 to +116
message CreateCollectionRequest {
string name = 1;
uint64 dimension = 2;
Similarity similarity = 3;
IndexType index_type = 4;
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this can just take a CollectionInfo right

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

Successfully merging this pull request may close these issues.

2 participants