+ " searching for '$qtype:$qstr'");
+ if (defined $this->{rs}) {
+ $this->set_options();
+ die "task $this has resultset?!";
+ }
+
+ my $query;
+ if ($qtype eq "pqf") {
+ $query = new ZOOM::Query::PQF($qstr);
+ } elsif ($qtype eq "cql") {
+ $query = new ZOOM::Query::CQL($qstr);
+ } else {
+ $this->set_options();
+ die "Huh?!";
+ }