X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=blobdiff_plain;f=lib%2FPublicInbox%2FSmsg.pm;fp=lib%2FPublicInbox%2FSearchMsg.pm;h=7a47703a25054158c4f1ef12f61cad87ef7a1627;hp=84fe48025e564be6b81325f1fa43a6d206d1f124;hb=87678710135973f72722258e171fc00f85c86ec8;hpb=e5dbf0680cfbfa81bad38457c0430fd260dda682 diff --git a/lib/PublicInbox/SearchMsg.pm b/lib/PublicInbox/Smsg.pm similarity index 93% rename from lib/PublicInbox/SearchMsg.pm rename to lib/PublicInbox/Smsg.pm index 84fe4802..7a47703a 100644 --- a/lib/PublicInbox/SearchMsg.pm +++ b/lib/PublicInbox/Smsg.pm @@ -1,11 +1,13 @@ # Copyright (C) 2015-2020 all contributors # License: AGPL-3.0+ -# based on notmuch, but with no concept of folders, files or flags # -# Wraps a document inside our Xapian search index. -# There may be many of these objects loaded in memory at once -# for large threads in our WWW UI. -package PublicInbox::SearchMsg; +# A small/skeleton/slim representation of a message. + +# This used to be "SearchMsg", but we split out overview +# indexing into over.sqlite3 so it's not just "search". There +# may be many of these objects loaded in memory at once for +# large threads in our WWW UI and the NNTP range responses. +package PublicInbox::Smsg; use strict; use warnings; use base qw(Exporter);