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

Fixes #4090: The apoc.vectordb.*.get/query procedures should search for nodes/relationships with mapping config #4092

Merged
merged 2 commits into from
May 29, 2024

Conversation

vga91
Copy link
Collaborator

@vga91 vga91 commented May 29, 2024

Fixes #4090

The apoc.vectordb.*.get/query procedures show nodes/rels that can be updated with mapping config

@@ -129,7 +129,7 @@ public Stream<EmbeddingResult> get(@Name("hostOrKey") String hostOrKey,
@Name("collection") String collection,
@Name("ids") List<Object> ids,
@Name(value = "configuration", defaultValue = "{}") Map<String, Object> configuration) throws Exception {
return getCommon(hostOrKey, collection, ids, configuration, true);
return getCommon(hostOrKey, collection, ids, configuration, false);
Copy link
Member

Choose a reason for hiding this comment

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

in general it would be good to avoid boolean variables, rather use an enum, it's confusing esp. if it changes meaning during development.
and what does "updateMode" mean :)
don't we also have 3 modes? READ_ONLY, UPDATE_EXISTING, CREATE_IF_MISSING?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants