diff --git a/scripts/generate.py b/scripts/generate.py index 6c990c0..2ca6882 100644 --- a/scripts/generate.py +++ b/scripts/generate.py @@ -77,7 +77,7 @@ def create_db(path): os.unlink(path) db = sqlite3.connect(path) - db.execute('CREATE VIRTUAL TABLE note_search USING fts5(note_id, title, body, top_level_title, is_done, is_todo);') + db.execute('CREATE VIRTUAL TABLE note_search USING fts5(note_id, title, body, top_level_title, is_done, is_todo, tokenize="trigram");') return db def load_all(top_dir_relative):