

def test_solr_search_with_params(self):
    bucket = self.client.bucket(testrun_search_bucket)
    bucket.new('user', {
        'username': 'roidrage',
    }).store()
    results = self.client.fulltext_search(testrun_search_bucket, 'username:roidrage', wt='xml')
    self.assertEqual(1, len(results['docs']))

dataset/ETHPy150Open basho/riak-python-client/riak/tests/test_search.py SearchTests.test_solr_search_with_params/original