algolia/algoliasearch-rails — pull request #10 by zapnap (2014-01-31 06:08:25+00:00)
Title: Support :if and :unless options for conditional indexing

Allows us to specify whether a specific record should be included in the index. For example, would make sense to *not* index unpublished articles or articles in draft mode in an articles index.