Skip to main content.
home | support | download

Back to List Archive

Re: possible error

From: Stephan Diehl <stephan.diehl(at)not-real.gmx.net>
Date: Tue Nov 19 2002 - 08:07:26 GMT
On Monday 18 November 2002 23:18, you wrote:
> 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.

So, how would I create an empty index? (I really need this as I don't want to 
resort to placing a dummy file somewhere just that there is a file for 
indexing). 
If you mess up your config, you might be doomed anyway.

Cheers

Stephan
Received on Tue Nov 19 08:07:42 2002