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

worker index basic support export/import

This commit is contained in:
Thomas Wilkerling
2025-03-20 09:42:26 +01:00
parent b0311432fd
commit b2c79cfd0e
45 changed files with 3059 additions and 2281 deletions

View File

@@ -36,6 +36,7 @@ const { Index } = require("flexsearch");
console.log(data[i]);
});
// -----------------------
// EXPORT
// -----------------------
@@ -46,6 +47,7 @@ const { Index } = require("flexsearch");
await fs.writeFile("./export/" + key, data, "utf8");
});
// -----------------------
// IMPORT
// -----------------------