Skip to content

Commit 07ff02a

Browse files
author
Joan Fontanals Martinez
committed
fix: fix match score
1 parent beeb322 commit 07ff02a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docarray/array/mixins/match.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def match(
121121
if only_id:
122122
d = Document(id=rhv[_id].id)
123123
else:
124-
d = rhv[int(_id)] # type: Document
124+
d = Document(rhv[int(_id)], copy=True) # type: Document
125125

126126
if d.id in lhv:
127127
d = Document(

0 commit comments

Comments
 (0)