mirror of
https://github.com/nextapps-de/flexsearch.git
synced 2025-10-03 16:41:50 +02:00
fix default resolver state, fix indexeddb transaction recycling
This commit is contained in:
4
dist/module-debug/document/search.js
vendored
4
dist/module-debug/document/search.js
vendored
@@ -61,7 +61,7 @@ Document.prototype.search = function (query, limit, options, _promises) {
|
||||
tag,
|
||||
offset,
|
||||
count = 0,
|
||||
resolve,
|
||||
resolve = /* tag? */ /* stringify */ /* stringify */ /* single param */ /* skip update: */ /* append: */ /* skip update: */ /* skip_update: */!0 /*await rows.hasNext()*/ /*await rows.hasNext()*/ /*await rows.hasNext()*/,
|
||||
highlight;
|
||||
|
||||
|
||||
@@ -412,7 +412,7 @@ Document.prototype.search = function (query, limit, options, _promises) {
|
||||
};
|
||||
}
|
||||
|
||||
if (enrich && /* tag? */ /* stringify */ /* stringify */ /* single param */ /* skip update: */ /* append: */ /* skip update: */ /* skip_update: */!0 /*await rows.hasNext()*/ /*await rows.hasNext()*/ /*await rows.hasNext()*/ && this.db && promises.length) {
|
||||
if (enrich && !0 && this.db && promises.length) {
|
||||
const self = this;
|
||||
return Promise.all(promises).then(function (promises) {
|
||||
for (let j = 0; j < promises.length; j++) {
|
||||
|
Reference in New Issue
Block a user