cfpb/mapusaurus — pull request #95 by cmc333333 (2014-08-18 21:16:13+00:00)
Title: Few-liner search speed boost

When fetching search results (not indexing), do not include the subselect (it's already in the index) and pre-fetch related fields. The latter avoids N+1 queries, in which we were making an additional query (two, actually) for each result.