Daisuke Maki > Senna-0.51 > Senna::Record

Download:
Senna-0.51.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  1
View/Report Bugs
Source  

NAME ^

Senna::Record - Senna Search Record

SYNOPSIS ^

  my $r = $cursor->next;
  $r->key;
  $r->score;
  $r->pos;
  $r->section;
  $r->n_subrecs;

DESCRIPTION ^

Senna::Record represents a single Senna search result.

METHODS ^

new

Create a new Senna::Record object. You normally do not need to call this yourself, as a result object will be returned from a Senna::Cursor.

key

Returns the key value of the search hit.

score

Returns the score of the search hit.

pos

section

n_subrecs

AUTHOR ^

Copyright (C) 2005 by Daisuke Maki <dmaki@cpan.org>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.

Development funded by Brazil Ltd. <http://dev.razil.jp/project/senna/>

syntax highlighting: