File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -399,9 +399,9 @@ def get_duplicate_nodes_list(self):
399399 AND
400400 (
401401 // either contains each other as substrings or has a text edit distinct of less than 3
402- (size(toString(other.id)) > 2 AND toLower(n.id) CONTAINS toLower(other.id)) OR
403- (size(toString(n.id)) > 2 AND toLower(other.id) CONTAINS toLower(n.id))
404- OR (size(toString(n.id))>5 AND apoc.text.distance(toLower(n.id), toLower(other.id)) < $duplicate_text_distance)
402+ (size(toString(other.id)) > 2 AND toLower(toString( n.id)) CONTAINS toLower(toString( other.id) )) OR
403+ (size(toString(n.id)) > 2 AND toLower(toString( other.id)) CONTAINS toLower(toString( n.id) ))
404+ OR (size(toString(n.id))>5 AND apoc.text.distance(toLower(toString( n.id)) , toLower(toString( other.id) )) < $duplicate_text_distance)
405405 OR
406406 vector.similarity.cosine(other.embedding, n.embedding) > $duplicate_score_value
407407 )] as similar
You can’t perform that action at this time.
0 commit comments