From 00f63c03b7c5de68aea6a2305886bc1953a722b6 Mon Sep 17 00:00:00 2001 From: Ken D'Ambrosio Date: Mon, 8 Jun 2026 19:11:51 +0000 Subject: Add photo search with Boolean operators - Server-side search index built from all album.json files + people.json, cached in memory for 5 minutes. Each photo document includes filename, album path words, title, caption, camera, date parts (year/month-name/ full date), and person names. - Recursive-descent Boolean parser: AND (explicit or implicit between consecutive terms), OR, NOT, with standard precedence. - GET /search?q=... returns a photo grid (max 300 results) linking each photo back to its album lightbox. - Search box added to the site header; hidden on mobile. - Results show filename, date, person names, and album path per photo. Co-Authored-By: Claude Sonnet 4.6 --- views/layout.erb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'views/layout.erb') diff --git a/views/layout.erb b/views/layout.erb index e0c5399..7069e76 100644 --- a/views/layout.erb +++ b/views/layout.erb @@ -16,6 +16,11 @@