We will vivify multiple ghosts if a message has multiple
Message-IDs.
$doc->add_boolean_term('XPATH' . $xpath) if defined $xpath;
$doc->add_boolean_term('Q' . $_) foreach @$mids;
$doc->add_boolean_term('XPATH' . $xpath) if defined $xpath;
$doc->add_boolean_term('Q' . $_) foreach @$mids;
$self->{skel} and die "Should not have read-only skel here\n";;
foreach my $mid (@$mids) {
$self->{skel} and die "Should not have read-only skel here\n";;
foreach my $mid (@$mids) {
$self->each_smsg_by_mid($mid, sub {
my ($cur) = @_;
my $type = $cur->type;
$self->each_smsg_by_mid($mid, sub {
my ($cur) = @_;
my $type = $cur->type;
- }
- if ($vivified > 1) {
- my $id = '<'.join('> <', @$mids).'>';
- warn "BUG: vivified multiple ($vivified) ghosts for $id\n";
+ $vivified > 1 and warn
+ "BUG: vivified multiple ($vivified) ghosts for $mid\n";
}
# not really important, but we return any vivified ghost docid, here:
return $doc_id if defined $doc_id;
}
# not really important, but we return any vivified ghost docid, here:
return $doc_id if defined $doc_id;