Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/x/o/xodb-HEAD/tests/test_xapian.py   xodb(Download)
        xdb.backend.set_metadata("_XODB_RP_Foo", "bar")
        xdb.backend.set_metadata("_XODB_BP_Ding", "dong")
        xdb.reopen()
 
        assert xdb.relevance_prefixes['Foo'] == 'bar'
        xdb.backend.set_metadata("_XODB_BP_foo", "FOO")
        xdb.backend.set_metadata("_XODB_RP_foo", "FOO")
        xdb.reopen()
        q = xdb.querify('foo:monkey')
        assert [t for t in q] == ['FOOmonkey']