]> Sergey Matveev's repositories - public-inbox.git/commit
search: v2: ensure shards are numerically sorted
authorEric Wong <e@yhbt.net>
Thu, 20 Aug 2020 20:24:41 +0000 (20:24 +0000)
committerEric Wong <e@yhbt.net>
Thu, 20 Aug 2020 21:11:10 +0000 (21:11 +0000)
commitdd709cbfe8a33b89ba2b790a1d55b4dfeded30b0
tree5556a318899ecbeab18b507e6b65bd031430c5cf
parentcda7ae7fb8da9eeb0e8aeb3df5a5ae8a9675102c
search: v2: ensure shards are numerically sorted

This seems required to correctly get the NNTP article number
from Xapian docid on combined Xapian DBs.  The default
(ASCII-betical) sorting was only acceptable for -imapd users
until somebody hit 11 (or more) shards, which is a rare case.
lib/PublicInbox/Search.pm