[Ferret-talk] Similar words

Robert Hulme hulme at ebi.ac.uk
Wed Jun 11 09:04:43 EDT 2008


> And I think it might have to boil down to that really. If you want to
> get a the *number of results* for 'transferase' when someone searches
> for 'transferaze', then it means you'll need to hit the index once
> more with 'transferase' in separate.
I'm happy to do that if that's the only way to do that, but that's  
really a secondary issue.

Imagine I have in my index the following terms:
abcd
abce
abcf

and I search for abca

I'd get 0 matches.

What I'd like is to be able to present to the user:

No matches found for 'abca'. Did you mean 'abcd', 'abce', or 'abcf' ?

So I need Ferret to have method call that would return ['abcd',  
'abce', 'abcf'].

Is this possible?

-Rob


More information about the Ferret-talk mailing list