Thanks again,
I changed args to arg.
To keep it simple, I just want to use that arg parameter value
{"gender":"G0,G1","
agegroups":"A0,A2","metrics":"users,cpc_median","groupby":"country"} inside
my javascript function.
If I try to assign it to a variable like:
var k = arg;
It is givin
I have a category of data in my riak application that I can't figure out how to
model efficiently. For most of my data, inter-item relationships are relatively
compact, and stored solely for the purpose of being provided back to the user
as additional information transformed into api and view pa
That should have been 14.5KB not MB.
Andrew
On Jul 5, 2012, at 4:25 PM, Andrew Zeneski wrote:
>
> I am seeing some odd behavior from the PBC Search API. When the search
> results get to be a certain size and the size changes depending on the
> client's location (over GB ethernet its around
I am seeing some odd behavior from the PBC Search API. When the search results
get to be a certain size and the size changes depending on the client's
location (over GB ethernet its around 14.5MB when I VPN in it appears to be
much less; but I'll confirm that later) the returned byte array cons
When I pass (using PBC API) a w n_val of 4294967294 (4294967295 - 1) to tell
riak to only require 1 replica to respond successful for a write I get back
error code 1 {n_val_violation,3}.
However, if I pass in the integer value 1 instead of the special value it
works. Did I misunderstand the mea
Venki,
The parameter name is arg not args. Also, you were talking about some sort of
error you're getting, but I couldn't see one in the listing below.
Cheers, Mathias
http://riakhandbook.com
On Thursday, 5. July 2012 at 16:29, Venki Yedidha wrote:
> Thanks,
> I tried the format you sent m
Thanks,
I tried the format you sent me earlier but when I tried to access the
args parameter inside the function, it is showing me the error:
{"inputs":['.$k.'],"query":[{"map":{"language":"javascript","source":"function(value,keydata,"arguments"){
var data = Riak.mapValuesJson(value)[0];