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: AS63949 45.79.64.0/19 X-Spam-Status: No, score=-3.4 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from ms.lwn.net (ms.lwn.net [45.79.88.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 7DEBB1F566 for ; Tue, 4 Jun 2024 17:18:17 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (2048-bit key; unprotected) header.d=lwn.net header.i=@lwn.net header.a=rsa-sha256 header.s=20201203 header.b=jyGidkqg; dkim-atps=neutral DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net C686948428 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1717521497; bh=cH/brSrVMB7S2yZkvVnjs/7iUnWvUoNQv/H/9IrKXVA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=jyGidkqgAfOfnMBsi0ZXgeD2WQJ3zfLj3FyW0Zu8E3ecEhOQUakrm4Z61xstsl32Y pjLoYj46O+kkzDhrbdUlaeUiRoZHiTx6wfuTc2QuuitNxkWoIsqkNt+kAGa7KhJ4nu WydCgvIqgcm87kNTOHETLLN3FXwhBYB+dDM0EDbsnaEqMXws4NqARfxxR/bQZvZFKd Jgg+nlGeD9bXF6D/cjwJwLjUwXfqTjWSfMQ+pnwVPaQyW3usNvI62RYS8J4dfbJ269 2xodJazxF7EhqrhkGqcetrKAFcxQcKfQeqHZdkFYID92wsLlm2vagGcl1DuM1z1vCO UiTGTijWCek0A== Received: from localhost (unknown [IPv6:2601:280:5e00:625::1fe]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id C686948428; Tue, 4 Jun 2024 17:18:16 +0000 (UTC) From: Jonathan Corbet To: Eric Wong Cc: meta@public-inbox.org Subject: Re: Switching to extindex In-Reply-To: <20240604170735.M954932@dcvr> References: <87ed9c1ywx.fsf@meer.lwn.net> <20240604170735.M954932@dcvr> Date: Tue, 04 Jun 2024 11:18:15 -0600 Message-ID: <87wmn4zkx4.fsf@meer.lwn.net> MIME-Version: 1.0 Content-Type: text/plain List-Id: 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. This is all good stuff - thanks again! jon