Plucene::Search::Hits - 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.
To install Plucene, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plucene
CPAN shell
perl -MCPAN -e shell install Plucene
For more information on module installation, please visit the detailed CPAN module installation guide.