---
name: "Catmandu::Importer::SRU::Parser::meta"
section: "3pm"
platform: "linux"
package: "libcatmandu-sru-perl"
version: "0.43.0-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Catmandu::Importer::SRU::Parser::meta"
---

# Catmandu::Importer::SRU::Parser::meta(3pm)

Package transforms SRU responses metadata into a Perl hash

## 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 \<http://www.loc.gov/standards/sru/sru-1-1.html#responseparameters\> 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.
