diff --git a/hc/front/management/commands/populate_searchdb.py b/hc/front/management/commands/populate_searchdb.py index 6184cf7e..efa20721 100644 --- a/hc/front/management/commands/populate_searchdb.py +++ b/hc/front/management/commands/populate_searchdb.py @@ -15,7 +15,7 @@ class Command(BaseCommand): cur = con.cursor() cur.execute("DROP TABLE IF EXISTS docs") cur.execute( - """CREATE VIRTUAL TABLE docs USING FTS5(slug, title, body, tokenize="trigram")""" + """CREATE VIRTUAL TABLE docs USING FTS5(slug, title, body, tokenize="porter unicode61")""" ) docs_path = os.path.join(settings.BASE_DIR, "templates/docs") diff --git a/search.db b/search.db index b4ad4aee..32f758e4 100644 Binary files a/search.db and b/search.db differ diff --git a/static/js/search.js b/static/js/search.js index 3e7eadfb..a6e3b209 100644 --- a/static/js/search.js +++ b/static/js/search.js @@ -24,8 +24,4 @@ $(function() { } }); }); - - // input.on("blur", function() { - // $("#search-results").removeClass("on"); - // }); }); \ No newline at end of file