]> Sergey Matveev's repositories - public-inbox.git/commit
search: fix space regressions from recent changes
authorEric Wong <e@80x24.org>
Fri, 9 Sep 2016 00:01:25 +0000 (00:01 +0000)
committerEric Wong <e@80x24.org>
Fri, 9 Sep 2016 00:02:19 +0000 (00:02 +0000)
commit21ab8f3cc530d9483091f32c0865ba1ce867cef8
tree6b2c33e88d50e2cf76ae399ee2af497c86337e96
parenta9c903a57ff9a18c56a53bcba4316eade423fef6
search: fix space regressions from recent changes

As of Xapian 1.0.4 (from 2007) is possible to use
Search::Xapian::QueryParser::add_prefix multiple times with the
same user field name but different term prefixes.

This brings my current git@vger mirror from 6.5GB to 2.1GB
(both sizes are after xapian-compact).
lib/PublicInbox/Search.pm
lib/PublicInbox/SearchIdx.pm