Sorry -- My bad...
Here is the text of the swish.conf file using the spider.pl program:
# Swish-e config to index the /www directory
#
# Use spider.pl for indexing (location of spider.pl set at installation time)
IndexDir spider.pl
# Use spider.pl's default configuration and specify the URL to spider
SwishProgParameters default http://localhost/www
# Allow extra searching by title, path Metanames swishtitle swishdocpath
Metanames swishtitle swishdocpath
# Set StoreDescription for each parser to display context with search results
StoreDescription HTML* <body> 200000
StoreDescription TXT* <body> 200000
Here is the text of the swish.conf file without spider.pl:
IndexDir /www
StoreDescription HTML* <body> 200000
MetaNames swishdocpath swishtitle
ReplaceRules replace "/www/" "http://192.168.1.156/"
-----Original Message-----
From: Bill Schell [mailto:friedfish@optonline.net]
Sent: Wednesday, June 16, 2004 5:01 PM
To: Kaplan, Andrew H.
Subject: Re: [SWISH-E] Using the SwishSpiderConfig.pl file
You should know that the swish.conf file you sent didn't appear on the list.
It got turned into the text you see below. I don't think the list
supports attachments
and it definitely doesn't support OLE objects.
Bill Schell
Kaplan, Andrew H. wrote:
>I am trying to index a directory using spider.pl. The directory in question is
>on the same linux server that swish-e is installed upon.
>There are no NFS mounts involved, hence the directory is local. The command
>syntax that I want to use is
>
>/usr/local/bin/swish-e -S prog -c swish.conf -v 3
>
>The swish.conf file used with this approach is the following:
>
> <<...OLE_Obj...>>
>
>The problem is whenever I try to run the program I get an error message
>indicating spider.pl could not find the SwishSpiderConfig.pl file. The line
>being
>referenced in the error message is line 84. Where should the
>SwishSpiderConfig.pl file be located in order for the spider.pl program to
work,
>or is it better
>to simply comment out that line?
>
>The other approach that I have tried involves a shorter swish.conf file:
>
> <<...OLE_Obj...>>
>
>The command syntax that is used here is /usr/local/bin/swish-e -c swish.conf -v
>3
>
>This approach does appear to index the pdf and doc files, but error messages
>appear saying the program is substituting
>embedded null characters in the pdf and doc files that I am indexing. I did a
>check of the discussion lists and the issue
>has to do with the fact the files being indexed are binary. I tried adding
>several lines to the swish.conf file including
>IndexOnly, IndexContents and NoContents. That did not make a difference. Does
>anyone have suggestions on where to
>go from here?
>
>
>
Received on Thu Jun 17 12:43:59 2004