Fixes

Search stopped timing out during busy stretches

A few times a day, a search on BerksConnect came back with "Something went wrong running the search." We traced it: the search read every listing's description from scratch on each query, which was fine on a quiet site and fell over when a burst of visits arrived at once. The database gave up after three seconds and you saw the error.

The search now goes straight to the closest matches through an index instead of reading everything. The same searches that took 100 to 250 milliseconds take about 20, and the timeouts are gone. You will not notice a faster search so much as you will stop noticing a broken one, and that was the point.

Everything we've shipped, newest first

    Search stopped timing out during busy stretches - BerksConnect