Added functionality to allow classes responding to an :index_name method to be passed into search. Very useful when defining global or individual index names or prefixes.
Allow classes with index_name method to be passed to search
Hey, what's the motivation here? I mean, using Search::Search.new(ActiveModelArticle.index_name) is equally easy?
It is definitely just an added convenience to the library, but does bring the interface more in line with other common search gems (sunspot, thinking_sphinx, etc).
Maybe, but sorry, thins feels too heavy to me...