From c0e09507547ff80ff93d85989c8954fdcb5292f3 Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Fri, 24 Apr 2026 08:10:24 +0800 Subject: Tightened prose in VCS post. --- _log/site-search.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '_log/site-search.md') 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: