Evaluate a sqlite based version of the quick filter#220
Draft
amaa-99 wants to merge 3 commits into
Draft
Conversation
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. |
2bbc1a3 to
7992307
Compare
…ull-expression": Fixed the access to the object's data outside its lifetime.
7992307 to
d9a3576
Compare
…ull-expression": Fixed the access to the object's data outside its lifetime.
d9a3576 to
b6aef47
Compare
Test implementation of the quick filter using sqlite and fts5.
b6aef47 to
c8c5d3c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 containinglinux-in the name or description^"linux-"- All packages starting withlinux-in the name or descriptionname:^"linux-"- All packages starting withlinux-in the namedescription:^"linux-"- All packages starting withlinux-in the description