Implement type-ahead search with Tire.