---
name: "SRU::Request::SearchRetrieve"
section: "3pm"
platform: "linux"
package: "libsru-perl"
version: "1.01-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SRU::Request::SearchRetrieve"
---

# SRU::Request::SearchRetrieve(3pm)

A class for representing SRU searchRetrieve requests

## NAME

SRU::Request::SearchRetrieve - A class for representing SRU searchRetrieve requests

## SYNOPSIS

```
    ## creating a new request
    my $request = SRU::Request::SearchRetrieve->new(
        version => '1.1',
        query   => 'kirk and spock' );
```

## DESCRIPTION

## METHODS

### new()

The constructor which you can pass the following parameters: version, query, startRecord, maximumRecords, recordPacking, recordSchema, recordXPath, resultSetTTL, sortKeys, stylesheet, extraRequestData. The version and query parameters are mandatory.

### version()

### query()

### startRecord()

### maximumRecords()

### recordPacking()

### recordSchema()

### recordXPath()

### resultSetTTL()

### sortKeys()

### stylesheet()

### extraRequestData()

### validParams()

### cql()

Fetch the root node of the CQL parse tree for the query.

## COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Ed Summers.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
