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