geekgrrl has asked for the wisdom of the Perl Monks concerning the following question:
my $searcher = new Plucene::Search::IndexSearcher($INDEXPATH); my $pquery = $parser->parse($query); #my $bool_scorer = Plucene::Search::BooleanScorer->new; my $hc =Plucene::Search::HitCollector->new( collect => sub { my ($self, $doc, $score) = @_; my $d = $searcher->doc($doc); $results{$d->get('id')->string()} = $score });
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Plucene Scoring
by nmcfarl (Pilgrim) on Dec 19, 2005 at 23:44 UTC |