-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[Feature]: Error when creating collection: schema does not contain vector field: invalid parameter #33853
Comments
Hi @lynnssi , may I ask that in what scenario would you need to use a vector database without requiring a vector field? |
I have the same issue. Reason is simple, I have duplicate metadata that I do not want to flatten/denormalized into the table, which makes it very redundant. (It's bit like relational db. I know milvus is not meant for that, but I wouldn't want to put meta data in yet another RDBMS, which simplified increase our tech stack complexity.) BTW, this is a breaking change to our techstack. To avoid reimplementing the workflow, I'm gonna add a dummy vector field and bypass for now. |
Milvus is not designed for this. Even though milvus will support "data in data out " feature soon, where vector field is not required any more, we still expect data to be embedded into a vector field. Also, Milvus won't support any operation like Join so store meta into multiple collection should not be a solution |
+1 to supporting this. I'm adding Milvus to Feast (https://github.com/feast-dev/feast) and it'd be great if we could allow creating something without this strict requirement. For now, I'm just going to insert a dummy column with a vector but it'd be ideal if users could do without this. |
not sure if milvus is the best option under that use case. But maybe we can add a config to ignore the check here? @liliu-z what do you think? |
what people can do is query with Match and some complicated filters |
If a user chooses Milvus even though it may not be the optimal database to use, they should still be able to use it and they probably have good reasons for it. |
Is there an existing issue for this?
Is your feature request related to a problem? Please describe.
In Milvus 2.4.1, I am able to create collections that do not have a vector field in the schema. When I upgraded to 2.4.4, I encountered the error
RPC error: [create_collection], <MilvusException: (code=1100, message=schema does not contain vector field: invalid parameter)>
.I would like to be able to use this functionality of vector-less collections in future versions of Milvus
Example code
Describe the solution you'd like.
I would like to be able to create, insert into, and query collections that do not have a vector field in future versions of Milvus. This is very useful for the development of search applications.
Describe an alternate solution.
No response
Anything else? (Additional Context)
No response
The text was updated successfully, but these errors were encountered: