Enhance getPopular method to use Thinking Sphinx instead of db queries. Enhance search method to filter by ids and authors.