]> Sergey Matveev's repositories - public-inbox.git/commit
search: more granular message body searching
authorEric Wong <e@80x24.org>
Fri, 9 Sep 2016 00:01:24 +0000 (00:01 +0000)
committerEric Wong <e@80x24.org>
Fri, 9 Sep 2016 00:02:18 +0000 (00:02 +0000)
commita9c903a57ff9a18c56a53bcba4316eade423fef6
tree2c3499494c6305dc97b74371e575e632222dd19b
parent766d9b1ef9e2e2c325c5dae9d17bfeb85c9d2f93
search: more granular message body searching

"bs:" and "b:" are adapted from mairix(1)

We will also support searching explicitly for quoted vs
non-quoted text via "q:" and "nq:" prefixes since sometimes
readers will not care for quoted text.

In the future, we will support parsing diffs (perhaps when
repobrowse integration is complete).

Note: this roughly doubles the size of the Xapian database due
to the additional information; so this change may not be worth
it.
lib/PublicInbox/Search.pm
lib/PublicInbox/SearchIdx.pm
t/search.t