Plucene::Search::TopDocs - The top hits for a query
my $total_hits = $top_docs->total_hits; my @score_docs = $top_docs->score_docs(@other);
my $total_hits = $top_docs->total_hits;
The total number of hits for the query.
my @score_docs = $top_docs->score_docs(@other);
The top hits for the query.
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.