Duplicate bucket props r/w/dw/rw if set in app.config

2011-05-10 Thread Nicolas Fouché
Hi. I try to change the default values for r,w,dw and rw, in app.config: {default_bucket_props, [{n_val, 2},{r, 1},{w, 1},{dw, 1},{rw, 1}]}, But when I look at the props of a bucket, r,w,dw and rw are present twice : {"props":{"name":"toto","n_val":2,"r":1,"w":1,"dw":1,"rw":1,"linkfun":{"mo

map function for link-walking

2010-07-10 Thread Nicolas Fouché
In the "one-to-very-many link associations" thread , Sean Cribbs talks about a map function which does link-walking from links stored in object contents. http://bit.ly/cKguqQ "Another way to cope with large numbers of links is to encapsulate them in the object itself, rather than in the headers.

Re: map function for link-walking

2010-07-11 Thread Nicolas Fouché
, Jul 11, 2010 at 12:20 AM, Bryan Fink wrote: > On Sat, Jul 10, 2010 at 4:45 PM, Nicolas Fouché wrote: >> In the "one-to-very-many link associations" thread , Sean Cribbs talks >> about a map function which does link-walking from links stored in >> object contents. http:

Re: map function for link-walking

2010-07-12 Thread Nicolas Fouché
10 at 9:19 AM, Nicolas Fouché wrote: >> I did not find any doc about preloading javascript functions. Is it >> the same as storing JS files in a bucket and load them thanks to the >> "bucket" and "key" fields, as described in the "Map" paragraph o

Re: Is it inefficient to map over a small bucket when you have millions of other buckets?

2010-07-13 Thread Nicolas Fouché
Giving just a bucket WILL traverse the entire keyspace. Here is a conversation I had on IRC yesterday (GMT+1). [4:18pm] danoyoung: this may be obvious, but I just want to confirm, on the QA session from the last webinar, it was stated that listing keys for a given bucket requires examining keys th

Specific Varnish configuration ?

2010-09-06 Thread Nicolas Fouché
Hi riakers, I wonder if the Varnish configuration could be optimized to better fit a Riak cluster. Any specific configuration, parameter values ? Thanks. - Nicolas ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/li

Date format for Riak Search and its JSON output

2010-11-04 Thread Nicolas Fouché
Hi, I can't find the right format for dates in Riak Search, for fields suffixed with "_dt". I tried rfc822 (e.g. "Thu, 04 Nov 2010 16:02:59 -"), and xmlschema/iso8601 (e.g. "2010-11-04T16:07:43Z"), but I get an {unhandled_type,date} error when requesting my data in JSON. No problem with XML.

Data stored in Search *and* KV ?

2010-11-04 Thread Nicolas Fouché
Hi, Following the discussion with seancribbs and Tv on #riak: http://pastie.org/private/acxekqyapbk7fz1hcp8udg I only index documents with the bucket precommit hook and I do all my searches via Map/Reduce queries. I'm not sure how Search works, if there is an inverted index and a forward index. I

Re: Date format for Riak Search and its JSON output

2010-11-04 Thread Nicolas Fouché
t in Riak Search, looks like you found > another. I'd recommend treating dates as strings for now. The issue you > described is now tracked here: https://issues.basho.com/show_bug.cgi?id=864 > Best, > Rusty > > On Thu, Nov 4, 2010 at 9:17 AM, Nicolas Fouché > wrote: >

Re: Data stored in Search *and* KV ?

2010-11-04 Thread Nicolas Fouché
hing the system currently > supports. > Best, > Rusty > On Thu, Nov 4, 2010 at 10:33 AM, Nicolas Fouché > wrote: >> >> Hi, >> >> Following the discussion with seancribbs and Tv on #riak: >> http://pastie.org/private/acxekqyapbk7fz1hcp8udg >> >> I o

Re: Date format for Riak Search and its JSON output

2010-11-15 Thread Nicolas Fouché
c. > http://basho.com/ > > On Nov 4, 2010, at 8:15 PM, Nicolas Fouché wrote: > >> I monkey-patched Riak::Client::CurbBackend to get useful logs >> https://gist.github.com/662986 >> >> Best, >> Nicolas >> >> On Thu, Nov 4, 2010 at 7:42 PM, Rusty Klop

Upstart script for Riak (Search)

2011-01-21 Thread Nicolas Fouché
Hi, Did anyone already write an Upstart config file for Riak or Riak Search ? http://upstart.ubuntu.com/ The official Debian package only contains /sbin/init scripts. Nicolas ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com