Also note that on 1.0 and later you can set the "search" bucket property to
true and that will install the hook for you.
On Wed, Jan 25, 2012 at 9:51 AM, charlesugwuh wrote:
> I figured this out.
>
> So I'm using the https://github.com/basho/riak-php-client PHP Riak
> Client .
> I was using the
I figured this out.
So I'm using the https://github.com/basho/riak-php-client PHP Riak Client .
I was using the setProperties method to set the commit hooks for the bucket
to enable search.
However, I was defining the bucket properties like so: '$prop_arr =
array('precommit' => array('mod' => '
Thanks Gordon,
I did just that and restarted Riak, but I'm still getting 503 errors
(request timed out) when I try to add data.
Not sure what I'm supposed to be doing. I could add data before the
pre-commit hook, not sure what the problem is.
--
View this message in context:
http://riak-users
Charles by default search is disabled. Take a look in your app.config file and
make sure you have set the following:
{riak_search, [
%% To enable Search functionality set this 'true'.
{enabled, true}
]},
--gordon
On Jan 24, 2012, at 19:18 , char