mirror of
https://github.com/nextapps-de/flexsearch.git
synced 2025-10-04 17:11:33 +02:00
export/import document worker
This commit is contained in:
4
dist/module-debug/document/add.js
vendored
4
dist/module-debug/document/add.js
vendored
@@ -157,6 +157,10 @@ Document.prototype.add = function (id, content, _append) {
|
||||
|
||||
this.store.set(id, payload || content);
|
||||
}
|
||||
|
||||
if (this.worker) {
|
||||
this.fastupdate || this.reg.add(id);
|
||||
}
|
||||
}
|
||||
|
||||
return this;
|
||||
|
Reference in New Issue
Block a user