[Xapian-discuss] test case for (perl) $qp->get_corrected_query_string()
henka at cityweb.co.za
henka at cityweb.co.za
Tue Dec 22 11:14:16 GMT 2009
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
More information about the Xapian-discuss
mailing list