henka at cityweb.co.za
2009-Dec-22 11:14 UTC
[Xapian-discuss] test case for (perl) $qp->get_corrected_query_string()
Greetings, I'm trying to code a test case for get_corrected_query_string() in perl in t/parser.t, but I'm getting the following error: Can't locate auto/Search/Xapian/Query/get_correct.al... I take it something isn't implemented yet? Here's the code: ok( $query = $qp->parse_query( 'one or two', FLAG_BOOLEAN|FLAG_BOOLEAN_ANY_CASE|FLAG_SPELLING_CORRECTION ) ); + is( $query->get_corrected_query_string(), '', "get_corrected_query_string ok" ); Thanks Henry