search for: wildquery1

Displaying 1 result from an estimated 1 matches for "wildquery1".

2006 Dec 06
1
Bug and patch for +terms with wildcards
...; } 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::QueryParser queryparser; + unsigned flags = Xapian::QueryParser::FLAG_WILDCARD | + Xapian::QueryParser::FLAG_LOVEHATE; + queryparser.set_stemmer(Xapian::Stem("english")); + queryparser.set_stemming_strategy(Xapian::QueryParser::STEM_ALL); +...