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:
2
dist/module-debug/document.js
vendored
2
dist/module-debug/document.js
vendored
@@ -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();
|
||||
|
Reference in New Issue
Block a user