Re: riak_pipe_fitting error

2014-10-25 Thread Oleksiy Krivoshey
Thanks! The map/reduce function being executed is map_get_old_processed_files/3: https://gist.github.com/oleksiyk/abdb48ebd4554d3a40e1 The request is (in Javascript): var request = { inputs: ['fs_files', accountId + '.processed.files'], query: [{ map: {

Re: Riak Search Schema Question

2014-10-25 Thread Alexander Sicular
Haven't tried it out but should stats be an array? And the query would be something like Stats_name = stat1 and stats_value > 1 I think the extractor flattens everything and separates with underscores. -Alexander @siculars http://siculars.posthaven.com Sent from my iRotaryPhone > On Oct 2

Riak Search Schema Question

2014-10-25 Thread Andrew Zeneski
Hi All, I'm trying to determine if a use case is supported by Yokozuna or not. With a stored value that looks like: {"id": 1, "stats": { "name": "stat1", "value": 1 }, {"name": "stat2", "value": 5}} {"id": 2, "stats": { "name": "stat3", "value": 2 }, {"name": "stat1", "value": 3}} {"id": 3, "sta

Re: riak_pipe_fitting error

2014-10-25 Thread Christopher Meiklejohn
Hi, Can you please send the map-reduce job you tried to run and I would be happy to debug it. Chris > On Oct 25, 2014, at 22:51, Oleksiy Krivoshey wrote: > > Hi! > > Once in a few days I got the following error in my Riak cluster: > > 2014-10-25 03:01:23.731 [error] <0.221.0> Supervisor ri

riak_pipe_fitting error

2014-10-25 Thread Oleksiy Krivoshey
Hi! Once in a few days I got the following error in my Riak cluster: 2014-10-25 03:01:23.731 [error] <0.221.0> Supervisor riak_pipe_fitting_sup had child undefined started with riak_pipe_fitting:start_link() at <0.22692.2455> exit with reason noproc in context shutdown_err or 2014-10-25 05:00:09.