Skip to main content.
home | support | download

Back to List Archive

Re: emptying an index?

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Tue Jun 03 2003 - 18:28:22 GMT
On Tue, Jun 03, 2003 at 06:59:19AM -0700, Steven Moy wrote:
> 
> I had a bunch of test files in a directory that I had indexed earlier.  I
> wanted to blow away all the files and start clean.  So I removed all the
> files and re-indexed, but when I did a search, I still saw all the old files
> there.  So I ended up having to delete all the index files themselves and
> then re-index.
> 
> Is this normal behavior (i.e. that a re-indexing of a freshly emptied
> directory will not purge the old index contents)?

Swish-e writes to a temporary index while indexing.  When indexing is 
complete (and some files were indexed, IIRC), the index is renamed 
replacing any old index.


-- 
Bill Moseley
moseley@hank.org
Received on Tue Jun 3 18:28:37 2003