diff --git a/README.md b/README.md index c8fdeb0..81d5c9e 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ Getting instant help by the DeepWiki AI assistant: + [Ask DeepWiki.com](https://deepwiki.com/nextapps-de/flexsearch)

diff --git a/src/document/search.js b/src/document/search.js index 71a417f..e53649b 100644 --- a/src/document/search.js +++ b/src/document/search.js @@ -333,6 +333,7 @@ Document.prototype.search = function(query, limit, options, _promises){ res = res.result || res; len = res && res.length; + // todo when no term was matched but tag was retrieved extend suggestion to tags // every field has to intersect against all selected tag fields if(tag && len){ diff --git a/test/async.js b/test/async.js index 4fa23d6..e027259 100644 --- a/test/async.js +++ b/test/async.js @@ -1,5 +1,6 @@ global.self = global; const env = process.argv[3] && process.argv[3] === "--exit" ? process.argv[4] : process.argv[3]; +console.log(process) import { expect } from "chai"; console.log("--RELEASE-------------"); console.log(env ? "dist/" + env + ".js" : "src/bundle.js")