Plucene::Search::BooleanScorer - A boolean scorer


Plucene documentation  | view source Contained in the Plucene distribution.

Index


NAME

Top

Plucene::Search::BooleanScorer - A boolean scorer

SYNOPSIS

Top

	# isa Plucene::Search::Scorer

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

DESCRIPTION

Top

This is a scoring class for boolean scorers.

METHODS

Top

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);


Plucene documentation  | view source Contained in the Plucene distribution.