Mecking riakc_pb_socket:get/3

2015-11-02 Thread Michael Martin
Hi all, I'm trying to meck riakc_pb_socket:get/3 in my eunit tests, and consistently get a function_clause error. The meck:expect looks like: meck:expect(riakc_pb_socket, get, [Pid, ?RIAK_TYPE_AND_BUCKET, ?TestOid], {ok, ?TestRiakObject}), where Pid is a pid, the macro ?RIAK_TYPE_AND_BUCKE

Re: cuttlefish

2015-10-29 Thread Michael Martin
ckage-users -- Luke Bakken Engineer lbak...@basho.com On Thu, Oct 29, 2015 at 9:32 AM, Michael Martin wrote: Hi Luke, I understand now how to create a new .conf file. But, I still don't see how to make my application aware of that .conf file and properly parse it into an app.config. Starting t

cuttlefish

2015-10-29 Thread Michael Martin
Hi folks, Sorry if this is the wrong venue for cuttlefish questions - please 302 me to the right place if need be. I would like to use cuttlefish in my application, but can't see how to hook it in. Doing the schemas is quite obvious - I have a small set of mappings ready to go. I just don't

Re: YZ search schema question

2015-02-24 Thread Michael Martin
Hi Zeeshan, Actually, I was trying to make this harder than it really is. The easiest way to do this appears to be simply ANDing the two values in the query parms. Thanks, Michael Martin On Tue, Feb 24, 2015 at 9:59 AM, Zeeshan Lakhani wrote: > Hello Michael, > > You should be abl

YZ search schema question

2015-02-24 Thread Michael Martin
/path/to/parent", "self": "myname" } How would I build a schema that would search on "/path/to/parent/myname" without doing something like: { "parent": "/path/to/parent", "self": "myname", "fullpath": "/pa

erlang client

2015-02-01 Thread Michael Martin
238,185,94,62,53,131,41,...>>, [{{dict,2,16,16,8,80,48, {[],[],[],[],[],[],[],[],[],[],[],[],...}, {{[],[],[],[],[],[],[],[],[],[],...}}}, <<"testdata">>}], undefined,undefined}} 11> riakc_pb_sock