From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: 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.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 032CD1F66E for ; Wed, 2 Sep 2020 11:04:22 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 00/11] cleanups, mostly indexing related Date: Wed, 2 Sep 2020 11:04:10 +0000 Message-Id: <20200902110421.30905-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Some cleanups ahead of detached index support. Found some dead code, too. Eric Wong (11): msgmap: note how we use ->created_at disambiguate OverIdx and Over by field name use more idiomatic internal API for ->over access search: remove special case for blank query tests: add "use strict" and declare v5.10.1 compatibility search: replace ->query with ->mset search: remove {over_ro} field imap: drop old, pre-Parse::RecDescent search parser wwwaltid: drop unused sqlite3_missing function overidx: document column uses v2writable: reuse read-only shard counting code lib/PublicInbox/ExtMsg.pm | 4 +- lib/PublicInbox/IMAP.pm | 63 +---------------- lib/PublicInbox/Inbox.pm | 11 ++- lib/PublicInbox/Mbox.pm | 6 +- lib/PublicInbox/Msgmap.pm | 1 + lib/PublicInbox/OverIdx.pm | 18 ++--- lib/PublicInbox/Search.pm | 32 ++++----- lib/PublicInbox/SearchIdx.pm | 32 ++++----- lib/PublicInbox/SearchView.pm | 3 +- lib/PublicInbox/SolverGit.pm | 5 +- lib/PublicInbox/V2Writable.pm | 59 ++++++---------- lib/PublicInbox/WwwAltId.pm | 16 +---- scripts/dupe-finder | 3 +- t/altid.t | 8 +-- t/altid_v2.t | 7 +- t/index-git-times.t | 17 +++-- t/indexlevels-mirror.t | 8 +-- t/mda_filter_rubylang.t | 6 +- t/replace.t | 8 +-- t/search-thr-index.t | 8 +-- t/search.t | 126 +++++++++++++++++----------------- t/v1reindex.t | 4 +- t/v2mda.t | 16 +++-- t/v2mirror.t | 24 +++---- t/v2reindex.t | 9 +-- t/v2writable.t | 14 ++-- t/watch_filter_rubylang.t | 12 ++-- t/watch_maildir_v2.t | 30 ++++---- t/xcpdb-reshard.t | 3 +- xt/eml_check_limits.t | 2 + xt/perf-threading.t | 2 +- 31 files changed, 232 insertions(+), 325 deletions(-)