Skip to content

Commit 85c53d2

Browse files
authored
Merge pull request #6037 from jacob-lcs/patch-2
2 parents 34738ad + fa7bc17 commit 85c53d2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

core/indexing/chunk/chunk.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,12 @@ export async function* chunkDocument({
6363
resolve({
6464
...chunkWithoutId,
6565
digest,
66-
index,
66+
index: index++,
6767
filepath,
6868
});
6969
})();
7070
}),
7171
);
72-
index++;
7372
}
7473
for await (const chunk of chunkPromises) {
7574
if (!chunk) {

0 commit comments

Comments
 (0)