Nicolas Steenlant
and 10 contributors

NAME

Catmandu::Importer::SRU::Parser::meta - Package transforms SRU responses metadata into a Perl hash

SYNOPSIS

  my $importer = Catmandu::Importer::SRU->new(
    base   => 'http://www.unicat.be/sru',
    query  => 'tit=cinema',
    parser => 'meta',
  );

DESCRIPTION

This Catmandu::Importer::SRU::Parser returns a single item with the SRU SearchRetrieve Response Parameters of a request.

version

SRU version of the response, e.g. 1.1.

numberOfRecords

Number of records matched by the query. If the query fails this will be 0.

resultSetId

Identifier for a result set that was created through the execution of the query.

resultSetIdleTime

Number of seconds after which the created result set will be deleted.

nextRecordPosition

Next position within the result set following the final returned record (unless this is the last part of the result set).

diagnostics

An array of diagnostics, each with uri, details (optional), and message (optional).

extraResponseData

Additional, profile specific information.

echoedSearchRetrieveRequest

The request parameters as hash of key-value pairs.

In addition field requestUrl contains the full request URL.