1
0
mirror of https://github.com/nextapps-de/flexsearch.git synced 2025-10-03 08:31:50 +02:00

fix indexeddb #479

This commit is contained in:
Thomas Wilkerling
2025-03-26 09:40:20 +01:00
parent b2db45a47c
commit 471830ef0f
46 changed files with 1311 additions and 1258 deletions

View File

@@ -204,7 +204,7 @@ Document.prototype.commit = async function (replace, append) {
// parallel:
const promises = [];
for (const index of this.index.values()) {
promises.push(index.commit(index, replace, append));
promises.push(index.commit(replace, append));
}
await Promise.all(promises);
this.reg.clear();