search for: get_corrected_query_string

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

2009 Dec 22
1
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...
2009 Dec 22
1
Patch submission
Greets, Please find attached a patch (against current svn) for consideration. It covers a few missing elements on the Perl side of things: add_spelling() and test/s. remove_spelling() and test/s. get_corrected_query_string() and test/s. get_spelling_suggestion() and test/s. man pages for the above and for WritableDatabase::close() are also patched. Please let me know of any errors (especially in the test suites). I've successfully patched, compiled, and subsequently indexed using the changes. Cheers Henry
2010 Jul 28
1
Spelling correction confusion
If I spell "commission" wrongly with an s instead of a t, Xapian (via the QueryParser's get_corrected_query_string function) is finding the right spelling: http://www.whatdotheyknow.com/search/commistion However, if I miss the s out completely, it doesn't find it: http://www.whatdotheyknow.com/search/commision Any idea why that is? Missing the last i out also doesn't work: http://www.whatdothey...
2008 Nov 26
1
Trying to patch xapian perl add/remove_spelling
Greets, I'm giving a stab at patching the CPAN module to add the missing WritableDatabase::add_spelling and remove_spelling, but need a bit of guidance since I'm coming in cold, and pressed for time (aren't we all). I've modified XS/WritableDatabase.xs and added the two necessary functions, and also added the two basic tests in t/index.t. Compilation completes cleanly, but