riak indexing/search issue with json

2010-12-30 Thread Joseph Lambert
Hello, I'm having a bit of a problem with k/v indexing and json objects in Riak Search 0.13.0. I have JSON objects of this format: { "id" : 1, "users" : [1559620, 2619082], "userData" : { "viewedBy1559620" : { "isDeleted" : "false" } "viewedBy261908

Re: Storing relationship data

2010-12-30 Thread Bryan Nagle
Hi Justin, Our current setup, is we are using webmachine; Client connects to webmachine, and webmachine connects to riak via the erlang pcb client. So, if we use links, and we want the client to be aware of the relationships, we would still have to translate the links into the http response from

Re: Storing relationship data

2010-12-30 Thread Justin Sheehy
Hi, Bryan. The link data is embedded in the riak_object metadata, so you can easily observe it from outside Riak even when not performing link-walking queries. To see this in action, check out the "Link" headers when using the HTTP interface. -Justin On Thu, Dec 30, 2010 at 6:36 PM, Bryan Nag

Storing relationship data

2010-12-30 Thread Bryan Nagle
Hi, For the project that I am currently working on, we are trying to decide on the best way to store relational data in riak. At first glance, the obvious choice looks to be links, however one of our requirements is that this relationship information has to be sent to a client along with actual d

Re: Python Client Now In FreeBSD Ports Tree

2010-12-30 Thread Mark Phillips
On Mon, Dec 27, 2010 at 10:24 AM, TJ Ninneman wrote: > Hello all, > > Just letting everyone know that the Python Riak client is now available in > the FreeBSD ports tree in databases/py-riak. > > http://www.freshports.org/databases/py-riak/ > Thanks for putting this together, TJ. Just added it

Re: using custom javascript/erlang functions in riak

2010-12-30 Thread Grant Schofield
Your issue with js_reload is a known bug that is fixed in the upcoming release. To use Erlang modules add the "add_paths" declaration to your app.config and place your compiled module in that directory, you can find out more about this on the wiki here: http://wiki.basho.com/MapReduce.html Gra

using custom javascript/erlang functions in riak

2010-12-30 Thread Shai Garniek
I want to use custom javascript/erlang functions in riak map/reduce and I'm having trouble loading js functions to the riak nodes I places a js file in the location specifies as the js_file_path in the app.config. when I try to run the the riak-admin js_reload command I'm getting the following erro