Points from attribute type-name to list of attributes
NoteIds whose flat text needs to be recomputed in the index.
Pre-built parallel arrays for fast flat text scanning in search. Avoids per-note property access overhead when iterating 50K+ notes. Supports incremental updates: when individual notes change, only their entries are rebuilt rather than the entire index.
Mark a single note's flat text as needing recomputation in the index.
Should be called when the set of all non-skeleton notes changes (added/removed)
Returns pre-built parallel arrays of notes and their flat texts for fast scanning. The flat texts are already normalized (lowercase, diacritics removed). Supports incremental updates: when individual notes are dirtied, only their entries are recomputed rather than rebuilding the entire index.
OptionalignoreMissing: booleanOptionalparams: string[]Optionalparams: string[]
Becca is a backend cache of all notes, branches, and attributes. There's a similar frontend cache Froca, and share cache Shaca.