---
name: "Plucene::Search::BooleanScorer"
section: "3pm"
platform: "linux"
package: "libplucene-perl"
version: "1.25-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Plucene::Search::BooleanScorer"
---

# Plucene::Search::BooleanScorer(3pm)

A boolean scorer

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