From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 4DB701F566; Tue, 4 Jun 2024 17:24:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1717521843; bh=kv7vHFH0xTo+3iPIOIOjRfMifsa8Uxk/6YP1q9aJ/mc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=P+ZlhCDZ/4tMgfBEDatmh4B8J8gXOFamiA4T75ClfxxFlKg21zLgY/VngeKCjB/El BJEfepGcPfGs5dcIQp6yrRwOTfTwEVDazVFdKy7k5ajVoEv1zXKtbigeSTAaDT6mmr gycvRKncWnV9lZ6gBV2jA+PbvjJNztylyEk2U3cQ= Date: Tue, 4 Jun 2024 17:24:03 +0000 From: Eric Wong To: Jonathan Corbet Cc: meta@public-inbox.org Subject: Re: Switching to extindex Message-ID: <20240604172403.M156885@dcvr> References: <87ed9c1ywx.fsf@meer.lwn.net> <20240604170735.M954932@dcvr> <87wmn4zkx4.fsf@meer.lwn.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <87wmn4zkx4.fsf@meer.lwn.net> List-Id: Jonathan Corbet wrote: > Eric Wong writes: > > > Jonathan Corbet wrote: > >> I"ve run public-inbox-extindex --all and waited a few days; once I > >> figured out that I also need to have it running with --watch, things > >> *seem* to be working well. > >> > >> My understanding is that I can now get rid of the per-inbox indexing and > >> get a bunch of disk space back, and I would like to do that. This, > >> though, is the step that I've not been able to figure out. Which files > >> can I remove, and how do I tell public-inbox to not recreate them? > > > > Yes, you can remove the Xapian shard directories (0, 1, 2, ...) > > under xap15 and -watch will be able to detect indexlevel=basic > > on the next SIGHUP or restart. > > For reasons lost to history, I'm using public-inbox-mda instead; it > seems it does not do that detection? No worries, I can tweak the config > file easily enough. -mda does the detection, too, just every time. I haven't used it much with -extindex but I think it there's tests for it so it works...