|
NAMEPlucene::Search::Hits - A list of ranked documents SYNOPSIS my $hits = Plucene::Search::Hits->new;
my $doc = $hits->doc($n);
my $score = $hits->score($n);
my $hit_doc = $hits->hit_doc($n);
DESCRIPTIONThis is a list of ranked documents, used to hold search results. METHODSnewmy $hits = Plucene::Search::Hits->new; query / searcher / filter / length / hit_docs / first / last / num_docs / max_docsGet / set these attributes. docmy $doc = $hits->doc($n); Returns the nth document. scoremy $score = $hits->score($n); The score of the nth document. hit_docmy $hit_doc = $hits->hit_doc($n); Returns the nth hit document.
|