Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Neo4j module: remove unnecessary property removal.
Browse files Browse the repository at this point in the history
Closes spring-projects#1932

Signed-off-by: Gerrit Meier <[email protected]>
Signed-off-by: leijendary <[email protected]>
meistermeier authored and leijendary committed Jan 24, 2025
1 parent 5f1918d commit fa954d9
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -207,12 +207,7 @@ public void doAdd(List<Document> documents) {
var statement = """
UNWIND $rows AS row
MERGE (u:%s {%2$s: row.id})
ON CREATE
SET u += row.properties
ON MATCH
SET u = {}
SET u.%2$s = row.id,
u += row.properties
WITH row, u
CALL db.create.setNodeVectorProperty(u, $embeddingProperty, row[$embeddingProperty])
""".formatted(this.label, this.idProperty);

0 comments on commit fa954d9

Please sign in to comment.