vector-admin icon indicating copy to clipboard operation
vector-admin copied to clipboard

[BUG]: Weaviate: Indexes seem to be queries with underscores removed?

Open bbrala opened this issue 7 months ago • 10 comments

How are you running VectorAdmin?

Docker (local)

What happened?

Error when trying to sync.

Are there known steps to reproduce?

Connected to weaviate with existing named classes that do not use camelcase, then you get following messages consistently when trying to sync.

vector-admin | ClientError: Cannot query field "Bp10153C51068DocumentChunksV1" on type "GetObjectsObj". Did you mean "Bp101_53c51068_documentChunks__v1", "Bp131_13b35c33_documentChunks", "Bp160_15dede47_documentChunks", "Bp100_e19743d9_documentChunks__v1", or "Bp48_8ae7d6f8_documentChunks__v1"?: {"response":{"errors":[{"locations":[{"column":6,"line":1}],"message":"Cannot query field \"Bp10153C51068DocumentChunksV1\" on type \"GetObjectsObj\". Did you mean \"Bp101_53c51068_documentChunks__v1\", \"Bp131_13b35c33_documentChunks\", \"Bp160_15dede47_documentChunks\", \"Bp100_e19743d9_documentChunks__v1\", or \"Bp48_8ae7d6f8_documentChunks__v1\"?","path":null}],"status":200,"headers":{}},"request":{"query":"{Get{Bp10153C51068DocumentChunksV1(limit:1){_additional { vector }}}}"}}

And

vector-admin | Weaviate:namespaceCountWithClient Cannot query field "Bp111F0880665DocumentChunksV1" on type "AggregateObjectsObj". Did you mean "Bp126_0dcea379_documentChunks", "Bp138_15a0c090_documentChunks__v1", "Bp58_ee2680db_documentChunks__v1", "Bp111_f0880665_documentChunks__v1", or "Bp125_414b683f_documentChunks"?: {"response":{"errors":[{"locations":[{"column":12,"line":1}],"message":"Cannot query field \"Bp111F0880665DocumentChunksV1\" on type \"AggregateObjectsObj\". Did you mean \"Bp126_0dcea379_documentChunks\", \"Bp138_15a0c090_documentChunks__v1\", \"Bp58_ee2680db_documentChunks__v1\", \"Bp111_f0880665_documentChunks__v1\", or \"Bp125_414b683f_documentChunks\"?","path":null}],"status":200,"headers":{}},"request":{"query":"{Aggregate{Bp111F0880665DocumentChunksV1{meta { count }}}}"}}

And more of those.

bbrala avatar Jul 06 '24 21:07 bbrala