Hi Everyone
Im new to this list, and to swish-e in general.
I have implemented some basic Thesaurus code, and patched it into the
swish.cgi script.
Has anyone else done this sort of thing ?
The swishcgi.conf file has an extra setting like:
thesaurus => {
package => 'SWISH::Thesaurus',
},
and the query words are replaced using code:
if (my $thesaurus = $self->config('thesaurus')) {
my $thesaurus_object = $thesaurus->{package}->new();
$query = $thesaurus_object->expand_query($query) if
$thesaurus_object;;
}
I would welcome any comments, suggestions.
Finlay
Received on Wed Mar 16 14:49:29 2005