Re: Riak Search Precommit Hook in 1.0

2011-09-21 Thread Greg Pascale
Got it. Sounds like what I want to do is set search to true and also explicitly add the riak_search_kv_hook at the end of the precommit list. Thanks for all the help. -- Greg Clipboard On Wednesday, September 21, 2011 at 2:30 PM, Dan Reverri wrote: > One more correction, the "install" com

Re: Riak Search Precommit Hook in 1.0

2011-09-21 Thread Dan Reverri
One more correction, the "install" command is not being removed. The "install" command simply sets the "search" property to true. Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Wed, Sep 21, 2011 at 12:01 PM, Dan Reverri wrote: > On Wed, Sep 21, 2011 a

Re: Riak Search Precommit Hook in 1.0

2011-09-21 Thread Dan Reverri
On Wed, Sep 21, 2011 at 11:47 AM, Dan Reverri wrote: > Hi Greg, > > The "install" command has been removed from "search-cmd". The new strategy > is as follows: > * The "search" bucket property must be "true" in order for the search > precommit to be executed > * If the "precommit" property does N

Re: Riak Search Precommit Hook in 1.0

2011-09-21 Thread Russell Brown
What Dan said. He was quicker and more succinct. On 21 Sep 2011, at 19:53, Russell Brown wrote: > > On 21 Sep 2011, at 19:09, Greg Pascale wrote: > >> A few questions >> >> 1) Is this fix in the RC1 build that just came out today? > > Yes it is. > >> 2) How exactly do search-cmd install, t

Re: Riak Search Precommit Hook in 1.0

2011-09-21 Thread Russell Brown
On 21 Sep 2011, at 19:09, Greg Pascale wrote: > A few questions > > 1) Is this fix in the RC1 build that just came out today? Yes it is. > 2) How exactly do search-cmd install, the "search" bucket property and the > precommit hook fit together now? I'm a bit unclear on what I actually need to

Re: Riak Search Precommit Hook in 1.0

2011-09-21 Thread Dan Reverri
Hi Greg, The "install" command has been removed from "search-cmd". The new strategy is as follows: * The "search" bucket property must be "true" in order for the search precommit to be executed * If the "precommit" property does NOT include the search precommit hook it will be inserted at the begi

Re: Riak Search Precommit Hook in 1.0

2011-09-21 Thread Greg Pascale
A few questions 1) Is this fix in the RC1 build that just came out today? 2) How exactly do search-cmd install, the "search" bucket property and the precommit hook fit together now? I'm a bit unclear on what I actually need to do to enable search on a bucket. Thanks. -- Greg Clipboard On Tu

Re: Riak Search Precommit Hook in 1.0

2011-09-20 Thread Greg Pascale
Man, it took a whole day after I complained about this to get it fixed? You guys are such slackers! :) Thanks a bunch! -- Greg Clipboard On Tuesday, September 20, 2011 at 1:47 PM, Andrew Thompson wrote: > On Tue, Sep 20, 2011 at 10:53:28AM -0700, Greg Pascale wrote: > > Hi Jon, > > > > Thank

Re: Riak Search Precommit Hook in 1.0

2011-09-20 Thread Andrew Thompson
On Tue, Sep 20, 2011 at 10:53:28AM -0700, Greg Pascale wrote: > Hi Jon, > > Thanks for getting back to me. > > I'm doing full-text indexing, but I don't need to keep the text around once > my object has been indexed, so I wrote a second precommit hook to remove the > text from the object. This

Re: Riak Search Precommit Hook in 1.0

2011-09-20 Thread Greg Pascale
Hi Jon, Thanks for getting back to me. I'm doing full-text indexing, but I don't need to keep the text around once my object has been indexed, so I wrote a second precommit hook to remove the text from the object. This reduces the size of my objects drastically (since text tends to be the larg

Re: Riak Search Precommit Hook in 1.0

2011-09-20 Thread Jon Meredith
Hi Greg, This is a consequence of the changes we made to bucket properties to try and simplify a few configuration issues. I've filed a bug for it. https://issues.basho.com/show_bug.cgi?id=1216 Why does your hook need to go after the search hook? Cheers, Jon. On Mon, Sep 19, 2011 at 6:37 PM,

Riak Search Precommit Hook in 1.0

2011-09-19 Thread Greg Pascale
Hi, I've noticed that the Riak Search precommit hook behaves in a really odd and non-standard way in Riak 1.0. It seems that setting search:true on a bucket automatically causes the precommit hook to be installed, and setting search:false automatically uninstalls it. Ok, but if I set search true