GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  PLUCENE::SEARCH::HITS (3)

.ds Aq ’

NAME

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

CONTENTS

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.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 PLUCENE::SEARCH::HITS (3) 2005-09-05

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.