DOKK / manpages / debian 10 / libsru-perl / SRU::Response::Scan.3pm.en
SRU::Response::Scan(3pm) User Contributed Perl Documentation SRU::Response::Scan(3pm)

SRU::Response::Scan - A class for representing SRU scan responses

SRU::Response::Scan is a class for representing SRU scan response A scan request allows SRU clients to browse the indexes of an SRU server, much like you would scan the back of a book index to look up particular terms in the body of the book. The scan response bundles up the terms that were looked up.

new()

The constructor which you must pass a valid SRU::Request::Scan object.

version()

addTerm()

Allows you to add terms to the response object. Terms that are passed in must be valid SRU::Response::Term objects.

    $response->addTerm( SRU::Response::Term->new( value => 'Foo Fighter' ) );

terms()

Get/set the terms associated with the response. Be carefult you must pass in an array ref of SRU::Response::Term objects, or expect an array ref back when getting the values. If you don't bad things will happen.

diagnostics()

extraResponseData()

echoedScanRequest()

asXML()

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.

2013-10-18 perl v5.20.2