Re: 2i query, weird null results, java pbclient

2011-10-26 Thread Alexander Robbins
Glad to hear it. Thanks for all your help! Alex On Wed, Oct 26, 2011 at 5:14 AM, Russell Brown wrote: > > On 25 Oct 2011, at 20:31, Alexander Robbins wrote: > > Those methods both work with the RawClient and give good results. Thanks > for the help! > > > It was a bu

Re: 2i query, weird null results, java pbclient

2011-10-25 Thread Alexander Robbins
Those methods both work with the RawClient and give good results. Thanks for the help! Alex On Tue, Oct 25, 2011 at 1:03 PM, Russell Brown wrote: > > On 25 Oct 2011, at 18:48, Alexander Robbins wrote: > > > That code snippet isn't working because I've got a Raw

Re: 2i query, weird null results, java pbclient

2011-10-25 Thread Alexander Robbins
Actually, I'm going to look into switching from the RawClient to a normal client. That should make this easier. On Tue, Oct 25, 2011 at 12:48 PM, Alexander Robbins < a...@languagecomputer.com> wrote: > That code snippet isn't working because I've got a RawClient inst

Re: 2i query, weird null results, java pbclient

2011-10-25 Thread Alexander Robbins
quot;, "reduce_identity"); final Map> map1 = new HashMap>(); map1.put("reduce", reduce); query.add(map1); mapReduceObject.put("inputs", inputs); mapReduceObject.put("query", query); final MapReduceSpec spec = new MapReduceSpec(new G

Re: 2i query, weird null results, java pbclient

2011-10-25 Thread Alexander Robbins
4c4f186753ffc5417"],["mentions","7ec9217a7a87c9e43a94170bb1ab8c13566233823ef6f77ef9c455a289c4bdf8"],["mentions","a588d7f0fb413d52a895a5d7e7fcfc966e9a56c42456e7821d2e5fa93b5671ba"],["mentions","aaacde92acf2c61abf9a4104f263283aed6233da08ef

Re: 2i query, weird null results, java pbclient

2011-10-25 Thread Alexander Robbins
Thanks for the classpath tip. That was it. Ok, using the HTTP client I don't get the same weird results. (It is noticeably slower, but that is to be expected I think.) Alex On Mon, Oct 24, 2011 at 4:11 PM, Russell Brown wrote: > > On 24 Oct 2011, at 21:56, Alexander Robbins wro

Re: 2i query, weird null results, java pbclient

2011-10-24 Thread Alexander Robbins
ory.getInstance().newClient( new HTTPClientConfig.Builder().withHost("192.168.1.92").build()) I don't see how I could be causing that error. Any ideas? Alex On Mon, Oct 24, 2011 at 3:02 PM, Russell Brown wrote: > > On 24 Oct 2011, at 20:21, Alexander Robbins wrote

2i query, weird null results, java pbclient

2011-10-24 Thread Alexander Robbins
Using a new Riak 1.0 cluster. We added data in with a secondary index. When getting the data back out the results list is odd. [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, a, c, 9, d, 9, 1, d, d, 0, e, 5, 5, 6, 8, c, 6, d