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 774A61F406 for ; Tue, 21 Nov 2023 12:43:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1700570595; bh=i/ay7XiNylUJw8nylnE7G8nw8amvPUCFLbL3iQ0JiW8=; h=From:To:Subject:Date:From; b=IZIpIiNL+HIQUkkX9yqKy/Eg+CL2vQj/CKEwXfj3nKy0Umsfsq0ImX5OqwS5X/gJc eZBGBa3WtoaYNd/JhtIdR5NPkptDMRmJfJjsBu/mAOJhAyG1yU3ejXaU1lLRNp+CaJ ynPA/bE2dFbL15LYXc72t6J880L1rAOkxqOTHWw4= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/3] cindex: rename `associate' to `join' Date: Tue, 21 Nov 2023 12:43:12 +0000 Message-Id: <20231121124315.1775613-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: 3/3 fleshes out more join functionality, including storing the join data in compressed JSON as Xapian metadata and loading it as a Perl hash won't be excessive (compared to having 30-50k inbox names+paths in memory). Eric Wong (3): cindex: avoid unneeded and redundant `local' calls doc/cindex: point no-fsync+dangerous to -index(1) cindex: rename --associate to --join, test w/ real repos Documentation/public-inbox-cindex.pod | 7 +- MANIFEST | 1 + lib/PublicInbox/CodeSearch.pm | 62 ++++- lib/PublicInbox/CodeSearchIdx.pm | 383 ++++++++++++++++---------- lib/PublicInbox/TestCommon.pm | 9 +- lib/PublicInbox/XapHelper.pm | 14 +- lib/PublicInbox/xap_helper.h | 59 ++-- script/public-inbox-cindex | 8 +- t/cindex-join.t | 83 ++++++ t/cindex.t | 8 +- 10 files changed, 428 insertions(+), 206 deletions(-) create mode 100644 t/cindex-join.t