]> Sergey Matveev's repositories - public-inbox.git/commit
search: replace ->query with ->mset
authorEric Wong <e@80x24.org>
Wed, 2 Sep 2020 11:04:16 +0000 (11:04 +0000)
committerEric Wong <e@80x24.org>
Thu, 3 Sep 2020 20:11:03 +0000 (20:11 +0000)
commit80b887f29b2ec71d025b4c266a1c26314758994c
tree31f9937daf20c21b33c0407763bf2d6bd06d2f66
parent851aa7183cf2b152d7ff187729bc896597d22fad
search: replace ->query with ->mset

Nearly all of the search uses in the production code rely on
a Xapian mset iterator being returned (instead of an array
of $smsg objects).  So default to returning the mset and move
the burden of smsg array conversion into the test cases.
21 files changed:
lib/PublicInbox/ExtMsg.pm
lib/PublicInbox/IMAP.pm
lib/PublicInbox/Mbox.pm
lib/PublicInbox/Search.pm
lib/PublicInbox/SearchView.pm
lib/PublicInbox/SolverGit.pm
t/altid.t
t/altid_v2.t
t/index-git-times.t
t/indexlevels-mirror.t
t/mda_filter_rubylang.t
t/replace.t
t/search.t
t/v1reindex.t
t/v2mda.t
t/v2mirror.t
t/v2reindex.t
t/v2writable.t
t/watch_filter_rubylang.t
t/watch_maildir_v2.t
t/xcpdb-reshard.t