Plucene::Search::Hits(3pm) - phpMan

Command: man perldoc info search(apropos)  


Plucene::Search::Hits(3pm)     User Contributed Perl Documentation     Plucene::Search::Hits(3pm)



NAME
       Plucene::Search::Hits - A list of ranked documents

SYNOPSIS
               my $hits = Plucene::Search::Hits->new;

               my     $doc = $hits->doc($n);
               my   $score = $hits->score($n);
               my $hit_doc = $hits->hit_doc($n);

DESCRIPTION
       This is a list of ranked documents, used to hold search results.

METHODS
       new

               my $hits = Plucene::Search::Hits->new;

       query / searcher / filter / length / hit_docs / first / last / num_docs / max_docs

       Get / set these attributes.

       doc

               my $doc = $hits->doc($n);

       Returns the nth document.

       score

               my $score = $hits->score($n);

       The score of the nth document.

       hit_doc

               my $hit_doc = $hits->hit_doc($n);

       Returns the nth hit document.



perl v5.8.8                                 2008-03-01                 Plucene::Search::Hits(3pm)

Generated by $Id: phpMan.php,v 4.49 2006/02/26 13:18:18 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2012-05-25 00:56 @38.107.179.237 Crawled by CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
Valid XHTML 1.0!Valid CSS!