Swish-e 2.4.2 Linux RH9
I am using the basic search.cgi template.
It does the following:
********
if ( ! $swish ) {
$swish = SWISH::API->new( $index );
die "Failed to create SWISH::API object" unless $swish;
$swish->AbortLastError if $swish->Error;
# Now cache header data (used for highlighting)
%headers = map { lc($_) => ($swish->HeaderValue( $index, $_ )||'') }
$swish->HeaderNames;
# and cache the highlighting object
$highlight_object = SWISH::PhraseHighlight->new(
\%highlight_settings, \%headers );
}
# Run the search. See SWISH::API for more options (like sorting)
my $results = $swish->Query( $query );
********
Is there any way to figure out an equivalent command it is running
(something like):
swish-e -i swishe.index -w word
I have browsed through, SWISH::API - Perl interface to the Swish-e C
Library, but can't find any reference.
Thanks,
Dave
Received on Fri Apr 9 11:41:31 2004