]> Sergey Matveev's repositories - public-inbox.git/commit
store less data in the Xapian document
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Sat, 7 Apr 2018 03:41:53 +0000 (03:41 +0000)
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Sat, 7 Apr 2018 03:42:29 +0000 (03:42 +0000)
commit3348ad4b3b1a0865ee58a902953165ea0f4aa4bd
treefd17dd1b4434cad0dc211c5e890e8c0d5a0d07ce
parent42c485400522c7c255f6da11391526cb1bc5931b
store less data in the Xapian document

Since we only query the SQLite over DB for OVER/XOVER; do not
need to waste space storing fields To/Cc/:bytes/:lines or the
XNUM term.  We only use From/Subject/References/Message-ID/:blob
in various places of the PSGI code.

For reindexing, we will take advantage of docid stability
in "xapian-compact --no-renumber" to ensure duplicates do not
show up in search results.  Since the PSGI interface is the
only consumer of Xapian at the moment, it has no need to
search based on NNTP article number.
lib/PublicInbox/NNTP.pm
lib/PublicInbox/OverIdx.pm
lib/PublicInbox/SearchIdx.pm
lib/PublicInbox/SearchMsg.pm
lib/PublicInbox/V2Writable.pm
script/public-inbox-compact
t/search.t
t/v2writable.t