The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Senna::Cursor - A Senna Cursor Object

SYNOPSIS

  use Senna::Index;
  use Senna::Cursor;
  my $cursor = $index->search($query);

  print "got ", $cursor->hits, " hits\n";
  while (my $r = $cursor->next) {
     print "key = ", $r->key, ", score = ", $r->score, "\n";
  }

  $cursor->rewind();
  $cursor->close();