"Up todo"

This commit is contained in:
Cris Stringfellow 2021-12-26 16:29:10 +08:00
parent 236fa13c71
commit b75e0dabb8
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,5 @@
- implement trigram index run segmenter
- search improvements
- implement trigram index
- use different min score options for different sources (noticed URL not match meghan highlight for hello mag even tho query got megan and did match and highlight queen in url)
- get snippets earlier (before rendering in lib server) and use to add to signal
- if we have multiple query terms (multiple determined by some form of tokenization) then try to show all terms present in the snippet. even tho one term may be higher scoring. Should we do multiple passes of ukkonen distance one for whole query and one for each term? This will be easier / faster with trigrams I guess. Basically we want snippet to be a relevant summary that provides signal.

View File

@ -17,7 +17,8 @@
"test": "nodemon src/app.js",
"save": "nodemon src/app.js 22120 save",
"serve": "nodemon src/app.js 22120 serve",
"lint": "watch -n 5 npx eslint ."
"lint": "watch -n 5 npx eslint .",
"test-hl": "node src/highlighter.js"
},
"repository": {
"type": "git",