]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Search.pm
search*: rename {partition} => {shard}
[public-inbox.git] / lib / PublicInbox / Search.pm
index 098c97cdc2c11c72893d07a4eb4ffa3bb14bc856..45431ecc4819bdc0279231d0825b6f7f5a193833 100644 (file)
@@ -131,9 +131,9 @@ sub xdir ($;$) {
                my $dir = "$self->{mainrepo}/xap" . SCHEMA_VERSION;
                return $dir if $rdonly;
 
-               my $part = $self->{partition};
-               defined $part or die "partition not given";
-               $dir .= "/$part";
+               my $shard = $self->{shard};
+               defined $shard or die "shard not given";
+               $dir .= "/$shard";
        }
 }