Greetings all,

It seems that the problem is that words in the word database have a 
couple of numeric fields appended to them.  My guess is that these 
are new since 3.1, but I don't know what they are for.

The solution seems to be to write a second compare function which only 
compares the string component of the keys.

Comments, anyone?

BTW, my internet connection has been very flaky of late, so apologies 
if I'm slow in replying to anything.

Cheers,
Lachlan

On Sat, 11 Oct 2003 12:33, Lachlan Andrew wrote:

> "Speling" generates permuted forms of the query term, and check
> each to see if it is in the database, like so:
>   if (!wordDB.Exists(initial))   // Seems weird, but this is correct
>
> The problem is that, whether or not the permutation is in the
> database,  wordDB.Exists(...)  always seems to return -1 ("true"),
> which means that the 'if' always fails (despite the comment saying
> it is correct :)

-- 
[EMAIL PROTECTED]
ht://Dig developer DownUnder  (http://www.htdig.org)


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
ht://Dig Developer mailing list:
[EMAIL PROTECTED]
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to