JSON with newlines

2011-04-15 Thread Matt Ranney
I'm using Riak Search 0.14.0-1, and it seems like JSON docs with otherwise legal \r characters in them confuse both the search indexer and JSON.parse() from within JavaScript map functions. Presumably these two are related. After looking around, it sounds like maybe this has been fixed, but perha

Re: JSON with newlines

2011-04-15 Thread Aphyr
Yes, it's because the JSON2.js included with Riak has a bug around newlines. Dropping an updated JSON2.js in your js_source_dir will fix it. --Kyle On 04/15/2011 12:20 AM, Matt Ranney wrote: I'm using Riak Search 0.14.0-1, and it seems like JSON docs with otherwise legal \r characters in them

Re: "Failed to compact" in RiakSearch

2011-04-15 Thread Morten Siebuhr
Hi Rusty, On Thu, Apr 14, 2011 at 8:00 PM, Rusty Klophaus wrote: > Hi Morten, > Thanks for sending the log files. I was able to figure out, at least > partially, what's going on here. Fantastic - thanks! > The "Failed to compact" message is a result of trying to index a token > that's greater t

Re: "Failed to compact" in RiakSearch

2011-04-15 Thread Rusty Klophaus
Hi Morten, It looks like at least one of the offending fields is "photos_value", which, as you said, should be skipped according to your schema. This makes me think that either the schema isn't set correctly, or that one or more nodes is caching an old value of the schema. Can you try running "se

Build from source following tutorial

2011-04-15 Thread Shane Adams
==> riak_kv (compile) src/riak_client.erl:278: call to put/2 will call erlang:put/2; not put/2 in this module (add an explicit module name to the call to avoid this error) src/riak_client.erl:309: call to put/2 will call erlang:put/2; not put/2 in this module (add an explicit module name to the c

Re: Build from source following tutorial

2011-04-15 Thread Andrew Thompson
On Fri, Apr 15, 2011 at 09:26:18AM -0700, Shane Adams wrote: > ==> riak_kv (compile) > src/riak_client.erl:278: call to put/2 will call erlang:put/2; not put/2 in > this module (add an explicit module name to the call to avoid this error) > src/riak_client.erl:309: call to put/2 will call erlang:p

Re: Build from source following tutorial

2011-04-15 Thread Shane Adams
Hey Andrew - Thank you for replying. Erlang R13B04 (erts-5.7.5) [source] [rq:1] [async-threads:0] [hipe] [kernel-poll:false] Eshell V5.7.5  (abort with ^G) 1> I tried building from the source but got a compilation error so installed via apt-get.   Shane uname -a Linux fuper 2.6.32-5-686

Re: Build from source following tutorial

2011-04-15 Thread Andrew Thompson
On Fri, Apr 15, 2011 at 10:14:44AM -0700, Shane Adams wrote: > Hey Andrew - > > Thank you for replying. > > > Erlang R13B04 (erts-5.7.5) [source] [rq:1] [async-threads:0] [hipe] > [kernel-poll:false] > > Eshell V5.7.5 ?(abort with ^G) > 1> > > I tried building from the source but got a compil

Re: Build from source following tutorial

2011-04-15 Thread Dan Reverri
I just got this error when trying to build the latest version of master using Erlang R13B04 (installed from source) on OS X. Building with Erlang R14B02 works. Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Fri, Apr 15, 2011 at 10:19 AM, Andrew Thompson wrote: > O

Re: Build from source following tutorial

2011-04-15 Thread David Leimbach
Saw the same on FreeBSD yesterday. I don't usually expect anyone to keep "master" or "trunk" of anything stable so I didn't mention anything :-) On Fri, Apr 15, 2011 at 1:52 PM, Dan Reverri wrote: > I just got this error when trying to build the latest version of master > using Erlang R13B04 (i

Re: Build from source following tutorial

2011-04-15 Thread Shane Adams
I followed the instructions on the website which indicates that I should be able to do this http://wiki.basho.com/Installing-Riak-from-Source.html Perhaps there is a stable/release branch  Shane From: David Leimbach To: Dan Reverri Cc: Shane Adams ; "riak-u

Riak Recap for April 13 -14

2011-04-15 Thread Mark Phillips
Evening, Morning, Afternoon to All - Today's Recap is exceptional (especially for all of our riak_core fans): tons of new code, blog posts, videos, upcoming presentations, new production users and more. Enjoy, and have a great weekend. Mark Community Manager Basho Technologies wiki.basho.com tw

Riak <-> RabbitMQ integration

2011-04-15 Thread Jon Brisbin
I've been carrying this evented datastore torch for a while now and been making pretty good progress in that direction. This evening I pushed a Riak postcommit hook to my github that sends updated entries to RabbitMQ using the Erlang AMQP client. https://github.com/jbrisbin/riak-rabbitmq-commit

Re: Build from source following tutorial

2011-04-15 Thread Andrew Thompson
On Fri, Apr 15, 2011 at 03:57:43PM -0700, Shane Adams wrote: > I followed the instructions on the website which indicates that I should be > able to do this > > http://wiki.basho.com/Installing-Riak-from-Source.html > > > Perhaps there is a stable/release branch? > I will fix this in the next

Re: Build from source following tutorial

2011-04-15 Thread adamsch1
I built from git As an update starting over from scracth I was able to get everything to work. Used the older erlang release built from source then built the riak version from git master Shane Sent via BlackBerry by AT&T -Original Message- From: Andrew Thompson Sender: riak-users-bou