image: wildflowers

I’ve added find (site search) to arts & ego.

The engine is Xapian-Omega, chosen because:

  1. it runs under OpenBSD, the operating system that hosts arts & ego;
  2. it’s written in C++, and thus capable of being efficient;
  3. it was pretty easy to put in place;
  4. it requires no scripting, so preserves arts & ego’s static site ethos.

Having said that, there are issues to address:

  1. it’s not obvious that hits on photo pages are just that;
  2. I’ve yet to work out how to dig information out of JPGs, MP3s, etc.;
  3. I had to write some wrappers to reduce the risk of cgi-bin parameter abuse; these may need further work.