works on cli but not in erl vm

Wes James comptekki at
Tue Apr 3 17:55:52 EDT 2012

I can get results with:

bin/search-cmd search mybucket "field:some-text"

but if I run erl like this:

erl -name riaktest at -setcookie riak -pa lib/*/ebin

then run:


I get the error:

** exception error: bad argument
     in function  ets:lookup/2
        called as ets:lookup(schema_table,<<"mybucket">>)
     in call from riak_search_config:get_schema/1
     in call from riak_search_client:parse_query/3
     in call from search:search_doc/3

Any idea why?



More information about the riak-users mailing list