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

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

The position of a phrase

## NAME

Plucene::Search::PhrasePositions - The position of a phrase

## SYNOPSIS

```
        my $phpos = Plucene::Search::PhrasePositions->new;
        my      $next = $phpos->next;
        my $first_pos = $phpos->first_position;
        my  $next_pos = $phpos->next_position;
```

## DESCRIPTION

## METHODS

### new

```
        my $phpos = Plucene::Search::PhrasePositions->new;
```

Make a new Plucene::Search::PhrasePositions object.

### doc / position / count / offset / tp / next

Get / set these attibutes.

### next

```
        my $next = $phpos->next;
```

### first\_position

```
        my $first = $phpos->first_position;
```

### next\_position

```
        my $next_pos = $phpos->next_position;
```
