feat(insights): fix DBSCAN, Persian embeddings crash, D3 physics layouts, and D3 node not found runtime error
This commit is contained in:
@@ -24,7 +24,7 @@ export async function POST(req: NextRequest) {
|
||||
for (let i = 0; i < notes.length; i += BATCH_SIZE) {
|
||||
const batch = notes.slice(i, i + BATCH_SIZE)
|
||||
const results = await Promise.allSettled(
|
||||
batch.map(note => semanticSearchService.indexNote(note.id))
|
||||
batch.map(note => semanticSearchService.indexNote(note.id, { force: true }))
|
||||
)
|
||||
|
||||
for (const r of results) {
|
||||
|
||||
Reference in New Issue
Block a user