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: Fri Jun 04 2004 - 19:43:10 GMT
Hi there --

I've trimmed down the debug settings and hopefully this is more manageable:

[Fri Jun  4 15:46:52 2004] [notice] caught SIGTERM, shutting down
[Fri Jun  4 15:46:54 2004] [warn] module mod_php4.c is already added, skipping
[Fri Jun  4 15:46:54 2004] [notice] Apache/1.3.31 (Unix) PHP/4.3.7 configured --
resuming normal operations
[Fri Jun  4 15:46:54 2004] [notice] Accept mutex: sysvsem (Default: sysvsem)
Debug level set to: 25 [basic, output, summary]
Config file '.swishcgi.conf': No such file or directory at
/usr/local/apache/cgi-bin/swish.cgi line 657.
# 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
# Description: 
# Pointer: 
# Maintained by: 
# MinWordLimit: 1
# MaxWordLimit: 40
# WordCharacters:
0123456789abcdefghijklmnopqrstuvwxyz

# BeginCharacters:
0123456789abcdefghijklmnopqrstuvwxyz

# EndCharacters:
0123456789abcdefghijklmnopqrstuvwxyz

# IgnoreFirstChar: 
# IgnoreLastChar: 
# StopWords:
# BuzzWords:
# Stemming Applied: 0
# Soundex Applied: 0
# Fuzzy Mode: None
# IgnoreTotalWordCountWhenRanking: 1
# Search words: swishdefault=(Head)
# Parsed Words: swishdefault = ( head ) 
# Removed stopwords: 
#
err: no results
swish.cgi: no results

------------- Results summary ------------
** NO RESULTS **
Debug level set to: 25 [basic, output, summary]
Config file '.swishcgi.conf': No such file or directory at
/usr/local/apache/cgi-bin/swish.cgi line 657.
swish.cgi: no results

------------- Results summary ------------
** NO RESULTS **
Debug level set to: 25 [basic, output, summary]
Config file '.swishcgi.conf': No such file or directory at
/usr/local/apache/cgi-bin/swish.cgi line 657.
# SWISH format: 2.4.2
# Search words: swishdefault=(Neck)
#
# 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
# Description: 
# Pointer: 
# Maintained by: 
# MinWordLimit: 1
# MaxWordLimit: 40
# WordCharacters:
0123456789abcdefghijklmnopqrstuvwxyz

# BeginCharacters:
0123456789abcdefghijklmnopqrstuvwxyz

# EndCharacters:
0123456789abcdefghijklmnopqrstuvwxyz

# IgnoreFirstChar: 
# IgnoreLastChar: 
# StopWords:
# BuzzWords:
# Stemming Applied: 0
# Soundex Applied: 0
# Fuzzy Mode: None
# IgnoreTotalWordCountWhenRanking: 1
# Search words: swishdefault=(Neck)
# Parsed Words: swishdefault = ( neck ) 
# Removed stopwords: 
#
err: no results
swish.cgi: no results

------------- Results summary ------------
** NO RESULTS **

As far as the query is concerned, I don't know what the correct syntax is from
the command line. Could you provide an example? Thanks.

-----Original Message-----
From: swish-e@sunsite.berkeley.edu
[mailto:swish-e@sunsite.berkeley.edu]On Behalf Of Bill Moseley
Sent: Friday, June 04, 2004 3:25 PM
To: Multiple recipients of list
Subject: [SWISH-E] Re: Error Message: Index file error: Could not open




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:43:10 2004