Riak search from a separate erlang node

Jebu Ittiachen jebu at jebu.net
Thu Oct 14 00:45:27 EDT 2010


Hi,
  I've been using riak from a remote erlang node with no issues via a
riak_client connection to the riak node. However the riak_search_client
seems to not support using it from a remote erlang node. Why is it that I
cannot use search features from a remote node?

{ok, R1} = riak_search:client_connect('riaksearch at 127.0.0.1').
R1:parse_query(<<"blah">>,<<"blah">>).
** exception exit: {noproc,{gen_server,call,

[riak_search_config,{get_schema,<<"blah">>},infinity]}}
     in function  gen_server:call/3
     in call from riak_search_client:parse_query/3

whereas this is fine
{ok, Ops1} = rpc:call('riaksearch at 127.0.0.1', R1, parse_query,
[<<"blah">>,<<"blah">>]).
{ok,[{term,<<"blah">>,[]}]}


--
Jebu Ittiachen
jebu at jebu.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20101014/67f36587/attachment.html>


More information about the riak-users mailing list