diff --git a/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Connector.php b/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Connector.php index fb89e0119ce4e32cb19a090f4c9c71a3f19cb97f..a704209fdfc206e41c64afd9cf5b7b5c389d2572 100644 --- a/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Connector.php +++ b/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Connector.php @@ -125,15 +125,6 @@ class Connector */ protected $appends; - /** - * Last query. - * - * @see self::resubmit() - * - * @var array - */ - protected $lastQuery; - /** * HTTP client adapter. * @@ -384,16 +375,6 @@ class Connector $this->logger = $logger; } - /** - * Return parameters of the last request. - * - * @return ParamBag - */ - public function getLastQueryParameters() - { - return $this->lastQuery['parameters']; - } - /** * Set the HTTP proxy service. * @@ -493,20 +474,6 @@ class Connector return new ParamBag($params); } - /** - * Repeat the last request with potentially modified parameters. - * - * @param ParamBag $params Request parameters - * - * @return string - */ - public function resubmit(ParamBag $params) - { - $last = $this->lastQuery; - $params = $this->prepare($params); - return $this->query($last['handler'], $params, $last['method']); - } - /** * Send query to SOLR and return response body. * @@ -539,9 +506,6 @@ class Connector if ($this->logger) { $this->logger->debug(sprintf('Query %s', $paramString)); } - $this->lastQuery = array( - 'parameters' => $params, 'handler' => $handler, 'method' => $method - ); return $this->send($client); }