On Feb 18, 2012, at 9:04 AM, Rune Skou Larsen wrote:

> On 18-02-2012 12:09, Rajat Mathur wrote:
>> Also what are the methods for implementing where clause in it.
> But there are other ways. Consider if you can define your key in a way, so 
> you get the right resultset from doing a range-search from key1 to key2. You 
> can also consider storing your data with secondary indeces for looking up on. 
> It is my understanding, that riak does not (yet) support queries combining 
> multiple secondary indeces in AND or OR searches.

You may not be able to do composite queries like AND or OR via the secondary 
index feature (2i) but you can do it via standard search. Check:

http://wiki.basho.com/Riak-Search---Querying.html#Boolean-Operators-%E2%80%93-AND%2C-OR%2C-NOT

http://wiki.basho.com/MapReduce-Search-2i-Comparison.html

Best,
Alexander
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to