Skip to content
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

The apoc.vectordb.milvus.query* and apoc.vectordb.weaviate.query* procedures should get the fields config from metadataKey if present. #4231

Open
vga91 opened this issue Nov 18, 2024 · 0 comments

Comments

@vga91
Copy link
Collaborator

vga91 commented Nov 18, 2024

The apoc.vectordb.milvus.query* and apoc.vectordb.weaviate.query* procedures should get the fields config from metadataKey if present.

Expected Behavior (Mandatory)

It should get the fields config from mapping.mappingKey config

Actual Behavior (Mandatory)

It fails with error:

You have to define `field` list of parameter to be returned

How to Reproduce the Problem

Execute:

CALL apoc.vectordb.milvus.queryAndUpdate($host, 'test_collection', [0.2, 0.1, 0.9, 0.7], null, 5, 
{allResults: true, mapping: { relType: 'TEST',  entityKey: 'readID', metadataKey: 'foo' } })
@vga91 vga91 moved this to Todo in APOC Extended Larus Nov 18, 2024
vga91 pushed a commit that referenced this issue Nov 20, 2024
…te.query* procedures should get the fields config from metadataKey if present
vga91 added a commit that referenced this issue Nov 20, 2024
…te.query* procedures should get the fields config from metadataKey if present
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Review
Development

No branches or pull requests

1 participant