search for: api_anydb

Displaying 4 results from an estimated 4 matches for "api_anydb".

2007 Nov 28
1
Problem compiling SVN-HEAD
Hi guys, Quick question - I'm getting errors compiling the tests; of the form: .\apitest.cc(46) : fatal error C1083: Cannot open include file: 'api_anydb.h': No such file or directory api_anydb.cc .\api_anydb.cc(26) : fatal error C1083: Cannot open include file: 'api_anydb.h': No such file or directory These files don't seem to exist. Any hints? Cheers Charlie
2013 Feb 28
0
Implemented test coverage for using TradWeight with an Rset
Hello guys. Olly had pointed out on IRC that there is no test for using the TradWeight scheme with a Rset and had directed me to the test coverage of the TradWeight scheme :- http://lcov.xapian.org/latest/weight/tradweight.cc.gcov.html I have added a test to api_anydb.cc which tests the TradWeight scheme using an Rset . I simply modified the rset2 test in api_anydb.cc so that the Mset is made using the TradWeight scheme and passed an Rset to Enquire.get_mset( ) . http://xapian.org/docs/sourcedoc/html/api__anydb_8cc_source.html#l01128 The results were as expect...
2013 Mar 03
0
Sent a pull request for testing TradWeight using an Rset.
...> > Hello guys. Olly had pointed out on IRC that there is no test for using the > TradWeight scheme with a Rset and had directed me to the test coverage of > the TradWeight scheme :- > > http://lcov.xapian.org/latest/weight/tradweight.cc.gcov.html > > I have added a test to api_anydb.cc which tests the TradWeight scheme using > an Rset . I simply modified the rset2 test in api_anydb.cc so that the Mset > is made using the TradWeight scheme and passed an Rset to Enquire.get_mset( > ) . > > http://xapian.org/docs/sourcedoc/html/api__anydb_8cc_source.html#l01128 &gt...
2006 Dec 06
1
Bug and patch for +terms with wildcards
...;foo* +mai", flags); + TEST_EQUAL(qobj.get_description(), "Xapian::Query(mai:(pos=2))"); + qobj = queryparser.parse_query("+foo* +mai", flags); + TEST_EQUAL(qobj.get_description(), "Xapian::Query(<nodocuments>)"); return true; } Index: tests/api_anydb.cc =================================================================== --- tests/api_anydb.cc (revision 7552) +++ tests/api_anydb.cc (working copy) @@ -208,6 +208,39 @@ return true; } +// tests for the right document count for a wildcard query +static bool test_wildquery1() +{ + Xapian::...