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 44B231FF40; Tue, 21 Jun 2016 21:26:06 +0000 (UTC) Date: Tue, 21 Jun 2016 21:26:06 +0000 From: Eric Wong To: meta@public-inbox.org Subject: Re: [PATCH 2/2] searchidx: merge old thread id from ghosts Message-ID: <20160621212606.GA9942@dcvr.yhbt.net> References: <20160621042859.16146-1-e@80x24.org> <20160621042859.16146-3-e@80x24.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20160621042859.16146-3-e@80x24.org> List-Id: Eric Wong wrote: > due to out-of-order message arrival. This rectifies the > failure and will trigger a re-index. Btw, this reindexing is very time and space-consuming so there needs to be a way to reindex in-place as long as the Xapian document data is not broken... > +++ b/lib/PublicInbox/Search.pm > @@ -36,7 +36,8 @@ use constant { > # 8 - remove redundant/unneeded document data > # 9 - disable Message-ID compression (SHA-1) > # 10 - optimize doc for NNTP overviews > - SCHEMA_VERSION => 10, > + # 11 - merge threads when vivifying ghosts > + SCHEMA_VERSION => 11,