Query the persistent FTS index, then re-admit every over-fetched candidate against the current lexical and physical vault policy before returning it.
Vault whose current visibility policy is authoritative.
Open persistent FTS index.
Query, optional filters, parsed lower mtime bound and result cap.
Live public regular-file hits in their original BM25 order.
const hits = await searchLiveFts(vault, ftsIndex, { query: "retrieval", limit: 10 }); Copy
const hits = await searchLiveFts(vault, ftsIndex, { query: "retrieval", limit: 10 });
Query the persistent FTS index, then re-admit every over-fetched candidate against the current lexical and physical vault policy before returning it.