Skip to main content.
home | support | download

Back to List Archive

Re: Configuration

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Thu Dec 15 2005 - 17:04:27 GMT
On Thu, Dec 15, 2005 at 11:57:10AM -0500, Lars D. Noodén wrote:
> I am invoking swish like this:
> 	swish-e -c swish.conf -f swish.index -v 3

That's doesn't look so good.

Swish doesn't use SWISH::Filters without being told to do so:

You either have to:

1) Pipe the output of something that uses SWISH::Filter into swish:

    ./DirTree.pl /path/to/something | swish-e -S prog -i stdin


2) Have swish read from the progam

    swish-e -S prog -i ./DirTree.pl

    or set the program in IndexDir in a swish-config file

        swish.conf:
        IndexDir DirTree.pl

        swihs-e -S prog -c swish.conf


3) Use a FileFilter to run a program that then uses SWISH::Filter

    (yuck.  I won't even show an example)

-- 
Bill Moseley
moseley@hank.org

Unsubscribe from or help with the swish-e list: 
   http://swish-e.org/Discussion/

Help with Swish-e:
   http://swish-e.org/current/docs
   swish-e@sunsite.berkeley.edu
Received on Thu Dec 15 09:04:28 2005