Skip to main content.
home | support | download

Back to List Archive

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

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Fri Jun 04 2004 - 19:25:57 GMT
On Fri, Jun 04, 2004 at 02:59:27PM -0400, Kaplan, Andrew H. wrote:
> I reset the debugging level to include all options, and I shown the results
> listed in the error_log file from the subsequent query. Sorry about the
> length of information...

Well, trim it down to the important things.

Did you try my suggestion of running the query?

> ---- Swish parameters ----
> $VAR1 = {
>           '-H' => 9,
>           '-w' => 'swishdefault=(Head)',
>           '-s' => [
>                     'swishrank',
>                     'desc',
>                     'swishlastmodified',
>                     'desc'
>                   ],
>           '-m' => 15,
>           '-x' =>
> '<swishreccount>\\t<swishtitle>\\t<swishdescription>\\t<swishlastmodified>\\
> t<swishdocsize>\\t<swishdocpath>\\t<swishdocpath>\\t<swishrank>\\n',
>           '-f' => '/www/index.swish-e',
>           '-b' => 1
>         };

So run swish -w head -f /www/index.swish-e and see what happens


> 
> -----------------------------------------------
> # SWISH format: 2.4.2
> # Search words: swishdefault=(Head)
> #
> # Index File: /www/index.swish-e
> # Name: 
> # Saved as: index.swish-e
> # Total Words: 292
> # Total Files: 14
> # Indexed on: 2004-06-04 13:48:45 UTC
> # Search words: swishdefault=(Head)
> # Parsed Words: swishdefault = ( head ) 
> # Removed stopwords: 
> #
> err: no results
> swish.cgi: no results

Seem "head" doesn't exist in the swishdefault metaname.

-- 
Bill Moseley
moseley@hank.org
Received on Fri Jun 4 12:25:59 2004