chore: deps

This commit is contained in:
iCrawl
2023-12-19 14:33:04 +01:00
parent db56324624
commit 171cb182ed
27 changed files with 2984 additions and 2322 deletions

View File

@@ -52,7 +52,10 @@ try {
await Promise.all(
indices.map(async (index) => {
console.log(`Uploading ${index.index}...`);
await client.createIndex(index.index);
try {
await client.createIndex(index.index);
} catch {}
await client.index(index.index).addDocuments(index.data);
}),
);