From 925d8312adb0f45222dc4abb0f2c6dbd3c8b2fd9 Mon Sep 17 00:00:00 2001 From: Thomas Wilkerling Date: Wed, 21 May 2025 15:12:55 +0200 Subject: [PATCH] fix github action --- README.md | 1 + src/document/search.js | 1 + test/async.js | 1 + 3 files changed, 3 insertions(+) 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")