From 0ffdb5094e6a475b7043b7f7948e10c2dfefa009 Mon Sep 17 00:00:00 2001
From: Cris Stringfellow <22254235+crislin2046@users.noreply.github.com>
Date: Mon, 27 Dec 2021 20:28:59 +0800
Subject: [PATCH] "Linted"
---
docs/todo | 5 +++--
public/index.html | 15 +++++++++++++++
public/style.css | 3 +++
src/archivist.js | 4 ++--
src/highlighter.js | 7 +++----
src/libraryServer.js | 2 +-
6 files changed, 27 insertions(+), 9 deletions(-)
diff --git a/docs/todo b/docs/todo
index 1d12a95..e2a58db 100644
--- a/docs/todo
+++ b/docs/todo
@@ -1,10 +1,11 @@
-- trigram segmenter not working as expected. (e.g downey JR not getting correct on avenger endgame search page). fix
- complete snippet generation
-- improve title boosting of ranks
+ - improve trigram segmenter: lower max segment length, increase fore and aft context
+ - sometimes snippets do not appear (e.g. avenger endgame google search result for hemsworth query)
- save trigram index to disk
- let's not reindex unless we have changed contentSignature
- result paging
- publish button
+ - added placeholder on dashboard page
- We need to not open other localhosts if we already have one open
- We need to reload on localhost 22120 if we open with that
- ensure we are getting the page text to index once it is actually loaded (we should call again later, or add mutation observer and update on mutate)
diff --git a/public/index.html b/public/index.html
index 70d5f45..5e40a3b 100644
--- a/public/index.html
+++ b/public/index.html
@@ -32,6 +32,10 @@
Serve
+