From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 26DAA1F856 for ; Fri, 9 Sep 2016 00:01:33 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/10] search: more mairix prefix compatibility Date: Fri, 9 Sep 2016 00:01:21 +0000 Message-Id: <20160909000131.18584-1-e@80x24.org> List-Id: This brings us closer to the behavior of mairix(1) for search by supporting n:, t:, c:, f:, tc:, tcf:, n:, b:, and bs: prefixes as documented in the mairix(1) manpage. We also introduce the use of q: and nq: prefixes for quoted and non-quoted text, respectively. There is a schema version change in [PATCH 7/10] to maintain compatibility with Debian 7.x wheezy installs. The in-place reindexing would've been expensive anyways, so perhaps the schema bump is a good idea, anyways, as creating a fresh index should be faster than --reindex. Eric Wong (10): search: allow searching user fields (To/Cc/From) search: drop longer subject: prefix for search search: more granular message body searching search: fix space regressions from recent changes search: match quote detection behavior of view search: increase term positions for each quoted hunk search: fix compatibility with Debian wheezy search: avoid mindlessly calling body_set search: match the behavior of WWW for indexing text search: index attachment filenames lib/PublicInbox/Search.pm | 32 +++++++++--- lib/PublicInbox/SearchIdx.pm | 104 ++++++++++++++++++++++++------------- t/search.t | 120 ++++++++++++++++++++++++++++++++++++++++--- 3 files changed, 206 insertions(+), 50 deletions(-)