Drastically increased the performance of the search functionality.