Plucene::Search::TopDocs - The top hits for a query


Plucene documentation  | view source Contained in the Plucene distribution.

Index


NAME

Top

Plucene::Search::TopDocs - The top hits for a query

SYNOPSIS

Top

	my $total_hits = $top_docs->total_hits;
	my @score_docs = $top_docs->score_docs(@other);

DESCRIPTION

Top

METHODS

Top

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.


Plucene documentation  | view source Contained in the Plucene distribution.