mostlyserious/riak-js — pull request #136 by kenperkins (2012-12-01 05:49:32+00:00)
Title: Permit Search to use host other than Localhost

Currently, there are no options permitted for HttpSearchClient. As a result of this, you can't specify a non-default host (i.e. my.riak.host.whatever.com) for search calls, resulting in node.js connection refused errors.

The connection refused errors should probably be caught and returned back to the caller, but this proposal allows passing the options passed to getClient() down to the search layer.

I'm not familiar with your style so please propose suggestions.