DOKK / manpages / debian 12 / libplucene-perl / Plucene::Search::TopDocs.3pm.en
Plucene::Search::TopDocs(3pm) User Contributed Perl Documentation Plucene::Search::TopDocs(3pm)

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.

2022-12-04 perl v5.36.0