Yeah. Only on this bucket, though. Shuhao
On Thu, May 31, 2012 at 8:37 PM, Ryan Zezeski <[email protected]> wrote: > Shuhao, > > Can you reproduce this every time? I'm not familiar with the Python > client but I'm wondering if this is a divergent index or the Python client > using the solr-like HTTP interface. > > -Z > > On Wed, May 30, 2012 at 10:55 AM, Shuhao Wu <[email protected]> wrote: > >> I'm encountering a weird case where it only happens on this specific >> bucket. >> >> >>> import riak >> >>> c = riak.RiakClient() >> >>> b = c.bucket("test_search") >> >>> b.get_keys() >> [] >> >>> c.search("test_search", "intprop:2").run() >> [<riak.mapreduce.RiakLink object at 0x2c2e450>, <riak.mapreduce.RiakLink >> object at 0x2c2e490>, <riak.mapreduce.RiakLink object at 0x2c2e4d0>, >> <riak.mapreduce.RiakLink object at 0x2c2e510>, <riak.mapreduce.RiakLink >> object at 0x2c2e550>, <riak.mapreduce.RiakLink object at 0x2c2e590>, >> <riak.mapreduce.RiakLink object at 0x2c2e5d0>, <riak.mapreduce.RiakLink >> object at 0x2c2e610>, <riak.mapreduce.RiakLink object at 0x2c2e650>, >> <riak.mapreduce.RiakLink object at 0x2c2e690>, <riak.mapreduce.RiakLink >> object at 0x2c2e6d0>, <riak.mapreduce.RiakLink object at 0x2c2e710>, >> <riak.mapreduce.RiakLink object at 0x2c2e750>, <riak.mapreduce.RiakLink >> object at 0x2c2e790>, <riak.mapreduce.RiakLink object at 0x2c2e7d0>, >> <riak.mapreduce.RiakLink object at 0x2c2e810>, <riak.mapreduce.RiakLink >> object at 0x2c2e850>, <riak.mapreduce.RiakLink object at 0x2c2e890>, >> <riak.mapreduce.RiakLink object at 0x2c2e8d0>, <riak.mapreduce.RiakLink >> object at 0x2c2e910>, <riak.mapreduce.RiakLink object at 0x2c2e950>, >> <riak.mapreduce.RiakLink object at 0x2c2e990>, <riak.mapreduce.RiakLink >> object at 0x2c2e9d0>, <riak.mapreduce.RiakLink object at 0x2c2ea10>, >> <riak.mapreduce.RiakLink object at 0x2c2ea50>, <riak.mapreduce.RiakLink >> object at 0x2c2ea90>, <riak.mapreduce.RiakLink object at 0x2c2ead0>, >> <riak.mapreduce.RiakLink object at 0x2c2eb10>, <riak.mapreduce.RiakLink >> object at 0x2c2eb50>, <riak.mapreduce.RiakLink object at 0x2c2eb90>, >> <riak.mapreduce.RiakLink object at 0x2c2ebd0>, <riak.mapreduce.RiakLink >> object at 0x2c2ec10>, <riak.mapreduce.RiakLink object at 0x2c2ec50>] >> >>> b.get(c.search("test_search", >> "intprop:2").run()[0].get_key()).exists() >> False >> >> Note: Previously I have an object with the json document of {"intprop" : >> 2} >> >> Any ideas why this is happening? >> >> Shuhao >> >> _______________________________________________ >> 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
