NAME
NexTrieve::Hitlist - handle the Hitlist specifications of NexTrieve
SYNOPSIS
use NexTrieve;
$ntv = NexTrieve->new( | {method => value} );
$search = $ntv->Search( file | $resource | server:port | port );
$query = $ntv->Query( | file | xml | {method => value} );
$hitlist = $search->Hitlist( $query | xml | {method => value} );
DESCRIPTION
The Hitlist object of the Perl support for NexTrieve. Do not create directly, but through the Hitlist method of the NexTrieve object.
METHODS
The following methods are available to the NexTrieve::Hitlist object.
id
$id = $hitlist->id;
firsthit
$firsthit = $hitlist->firsthit;
lasthit
$lasthit = $hitlist->lasthit;
displayedhits
$displayedhits = $hitlist->displayedhits;
totalhits
$totalhits = $hitlist->totalhits;
admin
$admin = $hitlist->admin;
errors
@error = $hitlist->errors;
warnings
@warning = $hitlist->warnings;
Hits
foreach $hit ($hitlist->Hits) {
# display result here
}
Hit
foreach $ordinal ($firsthit..$lasthit) {
$hit = $hitlist->Hit( $ordinal );
# display result here
}
AUTHOR
Elizabeth Mattijsen, <liz@nextrieve.com>.
Please report bugs to <perlbugs@nextrieve.com>.
COPYRIGHT
Copyright (c) 1995-2002 Elizabeth Mattijsen <liz@nextrieve.com>. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
http://www.nextrieve.com, the NexTrieve.pm and the other NexTrieve::xxx modules.