From 1b7e935ab1690e28d790d8db5af2714f13c258cc Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 14 May 2019 02:04:43 +0000 Subject: searchidx: fix incremental index with indexlevel=basic on v1 We were reindexing the full history every invocation of -index when Xapian was not used because we were incorrectly relying on 'last_commit' metadata stored in Xapian. Rewrite the indexing logic to be less confusing while we're at it, since we rely on `git merge-base --is-ancestor' nowadays. Furthermore, we need to handle message removals from the overview index correctly when Xapian is not in use. Co-authored-by: Eric W. Biederman --- MANIFEST | 1 + 1 file changed, 1 insertion(+) (limited to 'MANIFEST') diff --git a/MANIFEST b/MANIFEST index 28300e0c..1da40a90 100644 --- a/MANIFEST +++ b/MANIFEST @@ -198,6 +198,7 @@ t/httpd.t t/hval.t t/import.t t/inbox.t +t/indexlevels-mirror.t t/init.t t/linkify.t t/main-bin/spamc -- cgit v1.2.3-24-ge0c7