Skip to content

WIP: Sqlite quick search#146

Open
julian-klode wants to merge 4 commits intomvo5:masterfrom
julian-klode:sqlite-quick-search
Open

WIP: Sqlite quick search#146
julian-klode wants to merge 4 commits intomvo5:masterfrom
julian-klode:sqlite-quick-search

Conversation

@julian-klode
Copy link
Contributor

@julian-klode julian-klode commented Apr 3, 2025

Just filing this now as a replacement for the Xapian search, building the database in-memory for now. This should probably cache in XDG_RUNTIME_DIRECTORY.

TODOs

  • Run the main loop when building/searching
  • Do some caching
  • Locality sorted building such that we get good performance with Acquire::GzipIndexes enabled

This blocks the main thread; we really need to run the main loop
both when building and inserting, but otherwise works.
This keeps the UI responsive while we are busy searching. Though
perhaps we should show some modal dialog?
@derVedro
Copy link

thanks, worked fine for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants