user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
From: Eric Wong <e@80x24.org>
To: meta@public-inbox.org
Subject: [PATCH 0/3] cindex: rename `associate' to `join'
Date: Tue, 21 Nov 2023 12:43:12 +0000	[thread overview]
Message-ID: <20231121124315.1775613-1-e@80x24.org> (raw)

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

             reply	other threads:[~2023-11-21 12:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-21 12:43 Eric Wong [this message]
2023-11-21 12:43 ` [PATCH 1/3] cindex: avoid unneeded and redundant `local' calls Eric Wong
2023-11-21 12:43 ` [PATCH 2/3] doc/cindex: point no-fsync,dangerous to -index(1) Eric Wong
2023-11-21 12:43 ` [PATCH 3/3] cindex: rename --associate to --join, test w/ real repos Eric Wong
2023-11-21 18:53   ` [squash 4/3] t/cindex-join: fix alternates setup Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://public-inbox.org/README

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231121124315.1775613-1-e@80x24.org \
    --to=e@80x24.org \
    --cc=meta@public-inbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).