Tony Bowden > Plucene > Plucene::Search::BooleanScorer

Download:
Plucene-1.25.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  12
Open  5
View/Report Bugs
Source  

NAME ^

Plucene::Search::BooleanScorer - A boolean scorer

SYNOPSIS ^

        # isa Plucene::Search::Scorer

        $bool_scorer->add($scorer, $required, $prohibited);
        $bool_scorer->score($results, $max_doc);

DESCRIPTION ^

This is a scoring class for boolean scorers.

METHODS ^

new

        my $bool_scorer = Plucene::Search::BooleanScorer->new;

Create a new Plucene::Search::BooleanScorer object.

next_mask / required_mask / prohibited_mask max_coord / scorers / bucket_table / coord_factors / current_doc

Get / set these attributes

add

        $bool_scorer->add($scorer, $required, $prohibited);

score

        $bool_scorer->score($results, $max_doc);
syntax highlighting: