From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS6315 166.70.0.0/16 X-Spam-Status: No, score=-3.7 required=3.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_LOW,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.1 Received: from out02.mta.xmission.com (out02.mta.xmission.com [166.70.13.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 3D0651F597; Wed, 18 Jul 2018 16:52:27 +0000 (UTC) Received: from in01.mta.xmission.com ([166.70.13.51]) by out02.mta.xmission.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.87) (envelope-from ) id 1ffpgg-0007pG-Bz; Wed, 18 Jul 2018 10:52:26 -0600 Received: from [97.119.167.31] (helo=x220.xmission.com) by in01.mta.xmission.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.87) (envelope-from ) id 1ffpgf-0005ty-Qn; Wed, 18 Jul 2018 10:52:26 -0600 From: ebiederm@xmission.com (Eric W. Biederman) To: Eric Wong Cc: meta@public-inbox.org References: <87a7qpjve8.fsf@xmission.com> <20180717233058.30820-3-ebiederm@xmission.com> <20180718102233.jt4loti4k3x3wkp7@whir> <87bmb4ilfc.fsf@xmission.com> <20180718163139.sqgr7im572bnlrgg@dcvr> Date: Wed, 18 Jul 2018 11:52:18 -0500 In-Reply-To: <20180718163139.sqgr7im572bnlrgg@dcvr> (Eric Wong's message of "Wed, 18 Jul 2018 16:31:39 +0000") Message-ID: <87pnzkh4fx.fsf_-_@xmission.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-XM-SPF: eid=1ffpgf-0005ty-Qn;;;mid=<87pnzkh4fx.fsf_-_@xmission.com>;;;hst=in01.mta.xmission.com;;;ip=97.119.167.31;;;frm=ebiederm@xmission.com;;;spf=neutral X-XM-AID: U2FsdGVkX1+4RcmxSK++Jmjp9S8AxcGbIInJZVz1964= X-SA-Exim-Connect-IP: 97.119.167.31 X-SA-Exim-Mail-From: ebiederm@xmission.com Subject: [PATCH v2 1/3] Making the search indexes optional X-SA-Exim-Version: 4.2.1 (built Thu, 05 May 2016 13:38:54 -0600) X-SA-Exim-Scanned: Yes (on in01.mta.xmission.com) List-Id: This is my respin of these patches. I have used the levels: full, medium, basic. I think basic conveys the message that it is ok to run with and you can expect most things to work, better than minimal where it feels like you don't know what will fail. I have tweaked the reindex tests to run with all 3 different levels so at least these code paths get exercised. Eric W. Biederman (3): SearchIdx.pm: Make indexing search positions optional SearchIdx: Add the mechanism for making all Xapian indexing optional SearchIdx: Allow the amount of indexing be configured lib/PublicInbox/Config.pm | 2 +- lib/PublicInbox/SearchIdx.pm | 256 +++++++++++++++++++++++-------------------- t/v1reindex.t | 43 +++++++- t/v2reindex.t | 40 +++++++ 4 files changed, 220 insertions(+), 121 deletions(-)