From 275f4a1c65fdc3145bef81f9462bceb6a660ad14 Mon Sep 17 00:00:00 2001 From: Cris Stringfellow <22254235+crislin2046@users.noreply.github.com> Date: Sun, 19 Dec 2021 13:29:55 +0800 Subject: [PATCH] "OK" --- archivist.js | 2 +- issues | 12 ++++++++++++ todo | 1 + 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 issues diff --git a/archivist.js b/archivist.js index 43359d9..9cb371d 100644 --- a/archivist.js +++ b/archivist.js @@ -35,7 +35,7 @@ // search related state: constants and variables // common const NDX_OLD = false; - const USE_FLEX = false; + const USE_FLEX = true; const FTS_INDEX_DIR = args.fts_index_dir; const NDX_FTS_INDEX_DIR = args.ndx_fts_index_dir; diff --git a/issues b/issues new file mode 100644 index 0000000..a7fcf8c --- /dev/null +++ b/issues @@ -0,0 +1,12 @@ +- ndx index seems to lose documents. + - e.g. + 1. visit goog:hell + 2. visit top link: wiki - hell + 3. visit hellomagainze.com + 4. search hell + 5. see results: goog/hell, wiki/hell, hellomag + 6. reload wiki - hell + 7. search hell + 8. see results: wiki/hell, hellomag + - WHERE THE HELL DID goog/hell go? + diff --git a/todo b/todo index b408eb9..9f2ae70 100644 --- a/todo +++ b/todo @@ -1,3 +1,4 @@ +- combine flex and ndx search signals - add fuzzysort as another search signal - maybe merge all outstanding PRs for fuzzy into fuzzy since it hasn't been maintained since 2018 - Snippets with highlights via levenshtein distance search from natural