Bob,

Thanks for your response,

My code is buried deep within a WSGI based website. I have copied "code for
code" from the tutorial posted with version 1.3 of the python client. 

Here is a snippit of the function

        def search( self, bu, query ):
                
                if not self.bucket[bu].search_enabled(): #self.bucket --> riak 
buckets
                        self.bucket[bu].enable_search()
                
                query = self.client.search(bu , 'david') # self.client --> riak 
cleint
                 
                data = {}
                
                for r in query.reduce_sort().reduce_limit(5).run():
                        
                        s = r.get()
                        
                        data.append(s.get_data())
                                
                return data
 

--
View this message in context: 
http://riak-users.197444.n3.nabble.com/Riak-Problem-w-Python-Client-No-JSON-object-could-be-decoded-tp3271810p3273394.html
Sent from the Riak Users mailing list archive at Nabble.com.

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

Reply via email to