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 - 20:08:40 GMT
Thanks for the syntax information. I ran the commandline query, and here are
the results:


# SWISH format: 2.4.2
# Search words: swishdefault=(Head)
# Removed stopwords: 
err: no results
.

-----Original Message-----
From: Bill Moseley [mailto:moseley@hank.org]
Sent: Friday, June 04, 2004 4:02 PM
To: Kaplan, Andrew H.
Cc: Swish-E Discussion Group (E-mail)
Subject: Re: Error Message: Index file error: Could not open


On Fri, Jun 04, 2004 at 03:40:53PM -0400, Kaplan, Andrew H. wrote:
> 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.

I did, see below:

    $ swish-e -w 'swishdefault=(Head)' -f /www/index.swish-e -b 1 -m 15


> 
> -----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
> 

-- 
Bill Moseley
moseley@hank.org
Received on Fri Jun 4 13:08:41 2004