about summary refs log tree commit homepage
path: root/lib/PublicInbox/Search.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-07-30 12:18:55 +0000
committerEric Wong <e@80x24.org>2021-07-31 00:14:20 +0000
commitdd80dcaa1e46543893de533938a1651639f91f10 (patch)
tree5adc2105b766957782d9d876f4c7914e9bf89c38 /lib/PublicInbox/Search.pm
parentb38ffe92ee5ccb5eb4e5892e8cafba85303cadfc (diff)
downloadpublic-inbox-dd80dcaa1e46543893de533938a1651639f91f10.tar.gz
Since extindex uses Xapian shards in a similar way to
v2 inboxes, we'll support -xcpdb (reshard+upgrade) and
-compact all the same to give admins tuning+upgrade
options.
Diffstat (limited to 'lib/PublicInbox/Search.pm')
-rw-r--r--lib/PublicInbox/Search.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Search.pm b/lib/PublicInbox/Search.pm
index 7e19e616..e80a5944 100644
--- a/lib/PublicInbox/Search.pm
+++ b/lib/PublicInbox/Search.pm
@@ -187,7 +187,7 @@ sub xdir ($;$) {
         my ($self, $rdonly) = @_;
         if ($rdonly || !defined($self->{shard})) {
                 $self->{xpfx};
-        } else { # v2 only:
+        } else { # v2 + extindex only:
                 "$self->{xpfx}/$self->{shard}";
         }
 }