diff options
Diffstat (limited to '_log/site-search.md')
| -rw-r--r-- | _log/site-search.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/_log/site-search.md b/_log/site-search.md index 50de7b2..4f965f9 100644 --- a/_log/site-search.md +++ b/_log/site-search.md @@ -5,7 +5,7 @@ layout: post --- Developed a suffix-array-based search engine for the site today. While a simple -regex search was enough, I couldn't resist the technical elegance of a proper +regex search was enough, couldn't resist the technical elegance of a proper index. Indexer: Implemented the indexer in Perl to crawl the HTML, lowercase the text, @@ -97,7 +97,8 @@ using lock-file semaphores, and capped the query length (64 B) and the result set (20). Mitigated XSS by HTML-escaping all output using HTML::Escape. At my current pace of twelve articles a year, the search should work without -intervention for the next 833 years. Penciled in the next release for 2859 AD. +intervention for the next 833 years. Penciled in the next release for Anno +Domini 2859. Commit: <a href="https://git.asciimx.com/www/commit/?h=term&id=6da102d6e0494a3eac3f05fa3b2cdcc25ba2754e" |
