search for: remove_spelling

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

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 running perl index.t fails...
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 ind...
2009 Apr 20
1
Xapian 1.0.12 released
...et them from a mirror). If you can't establish a trust chain, you can still verify the checksums (and also see that the same key is being used to sign each release). This release fixes a number of bugs and improves efficiency in one case. Notable changes in this release: * WritableDatabase::remove_spelling() now works properly. * The QueryParser now handles scripts which use NON_SPACING_MARK Unicode characters (such as Arabic) better. * Distribution of OP_NEAR and OP_PHRASE over a non-leaf subquery is improved. * The database locking code no longer leaves a zombie child process when the datab...
2007 Nov 08
1
QueryParser : some remarks
...eat... Also, I wonder about how to manage the spellings on the long run: - if I add a document, new spellings are added in the database via add_spelling(). - if I remove a document, the spellings for that document won't go away (I mean decrease frequency, delete if 0 or less), unless I call remove_spelling() myself. However, there's no API way to get the list of spellings for that document. - if I modify a document (correcting bad spellings, for example!), new spellings will be added, but the old ones (corresponding to words deleted from the document) won't go away. So (if my assumptions ar...