index query returns 500 internal server error from webmachine

2012-05-21 Thread Sean Ma
The storage backend is leveldb. When I fetch key using $key, the /var/log/riak/console.log shows the following error. 2012-05-21 11:37:52.756 [error] <0.26673.1> webmachine error: path="/buckets/mybucket/index/$key/804840_201200/804840_2012052111" {error,{error,{case_clause, {error,timeout,[[]

2i query with multiple ranges

2012-01-31 Thread Sean Ma
2i only supports a single range query. Is there any alternative for multiple ranges? For example, I have bin index and want to query the ranges: (xx1, xx9) and (yy1x, yy9x). Eventually I want the objects piped into a m/r job. Is there other approach or plan to add support? Regards

Re: 2i query with multiple ranges

2012-01-31 Thread Sean Ma
't think you want to do that. > > I'm not aware of anything in the roadmap in 2i to query multiple ranges at > once. FWIW, this is supported by Search. > > -Ryan > > On Tue, Jan 31, 2012 at 9:35 AM, Sean Ma wrote: > >> 2i only supports a single range query.