namazu-users-en
[Top] [All Lists]

Re: How does mknmz determine if a file is updated?

To: Earl Hood <earl@earlhood.com>
Subject: Re: How does mknmz determine if a file is updated?
From: knok@daionet.gr.jp
Date: Mon, 01 Sep 2003 21:29:35 +0900
Cc: namazu-users-en@namazu.org
Reply-to: namazu-users-en@namazu.org
Message-id: <87he3w4rps.wl@puti.knok.daionet.gr.jp.knok.daionet.gr.jp>
At Sun, 31 Aug 2003 21:09:49 -0500,
Earl Hood wrote:
How does mknmz determine if a file is updated?  Looking at the source,
it appears it is based solely on mtime.  Is this true?

Yes, you are right.

A problem I am try to solve is if mknmz can be told to re-index
a file that has changed, but the mtime is the same.  Is there
a way to do this?  Is the -Z option the solution?

Unfortunately, no. The -Z option means that mknmz command assumes
existant files in the target directory are not updated. mknmz can only
find new appeared files.

To give some context, I have a mail archive that is organized into
period-based mhonarc archives.  I would like to be able to re-index
a given period (all periods are a single search index) without having
to rebuild the entire search index from scratch.

Currentry mknmz has no such feature...
-- 
NOKUBI Takatsugu
E-mail: knok@daionet.gr.jp
        knok@namazu.org / knok@debian.org

<Prev in Thread] Current Thread [Next in Thread>