Re: Custom Extractor Syntax

2011-10-03 Thread Greg Pascale
Good to know, thanks. Upvote for being able to unset properties over HTTP. We don't deploy erlang in production and rely on curl to set all our properties, so that'd be great for us. -- Greg Clipboard On Sunday, October 2, 2011 at 8:11 PM, Ryan Zezeski wrote: > Greg, > > Yes, use the new

Re: Custom Extractor Syntax

2011-10-02 Thread Ryan Zezeski
Greg, Yes, use the new property going forward. The old property will still work but at some point will be phased out. When that happens it will be documented in the release notes. You currently can't remove a bucket property. In the case where rs_extractfun is still set in a future version it

Custom Extractor Syntax

2011-09-30 Thread Greg Pascale
Hi, Somewhere along the line, it looks like the mechanism for setting a custom extractor changed slightly. The documentation now says to set a property called search_extractor with the fields mod, fun and arg. It used to be a property called rs_extractfun with the fields language, function a

Re: riak_search: custom extractor syntax

2011-07-20 Thread Mark Phillips
Hey Greg, So here's what looks like is going on: Everything that requires JS in Riak has to declare a pool of VMs. Each pool needs to be initialized for functions that depend on them to have access. In this case, it looks like the Riak Search custom extractor functionality depends on a pool that'

Re: riak_search: custom extractor syntax

2011-07-19 Thread Greg Pascale
I've been debugging through the riak code, and it looks like the riak_search_js_extract process is not running, so it's not even getting to the point of executing my JS. Has this feature ever worked? =ERROR REPORT 19-Jul-2011::10:25:24 === problem invoking hook riak_search_kv_hook:precommit ->

riak_search: custom extractor syntax

2011-07-18 Thread Greg Pascale
Hi, I'm trying to use a custom extractor, but I can't for the life of me seem to get the syntax right. Even the simplest thing I can think to try won't work. I've tried setting the rs_extractfun property as described in the documentation - both of these methods - {jsanon, {Bucket, Key}}, whe