On Wed, Apr 20, 2005 at 09:29:20AM -0700, CheHax wrote:
> my $hits = $results->Hits;
> and I am looking for something like if ever it exists :
> my $time = $result->TimeTaken;
The swish library doesn't track that. That's in the binary.
> Otherwise, what's my solution ? Run a timer in my PERL script starting
> before the search and ending right after it ?
perldoc Time::HiRes
Or:
print "Search time: 0.0023 seconds\n";
will probably work fine.
--
Bill Moseley
moseley@hank.org
Unsubscribe from or help with the swish-e list:
http://swish-e.org/Discussion/
Help with Swish-e:
http://swish-e.org/current/docs
swish-e@sunsite.berkeley.edu
Received on Wed Apr 20 10:03:53 2005