Skip to main content.
home | support | download

Back to List Archive

RE: Error Message: Index file error: Could not open

From: Kaplan, Andrew H. <AHKAPLAN(at)not-real.PARTNERS.ORG>
Date: Wed Jun 09 2004 - 21:03:40 GMT
I have read that section and example8.config looks like the file I want to
employ. But I admit I am not sure how to implement it.

Currently I have a swish.conf file in the directory where the pdf files are
located. It is a basic four line file
with the following text: 

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

I do not know how to configure the, example#.config file and
swish.cgi to work together. That is currently where I am at.
The documentation has gotten me this far, but I need additional help.

-----Original Message-----
From: Peter Karman []
Sent: Wednesday, June 09, 2004 4:46 PM
To: Kaplan, Andrew H.
Cc: Multiple recipients of list
Subject: Re: [SWISH-E] RE: Error Message: Index file error: Could not

We'll assume you've read the documentation:

in particular the PDF stuff:

and the FAQ:

Eh, but I just want to know how to index PDF documents!

See the examples in the conf directory and the comments in the file.

See the previous question for the details on filtering. The method you 
decide to use will depend on how fast you want to index, and your 
comfort level with using Perl modules.

Regardless of the filtering method you use you will need to install the 
Xpdf packages available from

Assuming you've read all that, and can't make headway, send along what 
you've tried so far.

Kaplan, Andrew H. wrote on 6/9/04 2:16 PM:

> Hi there --
> I have made some progress. The swish-e program is able to find Word
documents in
> the directory being indexed. Now I am
> trying to get it to find the pdf files that are there. Unfortunately I am
> drawing a blank on what files need to be used
> and configured to get that done. FYI -- I installed version 2.4.1 onto the
> system. 
> -----Original Message-----
> From: Bill Moseley []
> Sent: Monday, June 07, 2004 1:06 PM
> To: Kaplan, Andrew H.
> Subject: Re: Error Message: Index file error: Could not open
> On Mon, Jun 07, 2004 at 11:59:52AM -0400, Kaplan, Andrew H. wrote:
>>Hi there --
>>This is really pathetic, but can you give me a step-by-step process on how
>>you got swish-e (2.4.2) to work on your server? I don't know what else to
>>do at this point. HEEEELLLLLPPPP!!!!!
> I just followed the instructions.  Maybe go back and read my previous
> responses.
> Good luck.
>>-----Original Message-----
>>From: Bill Moseley []
>>Sent: Monday, June 07, 2004 11:19 AM
>>To: Kaplan, Andrew H.
>>Subject: Re: Error Message: Index file error: Could not open
>>On Mon, Jun 07, 2004 at 10:50:45AM -0400, Kaplan, Andrew H. wrote:
>>>I ran the script with the following syntax:
>>>./ default >
>>>I had not created a configuration file for but according to the
>>>the above syntax was supposed to work.
>>>Although a file was created, it was zero bytes in size. Also, I
>>>the following
>>>error message:
>>>Can't locate object export method "export_to_level" via package MP3::Tag
>>>/usr/local/lib/swish-e/perl/SWISH/ line 662.
>>>FYI - MP3::Tag was installed successfully prior to swish-e being
>>A quick search of the archive turns up this:
>>>Regarding the pdf and word files, which configuration file filters these
>>>types of files that will allow them to be indexed? The xpdf
>>>and catdoc programs are installed.
>>Spider uses SWISH::Filter, and SWISH::Filter should detect xpdf and
>>catdoc automatically.
>>Bill Moseley

Peter Karman - Software Publications Engineer - Cray Inc
phone: 651-605-9009 -
Received on Wed Jun 9 21:03:45 2004