[Xapian-devel] Trying to patch xapian perl add/remove_spelling
olly at survex.com
Fri Nov 28 02:05:54 GMT 2008
On Wed, Nov 26, 2008 at 12:08:40PM +0200, Henry wrote:
> Exception: This backend doesn't implement spelling correction at
> index.t line 48.
> I've obviously missed some file or something that needs to be set.
> The patch is attached.
> I'd appreciate some comments wrt what I'm missing.
Much of the code in index.t is run for both inmemory and "auto"
backends, but the inmemory backend doesn't implement spelling
Also, you can't use "ok(...)" around methods which don't return
anything (if you do call "ok(...)" more, you need to increase the
expected number of calls at the top of the file).
I've tweaked the patch to compile and pass "make check". I haven't
applied it yet as it doesn't seem to be useful without
Database::get_spelling_suggestion() also being wrapped...
More information about the Xapian-devel