search for: get_spelling_suggest

Displaying 5 results from an estimated 5 matches for "get_spelling_suggest".

2010 Jan 01
1
Multiple spelling suggestions
Is there a way to get a list of spelling suggestions from Xapian? Database::get_spelling_suggestion (obviously) returns just a single suggestion. Garrett
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
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
2010 Feb 01
0
Solaris core dump
...#3 0xfe2eff70 in FlintTable::get_exact_entry (this=0x75ed70, key=@0xfdcf8578, tag=@0xfdcf8568) at backends/flint/flint_table.cc:1190 #4 0xfe2ddc04 in FlintSpellingTable::open_termlist (this=0x75ed70, word=@0xfdcf8998) at backends/flint/flint_spelling.h:46 #5 0xfe20dcb0 in Xapian::Database::get_spelling_suggestion (this=0x75b5a8, word=@0xfdcf8998, max_edit_distance=2) at include/xapian/base.h:476 #6 0xfe39ba90 in Xapian::QueryParser::Internal::parse_query (this=0x75b590, qs=@0x798288, flags=128, default_prefix=@0xfdcf8a44) at queryparser/queryparser.lemony:948 #7 0xfe38fa0c in Xapian::QueryPars...
2010 Feb 01
2
Xapian core dumping on Solaris
...0xfe2eff70 in FlintTable::get_exact_entry (this=0x75ed70, key=@0xfdcf8578, tag=@0xfdcf8568) at backends/flint/flint_table.cc:1190 #4 0xfe2ddc04 in FlintSpellingTable::open_termlist (this=0x75ed70, word=@0xfdcf8998) at backends/flint/flint_spelling.h:46 #5 0xfe20dcb0 in Xapian::Database::get_spelling_suggestion (this=0x75b5a8, word=@0xfdcf8998, max_edit_distance=2) at include/xapian/base.h:476 #6 0xfe39ba90 in Xapian::QueryParser::Internal::parse_query (this=0x75b590, qs=@0x798288, flags=128, default_prefix=@0xfdcf8a44) at queryparser/queryparser.lemony:948 #7 0xfe38fa0c in Xapian::QueryP...