]> Sergey Matveev's repositories - public-inbox.git/commit
search: avoid repeated mbox results from search
authorEric Wong <e@80x24.org>
Mon, 23 Apr 2018 05:06:00 +0000 (05:06 +0000)
committerEric Wong <e@80x24.org>
Mon, 23 Apr 2018 05:06:18 +0000 (05:06 +0000)
commitf826a7830bce67c0f8c653baf97f7769bb2c57d9
treeb85e14f5ce815eefd0d7b22a15ee92667e032954
parente68ad2c9d4de7fb8434f01a824564ac61aa48e80
search: avoid repeated mbox results from search

Previous search queries already set sort order on the Enquire
object, altering the ordering of results and was causing
messages to be redundantly downloaded via POST /$INBOX/?q=$QUERY&x=m

So stop caching the Search::Xapian::Enquire object since it
wasn't providing any measurable performance improvement.
lib/PublicInbox/Search.pm