Plucene::Search::TopDocs - The top hits for a query
Contents
Description
Methods
total_hits
my $total_hits = $top_docs->total_hits;
The total number of hits for the query.
score_docs
my @score_docs = $top_docs->score_docs(@other);
The top hits for the query.
perl v5.36.0 2022-12-04 Plucene::Search::TopDocs(3pm)
Name
Plucene::Search::TopDocs - The top hits for a query
Synopsis
my $total_hits = $top_docs->total_hits;
my @score_docs = $top_docs->score_docs(@other);
