debian man page for plucene::search::hitcollector

Query: plucene::search::hitcollector

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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

NAME
Plucene::Search::HitCollector
SYNOPSIS
# used in conjunction with the IndexSearcher my $searcher = Plucene::Search::IndexSearcher->new($DIRECTORY); my $hc = Plucene::Search::HitCollector->new( collect => sub { my ($self, $doc, $score) = @_; ... }); $searcher->search_hc($QUERY, $hc);
DESCRIPTION
This is used in conjunction with the IndexSearcher, in that whenever a non-zero scoring document is found, the subref with with the HitCollector was made will get called.
METHODS
new my $hc = Plucene::Search::HitCollector->new( collect => sub { my ($self, $doc, $score) = @_; ... }); This will create a new Plucene::Search::HitCollector with the passed subref. collect This is called once for every non-zero scoring document, with the document number and its score. perl v5.12.4 2011-08-14 Plucene::Search::HitCollector(3pm)
Related Man Pages
class::dbi::search::basic(3pm) - debian
kinosearch1::search::searchserver(3pm) - debian
plucene::index::segmentreader(3pm) - debian
plucene::index::writer(3pm) - debian
plucene::testcase(3pm) - debian
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
How can I do this in VI editor?
Introduction
Weird 'find' results
How to copy a column of multiple files and paste into new excel file (next to column)?