A list of ranked documents
my $hits = Plucene::Search::Hits->new; my $doc = $hits->doc($n); my $score = $hits->score($n); my $hit_doc = $hits->hit_doc($n);
This is a list of ranked documents, used to hold search results.
my $hits = Plucene::Search::Hits->new;
Get / set these attributes.
my $doc = $hits->doc($n);
Returns the nth document.
my $score = $hits->score($n);
The score of the nth document.
my $hit_doc = $hits->hit_doc($n);
Returns the nth hit document.