# phpman > perldoc > Plucene::Search::PhrasePositions

## NAME
    [Plucene::Search::PhrasePositions](https://www.chedong.com/phpMan.php/perldoc/Plucene%3A%3ASearch%3A%3APhrasePositions/markdown) - The position of a phrase

## SYNOPSIS
            my $phpos = [Plucene::Search::PhrasePositions](https://www.chedong.com/phpMan.php/perldoc/Plucene%3A%3ASearch%3A%3APhrasePositions/markdown)->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](https://www.chedong.com/phpMan.php/perldoc/Plucene%3A%3ASearch%3A%3APhrasePositions/markdown)->new;

    Make a new [Plucene::Search::PhrasePositions](https://www.chedong.com/phpMan.php/perldoc/Plucene%3A%3ASearch%3A%3APhrasePositions/markdown) 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;

