NAME
Interchange::Search::Solr::Response
DESCRIPTION
WebService::Solr::Response subclass for error handling.
METHODS/ACCESSORS
In addition to all the WebService::Solr::Response methods this class have the following methods:
error
An error string.
is_empty_search
Error code is empty_search
.
success
Returns 1 if the operation is successful, 0 otherwise.
exception_message
Checks the response for a Solr exception (e.g undefined field foobar). If found, it returns the exception message. Otherwise it returns the generic HTTP response message.
as_string
Returns the string representation of Solr's HTTP response.
AUTHORS
Marco Pessotto, <melmothx at gmail.com>
Stefan Hornburg (Racke), <racke at linuxia.de>
LICENSE AND COPYRIGHT
Copyright 2015-2021 Marco Pessotto, Stefan Hornburg (Racke).
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.