Repository navigation
0.8.0
MemDrive 0.8.0 — Search that actually finds things
This release replaces the old keyword scan with real full-text search. It understands Chinese, ranks results by relevance, and adds filters, pages, and a library health check.
What's new
- Real search: results are ranked by relevance, and each result shows the passage where your words appear — not just a filename.
- Chinese that works: searching "说了" finds notes that actually say 说了. Before, it also returned every note containing the single characters 说 or 了.
- Filters: narrow results by file type, tag, date, or an exact phrase.
- Results in pages: a search with dozens of hits now comes back a page at a time instead of flooding the chat.
- New notes are searchable right away: save a note and search for it immediately — no waiting.
- Library health check: ask for a diagnostics report and see empty notes, duplicates, broken image links, and attachments nothing points to anymore. It only reads — it never changes or deletes anything.
- More image links found: Obsidian-style embeds (
![[img.png]]) and reference-style links are now recognized, alongside the old inline and<img>forms. - Works in the background: the search index builds itself on first use. While it's building, search still works the old way. Saving a note updates the index for that note at once.
- Safe to share one library: using the same library from Claude Desktop and Cursor at the same time no longer risks corrupting the index.
Fixed
- New notes used to take up to 5 seconds to become searchable. Now they're searchable immediately.
- A very large log file could freeze the server for ~12 seconds. Now it's skipped (only its name is indexed).
- Chinese searches no longer return noise from single characters.
- Image links with
#or?in the path no longer break. - Date filters and tag matching had edge-case bugs — fixed.
- A damaged search index used to make every search fail. Now it rebuilds itself.
Known limitations (coming in 0.8.1)
- In rare cases a search result passage can run a little long — by the size of the blank space between two paragraphs.
- Rebuilding the index while another app is using it quietly does nothing; you'll need to retry.
- If a second app starts while the first is still building the index, it keeps using the old-style search until the next restart.
Verified
- 125/125 automated tests on Linux, 124/124 on Windows
- Tested by hand in Claude Desktop, Cursor, and VS Code
- Speed (10,000 notes): first build ~13–15 s; typical search ~23 ms