Tony Bowden > Plucene > Plucene::Search::TopDocs

Download:
Plucene-1.25.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  12
Open  5
View/Report Bugs
Source  

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);

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.

syntax highlighting: