1
0
mirror of https://github.com/nextapps-de/flexsearch.git synced 2025-10-04 09:01:41 +02:00

proper light/compact bundle

This commit is contained in:
Thomas Wilkerling
2025-03-20 11:53:22 +01:00
parent b2c79cfd0e
commit 84c7a08e9e
60 changed files with 1591 additions and 2238 deletions

View File

@@ -59,7 +59,7 @@ const { Index } = require("flexsearch");
const files = await fs.readdir("./export/");
await Promise.all(files.map(async file => {
const data = await fs.readFile("./export/" + file, "utf8");
await index.import(file, data);
index.import(file, data);
}));
// perform query