1
0
mirror of https://github.com/nextapps-de/flexsearch.git synced 2025-10-03 16:41:50 +02:00

export/import document worker

This commit is contained in:
Thomas Wilkerling
2025-03-20 21:57:25 +01:00
parent e55c2d1efc
commit f2302f0dee
64 changed files with 2483 additions and 1243 deletions

View File

@@ -26,9 +26,9 @@ const config = {
];
// add test data
data.forEach((item, id) => {
index.add(id, item);
});
for(let i = 0; i < data.length; i++){
await index.addAsync(i, data[i]);
}
// perform query
let result = await index.search({