Can I query an array of secondary indexes in a Map Reduce job in Riak, instead of just the one key? I want to do something like this:
"inputs": {
"bucket": myBycket,
"index": "myIndex",
"key": key + " OR " + key + " OR " + key
},
"query": [{
"map": {
"language":"javascript",
"name":"Riak.mapValuesJson"
}
}]
}
But I have not found any support for it. The keys are in no particular order, so I don't think that I can use ranged queries.