Skip to content

Evaluate a sqlite based version of the quick filter (feedback wanted)#220

Draft
amaa-99 wants to merge 5 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 (feedback wanted)#220
amaa-99 wants to merge 5 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 6 times, most recently from c8c5d3c to 025e7ee Compare July 13, 2026 06:16
Amaa added 4 commits July 13, 2026 10:45
Added missing #include statements and removed the not used.
Grouped the #include statements and removed duplicates.
Fixed the circular/recursive inclusion cases.
Corrected <ruserdialog.h> to "ruserdialog.h".
Removed the unused variables.
Removed the unused variables.
@amaa-99 amaa-99 force-pushed the 93-evaluate-a-sqlite-based-version-of-the-quick-filter branch from 025e7ee to 0632d50 Compare July 13, 2026 10:45
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 0632d50 to e537586 Compare July 13, 2026 11:01
@amaa-99 amaa-99 changed the title Evaluate a sqlite based version of the quick filter Evaluate a sqlite based version of the quick filter (feedback wanted) Jul 13, 2026
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