mirror of
https://github.com/zadam/trilium.git
synced 2026-05-28 19:00:12 +02:00
OCRContentExpression now takes all tokens as an array (like NoteContentFulltextExp), iterates over the input note set from becca, and checks text representations in-memory — zero SQL queries. parse.ts creates a single OCRContentExpression(tokens) instead of N separate instances. The LIMIT 50 and the N+1 blob→note/attachment queries are gone entirely.