Skip to content

Commit 42e249f

Browse files
authored
perf: rrf code (#5559)
1 parent a952539 commit 42e249f

File tree

1 file changed

+2
-4
lines changed
  • packages/global/core/dataset/search

1 file changed

+2
-4
lines changed

packages/global/core/dataset/search/utils.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,7 @@ export const datasetSearchResultConcat = (
6464
});
6565
}
6666

67-
return {
68-
...item,
69-
rrfScore: undefined
70-
};
67+
const { rrfScore: _, ...result } = item;
68+
return result;
7169
});
7270
};

0 commit comments

Comments
 (0)