Skip to content

Evaluate a sqlite based version of the quick filter#220

Draft
amaa-99 wants to merge 3 commits into
mvo5:masterfrom
amaa-99:93-evaluate-a-sqlite-based-version-of-the-quick-filter
Draft

Evaluate a sqlite based version of the quick filter#220
amaa-99 wants to merge 3 commits into
mvo5:masterfrom
amaa-99:93-evaluate-a-sqlite-based-version-of-the-quick-filter

Conversation

@amaa-99

@amaa-99 amaa-99 commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Test implementation of the quick filter using sqlite and fts5.

I've picked on the idea from @julian-klode and put up a version for evaluating the usability.
Could you (@mvo5, @andy128k) give this a try and let me know if I should refine this further?

Sample syntax (from the fts5 specs):
"linux-" - All packages containing linux- in the name or description
^"linux-" - All packages starting with linux- in the name or description
name:^"linux-" - All packages starting with linux- in the name
description:^"linux-" - All packages starting with linux- in the description

@amaa-99

amaa-99 commented Jul 7, 2026

Copy link
Copy Markdown
Contributor Author

The populating (and indexing) of the text search database is done synchronously whenever the cache gets updated (at the same spot where the view gets updated). On my tests it took up to 2s to populate/index the database, so the extra delay is not particularly annoying.

If this is a viable option I'd look into running the indexing asynchronously, and having a parser for the search string.

@amaa-99 amaa-99 marked this pull request as draft July 7, 2026 13:17
@amaa-99 amaa-99 force-pushed the 93-evaluate-a-sqlite-based-version-of-the-quick-filter branch 2 times, most recently from 2bbc1a3 to 7992307 Compare July 8, 2026 08:53
…ull-expression":

Fixed the access to the object's data outside its lifetime.
@amaa-99 amaa-99 force-pushed the 93-evaluate-a-sqlite-based-version-of-the-quick-filter branch from 7992307 to d9a3576 Compare July 9, 2026 10:35
…ull-expression":

Fixed the access to the object's data outside its lifetime.
@amaa-99 amaa-99 force-pushed the 93-evaluate-a-sqlite-based-version-of-the-quick-filter branch from d9a3576 to b6aef47 Compare July 9, 2026 10:38
Test implementation of the quick filter using sqlite and fts5.
@amaa-99 amaa-99 force-pushed the 93-evaluate-a-sqlite-based-version-of-the-quick-filter branch from b6aef47 to c8c5d3c Compare July 9, 2026 11:01
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.

1 participant