Re: Mandatory -f switch on Windows for searching?

Peter Karman <[email protected]> Tue, 26 Sep 2006 08:44:46 -0700 (PDT)
Newsgroups gmane.comp.web.swish-e
Message-ID <[email protected]>
I believe the issue is that the config file is ignored when searching. 
That's true for all directives. The config file is only used when indexing.

Philippe A. wrote:
> I would like to know if anyone has encountered the following problem on
> Windows.
> 
> In my cfg, I have defined the path to my index file:
> IndexFile c:\phil\work\index.swish-e
> 
> Indexing with the following command line works fine:
> swish-e -c c:\path\to\cfg
> 
> Searching with the following does not work:
> swish-e -c c:\path\to\cfg -w word
> 
> Swish reports:
> Could not open the index file 'index.swish-e': No such file or directory
> 
> I tried replacing the backslashes for forward slashes in the cfg, that
> didn't help. I have to explicitely specify the path to the index on the
> command line.
> swish-e -c c:\path\to\cfg -f c:\path\to\index -w word
> 
> I seem to remember I didn't need the -f switch when I tested on Linux over
> the weekend. Can anyone confirm this? Thanks!
> 
> 
> 
> *********************************************************************
> Due to deletion of content types excluded from this list by policy,
> this multipart message was reduced to a single part, and from there
> to a plain text message.
> *********************************************************************

-- 
Peter Karman  .  http://peknet.com/  .  [email protected]