Uh oh!
There was an error while loading. Please reload this page.
Add possible search implementation - #62
Conversation
this aligns it to be in a similar position to the one on home page, hopefully preventing "where's the search bar gone"
Uh oh!
There was an error while loading. Please reload this page.
07f6f49 to
daec9ecCompare
rsa33
left a comment
There was a problem hiding this comment.
Ok, this builds and seems to work -- the matching is a little funky (e.g. typing an extra character sometimes produces more results rather than narrowing) but generally surfaces useful pages, which I think is a huge improvement over a lack of search.
The latency on long queries is a bit rough though. Whilst I'd expect most people not to write too much here, pasting errors and the like may make it noticeable. A quick look around online led me to flexsearch and its benchmark page which suggests fuse might be one of the slowest libraries. 😅 Is it worth trying a different one?
Uh oh!
There was an error while loading. Please reload this page.
| boost: 1 | ||
| }, | ||
| { | ||
| field: "heading-title-tolerant", |
There was a problem hiding this comment.
might be able to remove these? can't seem to get a meaningful difference in results with/without them - I think suggest: true might cover the same case
Add a possible implementation for searching.
Potential issues: