Some threads are easily over 100 messages, so the 50 limit is
not enough. It is likely that 1000 messages is not enough,
either, and we will need to tune our threading to handle more
messages and supply options for configurability.
my $path = id_compress($smsg->path);
my $qsub = Search::Xapian::Query->new(xpfx('path').$path);
my $query = Search::Xapian::Query->new(OP_OR, $qtid, $qsub);
+ $opts ||= {};
+ $opts->{limit} ||= 1000;
$self->do_enquire($query, $opts);
}