Nicolas Fouché <nico...@silentale.com> wrote:

nf> [...] But when I look at the props of a bucket, r,w,dw and rw are present
nf> twice :
nf> [...]

nf> I use riak search 0.14.0. Bug ?

Feature.  Erlang property lists take the first element in the list that
matches the property name.

On the other hand, I don't know what JavaScript will do with an object
that's got the same member name twice, or if different JS interpreters
handle that differently.  To avoid hassles there, when setting your
bucket property, you could delete the old values of 'r', 'w', et
al. before prepending your new values onto the list.

-Scott

_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to