Multiple Index Queries in Riak Using Python
Sreejith K describing his riak_multi_query Python library for muti-indeces-based queries:
One of the advantage of using LevelDB with Riak is that they support Secondary Indexes. […] I wrote a Python wrapper that allows multiple index queries using Secondary indexes and MapReduce. The basic idea is as follows:
- Query Multiple Indexes and get the associated keys
- Pass the keys to a MapReduce job where Multiple filters are again evaluated. The map phase applies all the conditions to individual keys.
Now imagine this library would run those queries in parallel.
Original title and link: Multiple Index Queries in Riak Using Python (©myNoSQL)
via: http://foobarnbaz.com/2012/02/25/multi-index-queries-in-riak/