Accessing existing obj in pre commit?

2011-04-22 Thread Jeffpk
Well, I worked around my last issue and I'm looking at risk again, in order to use the disambiguating logic I want I need to do a pre commit validation that involves the new state that is being committed and the old state that is currently stored. I believe couch gives you both of these in pre

Re: Why is the Riak Native Client EDOC available ?

2011-04-22 Thread Mark Phillips
Hey jt We'll work on making those available again (in some equally-usable format). For the moment this is your best option: https://github.com/basho/riak_kv/blob/master/src/riak_client.erl Mark On Thu, Apr 21, 2011 at 5:50 PM, J T wrote: > Hi, > There are still links to the riak native client

Riak Riak Recap for April 20 - 21

2011-04-22 Thread Mark Phillips
Evening, Morning, Afternoon to All - For today's Recap: Blog posts, new code, upcoming talks, Q & A from #riak, and more. Enjoy and have a great weekend. Mark Community Manager Basho Technologies wiki.basho.com twitter.com/pharkmillups - Riak Recap for April 20 - 21 ===

Re: Secondary indexing

2011-04-22 Thread Jason J. W. Williams
We implemented a scheme for maintaining secondary indexes using MapReduce and KeyFilters. It's written in Python but there's a description of how the design works and a test script for validating other implementations: https://github.com/williamsjj/txriakidx Nor sure if that will help...it's reas

Secondary indexing

2011-04-22 Thread Bryan O'Sullivan
In my application, I have a frequent need to store collections of data where I rarely access the items individually, but much more commonly in aggregate form. In principle, the mapreduce feature is well suited to this, but it must be fed a set of {bucket,key} pairs to consume, and maintaining these

Re: riak kv search problem

2011-04-22 Thread Rusty Klophaus
Hi alezozov, I was able to perform the exact steps you described without problems: $ curl -X PUT http://192.168.1.100:8098/riak/users/ -H "Content-Type: application/json" -d'{"props":{"precommit":[{"mod":"riak_search_kv_hook","fun":"precommit"}]}}' $ curl -X PUT http://192.168.1.100:8098/riak/us

Re: Multicore machine: one node vs several nodes

2011-04-22 Thread David Smith
On Fri, Apr 22, 2011 at 9:25 AM, Mikhail Sobolev wrote: > Hi, > > I wonder what setup would be better for a machine with 16 cores. > > Please note that I do not put any meaning for "better" here. :) My general philosophy is to start simple and construct a baseline so that such statements can be q

Multicore machine: one node vs several nodes

2011-04-22 Thread Mikhail Sobolev
Hi, I wonder what setup would be better for a machine with 16 cores. Please note that I do not put any meaning for "better" here. :) -- Misha signature.asc Description: Digital signature ___ riak-users mailing list riak-users@lists.basho.com http://l

Re: How to install an erlang module for use with map reduce

2011-04-22 Thread Grant Schofield
There is a good description of how to do it two ways here: http://contrib.basho.com/usage.html You can do it on the fly, but for most purposes adding the add_paths directive to your app.config in the riak_kv section ({add_paths, "/path/to/modules"},). Riak will load the Erlang modules located in

How to install an erlang module for use with map reduce

2011-04-22 Thread Eric Moritz
I am sure this is written down somewhere but I can seem to find it with Google. Where do I install an erlang module so that I can use it with a mapred query? Thanks, Eric Moritz ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.

Re: riaksearch + mapreduce cannot query more than 20K entries

2011-04-22 Thread Grant Schofield
You need to increase the amount of memory allotted to the JS VMs, the relevant setting is js_thread_stack in the riak_kv section of your app.config. I would suggest increasing this to 32 or 64 to start, you may always want to increase the heap size as well as the number of VMs. You can find more