I did not scroll down far enough in the api docs regarding python. Problem solved.
Sent from my iPad On Aug 30, 2012, at 6:51 PM, David Montgomery <davidmontgom...@gmail.com> wrote: > Hi, > > I am using the python api. > > I need to do a key filter kinda like this. > > > "inputs":{ > "bucket":"impressions" > "key_filters":[["tokenize", ":", 2],["starts_with", "2012"]] > }, > > > But from the python api docs...I have a query that looks like this. > > > query = client.add('impressions') > query.map("""function(v) { > var data = JSON.parse(v.values[0].data); > return [[v.key, data]]; > }""") > for result in query.run(): > print "%s - %s" % (result[0], result[1]) > > > Where and how do I place the key_filters[]? > > Thanks > > Sent from my iPad _______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com