Ah, ok, that's useful to know, and it does make sense since I noticed that
there were in fact .temp files in the index directory while none of my other
indexes had .temp files.
So to recap- if there were no files to index, the temp files do not
overwrite the index files. So anyone who needs to do indexing on a
directory that from time to time may become empty, they must make sure that
at least one dummy file stays in the directory or else do a manual
overwriting of the index files with the temp files after reindexing is
From: Bill Moseley [mailto:email@example.com]
Sent: Tuesday, June 03, 2003 2:27 PM
To: Steven Moy
Subject: Re: [SWISH-E] emptying an index?
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
> 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.
Received on Tue Jun 3 18:41:11 2003