Hi Ryan, Thanks, the number of objects between (xxxxxx1, yyyyyy9x) could be huge, as you said, I would rather not to do the filter.
The expected objects returned should be hundreds and the total objects would be 200millions. I guess the search would be slower than 2i query, even compared to 10 range queries. Thanks Sean On Tue, Jan 31, 2012 at 11:52 AM, Ryan Zezeski <[email protected]> wrote: > Sean, > > As things stand today you'll have to perform two range queries. Unless > you want to query (xxxxxx1, yyyyyy9x) and filter out the superfluous > results yourself, but somehow I don'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 <[email protected]> wrote: > >> 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: (xxxxxx1, xxxxxx9) and (yyyyyy1x, yyyyyy9x). Eventually I want the >> objects piped into a m/r job. >> >> Is there other approach or plan to add support? >> >> Regards >> >> Sean >> >> _______________________________________________ >> riak-users mailing list >> [email protected] >> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com >> >> >
_______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
