1
0
mirror of https://github.com/nextapps-de/flexsearch.git synced 2025-08-27 07:44:35 +02:00

fix github action

This commit is contained in:
Thomas Wilkerling
2025-05-21 15:12:55 +02:00
parent b0db87d3f5
commit 925d8312ad
3 changed files with 3 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
<!-- FlexSearch v0.8: [Overview and Migration Guide](doc/0.8.0.md) --> <!-- FlexSearch v0.8: [Overview and Migration Guide](doc/0.8.0.md) -->
Getting instant help by the DeepWiki AI assistant: Getting instant help by the DeepWiki AI assistant:
[<img src="https://devin.ai/assets/deepwiki-badge.png" alt="Ask DeepWiki.com" height="20"/>](https://deepwiki.com/nextapps-de/flexsearch) [<img src="https://devin.ai/assets/deepwiki-badge.png" alt="Ask DeepWiki.com" height="20"/>](https://deepwiki.com/nextapps-de/flexsearch)
<h2></h2> <h2></h2>

View File

@@ -333,6 +333,7 @@ Document.prototype.search = function(query, limit, options, _promises){
res = res.result || res; res = res.result || res;
len = res && res.length; len = res && res.length;
// todo when no term was matched but tag was retrieved extend suggestion to tags // todo when no term was matched but tag was retrieved extend suggestion to tags
// every field has to intersect against all selected tag fields // every field has to intersect against all selected tag fields
if(tag && len){ if(tag && len){

View File

@@ -1,5 +1,6 @@
global.self = global; global.self = global;
const env = process.argv[3] && process.argv[3] === "--exit" ? process.argv[4] : process.argv[3]; const env = process.argv[3] && process.argv[3] === "--exit" ? process.argv[4] : process.argv[3];
console.log(process)
import { expect } from "chai"; import { expect } from "chai";
console.log("--RELEASE-------------"); console.log("--RELEASE-------------");
console.log(env ? "dist/" + env + ".js" : "src/bundle.js") console.log(env ? "dist/" + env + ".js" : "src/bundle.js")