neo4j-contrib / neo4j-apoc-procedures

Awesome Procedures On Cypher for Neo4j - codenamed "apoc"                     If you like it, please ★ above ⇧            
https://neo4j.com/labs/apoc
Apache License 2.0
1.72k stars 493 forks source link

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

Open vga91 opened 3 days ago

vga91 commented 3 days ago

Fixes #4231

Added new method addMetadataKeyToFields in VectorDbUtil: the method extracts fields or creates a new ArrayList, evaluates whether the metadata map is full and extracts the metadataKey string. If the string is not empty or null it adds it to the fields list