]> Sergey Matveev's repositories - public-inbox.git/commit
searchidx: make v1 indexing closer to v2
authorEric Wong <e@yhbt.net>
Fri, 24 Jul 2020 05:56:01 +0000 (05:56 +0000)
committerEric Wong <e@yhbt.net>
Sat, 25 Jul 2020 20:48:18 +0000 (20:48 +0000)
commitde8e1586d732ae6c09a92588a8e4d442aedbff37
treea0c441e9b3ca32aef414242f22d86207178dd82b
parent5ce7e26b1d7efc2fb1bb5310a756e7c873145246
searchidx: make v1 indexing closer to v2

We'll switch to using IdxStack here to ensure we get repeatable
results and ascending THREADIDs according to git chronology.
This means we'll need a two-pass reindex to index existing
messages before indexing new messages.

Since we no longer have a long-lived git-log process, we don't
have to worry about old Xapian referencing the git-log pipe
w/o FD_CLOEXEC, either.
lib/PublicInbox/SearchIdx.pm
t/v1reindex.t