Re:A tiny static full-text search engine using Rust and WebA...
by _bxg1 on Wednesday June 10, 2020 @01:17AM
(#23474198)
The article mentions several times that it only matches on whole words
Re:A tiny static full-text search engine using Rust and WebA...
by ricket on Wednesday June 10, 2020 @01:09AM
(#23474148)
Also the search index has not been updated in 8 months so it doesn't include the several recent articles. Which can be confusing, since those articles are right next to the search box when you're at the homepage. I opened a github issue for him.
Re:A tiny static full-text search engine using Rust and WebA...
by omn1 on Wednesday June 10, 2020 @05:03AM
(#23475226)
Thanks for the heads-up; will fix.
The reason is, that I'm working on decoupling the search frontend from the JSON search blobs. Want to make the frontend-part installable through npm as well (and not just cargo as it is now). Didn't get around to adding the search index generation to Github actions yet due to limited time. Here's the pipeline if you want to give me a hand and add the tinysearch build: https://github.com/mre/mre.github.io/blob/source/.github/wor...
A word "elasticlunr", appears in the linked article, and the linked article appears in search results, but searching any partial string such as "elastic", "elasticl" "elasticlu" and "elasticlun" will not result in finding the linked article. Perhaps this behaviour is intended by the author, but it may not be intended by the various users of the site.
Oddly,
> elastic* and elasticl*
does find the linked article, but
> elasticlu* and elasticlun*
do not.