Skip to main content.
home | support | download

Back to List Archive

Re: FileRules directive problem

From: <moseley(at)not-real.hank.org>
Date: Wed Sep 17 2003 - 14:50:32 GMT
On Wed, Sep 17, 2003 at 07:06:01AM -0700, Bucharow Leonard wrote:

> Bad directive on line #39 of file /home/swish/swish-e/conf/swish.conf.local:
> FileRules pathname contains /0_

Is that exatly what you have in your config file?

moseley@laptop:~$ swish-e -V
SWISH-E 2.4.0-pr3
moseley@laptop:~$ cat c
FileRules filename contains /0_

moseley@laptop:~$ swish-e -c c -i 1.html -T regex -v0
File[Rules|Match] filename match 1.html =~ m[/0_] : nope

moseley@laptop:~$ cat c
FileRules filename contains 0_

moseley@laptop:~$ swish-e -c c -i 1.html -T regex -v0
File[Rules|Match] filename match 1.html =~ m[0_] : nope

moseley@laptop:~$ mv 1.html 0_foo.html

moseley@laptop:~$ swish-e -c c -i 0_foo.html -T regex -v0
File[Rules|Match] filename match 0_foo.html =~ m[0_] : matched
err: No unique words indexed!
.


-- 
Bill Moseley
moseley@hank.org
Received on Wed Sep 17 14:50:40 2003