-
-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
library.py: search() - fts5 search improvement for keywords shorter t…
…han 3 unicode characters FTS5 'match' only evaluates substrings longer than 3 unicode characters, searching for shorter substrings results in no matches being returned. Fixes an issue where attempting to search for substrings shorter than 3 characters was resulting in empty search results. Add "AND description LIKE '%SUBSTRING%'" terms for each substring shorter than 3 characters.
- Loading branch information
Showing
1 changed file
with
30 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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