Skip to main content.
home | support | download

Back to List Archive

Re: possible error

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Mon Nov 18 2002 - 22:26:17 GMT
At 02:08 PM 11/18/02 -0800, Stephan Diehl wrote:
>when I try to index an empty directory, swish-e will leave
>index.swish-e.prop.temp
>and
>index.swish-e.temp
>instead of "index.swish-e" and "index.swish-e.prop"
>and give an error message:
>"err: No unique words indexed!"
>swish.c (I think the errormessage is coming from there)
>is just terminating.
>I'd rather have an empty index. Would it be save just to finish the creation 
>of the index file (even with no words in there)?

The reason it does this is so that it doens't replace a valid index with a
empty one.  Say you are indexing a live site, and you mess up the config so
that it doesn't index anything -- then your live site will continue to run.


-- 
Bill Moseley
mailto:moseley@hank.org
Received on Mon Nov 18 22:26:56 2002