algolia/algoliasearch-rails — pull request #7 by ctide (2014-01-29 00:35:53+00:00)
Title: Prevent algoliasearch from throwing exceptions if some of the search results aren't returned locally

In some cases, we're applying various scopes to the algoliasearch results. When those filter out results that are returned from the search backend, then it throws an exception trying to highlight results. This ensures that those results are just filtered out instead.