Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] empty indexes ...

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Sun Apr 15 2007 - 20:19:49 GMT
On Sun, Apr 15, 2007 at 09:17:33AM -0700, Jordan Hayes wrote:
> > err: No unique words indexed!
> 
> I noticed that when this happens, an index isn't written -- the .temp 
> files are kept, though.  What if this is "expected" behavior?  Can I 
> just move the .temp files into place?  Will searching mind that the 
> indexes are empty?
> 
> I have a few indexes, and some of them might be empty at any given time. 
> But I want them to exist so I don't have to worry about whether they are 
> there when I search.

Maybe look for them in the script before including them in the search?
A few stat calls wouldn't hurt much.

-- 
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

_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Sun Apr 15 16:19:50 2007