gregmarra/the-blue-alliance — pull request #670 by fangeugene (2013-07-26 08:16:00+00:00)
Title: Typeahead rework. Fixes #625

A cron job calculates and stores typeahead data into the db, where the key is currently the first character of every word in a team name, team number, event name, and event short. For example, Team 254 -- The Cheesy Poofs is under the keys "2", "t", "c", and "p".

This isn't super optimal, but the old version worked just by returning everything and this solves the biggest issue of the instances timing out.