Skip to main content.
home | support | download

Back to List Archive

RE: Using the file

From: Kaplan, Andrew H. <AHKAPLAN(at)not-real.PARTNERS.ORG>
Date: Thu Jun 17 2004 - 12:43:55 GMT
Sorry -- My bad...
Here is the text of the swish.conf file using the program:

# Swish-e config to index the /www directory
# Use for indexing (location of set at installation time)

# Use'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

IndexDir /www
StoreDescription HTML* <body> 200000
MetaNames swishdocpath swishtitle
ReplaceRules replace "/www/" ""

-----Original Message-----
From: Bill Schell []
Sent: Wednesday, June 16, 2004 5:01 PM
To: Kaplan, Andrew H.
Subject: Re: [SWISH-E] Using the 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 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 could not find the file. The line
>referenced in the error message is line 84. Where should the
> file be located in order for the program to
>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
>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