From bd88aaef79e0cc0c5a57eb1da8d59fda5c575660 Mon Sep 17 00:00:00 2001 From: lucha <lucha@paranoici.org> Date: Sun, 30 Dec 2018 13:37:28 -0800 Subject: [PATCH] Removed Solr for Wordpress plugin --- .../Apache/Solr/Document.php | 351 ---- .../Apache/Solr/Response.php | 325 ---- .../Apache/Solr/Service.php | 936 ---------- .../Apache/Solr/Service/Balancer.php | 763 --------- .../SolrPhpClient/Apache/Solr/Document.php | 367 ---- .../SolrPhpClient/Apache/Solr/Exception.php | 50 - .../Apache/Solr/HttpTransport/Abstract.php | 89 - .../Apache/Solr/HttpTransport/Curl.php | 198 --- .../Apache/Solr/HttpTransport/CurlNoReuse.php | 196 --- .../Solr/HttpTransport/FileGetContents.php | 216 --- .../Apache/Solr/HttpTransport/Interface.php | 94 - .../Apache/Solr/HttpTransport/Response.php | 255 --- .../Apache/Solr/HttpTransportException.php | 79 - .../Apache/Solr/InvalidArgumentException.php | 50 - .../Solr/NoServiceAvailableException.php | 50 - .../Apache/Solr/ParserException.php | 50 - .../SolrPhpClient/Apache/Solr/Response.php | 247 --- .../SolrPhpClient/Apache/Solr/Service.php | 1181 ------------- .../Apache/Solr/Service/Balancer.php | 914 ---------- .../solr-for-wordpress/SolrPhpClient/COPYING | 26 - .../tests/Apache/Solr/DocumentTest.php | 439 ----- .../Solr/HttpTransport/AbstractTest.php | 208 --- .../Solr/HttpTransport/CurlNoReuseTest.php | 53 - .../Apache/Solr/HttpTransport/CurlTest.php | 53 - .../HttpTransport/FileGetContentsTest.php | 53 - .../Solr/HttpTransport/ResponseTest.php | 164 -- .../Solr/HttpTransportExceptionTest.php | 58 - .../tests/Apache/Solr/ResponseTest.php | 194 --- .../Apache/Solr/Service/BalancerTest.php | 47 - .../tests/Apache/Solr/ServiceAbstractTest.php | 139 -- .../tests/Apache/Solr/ServiceTest.php | 1119 ------------ .../SolrPhpClient/tests/README | 20 - .../SolrPhpClient/tests/phpunit.bootstrap.inc | 28 - .../SolrPhpClient/tests/phpunit.xml | 15 - .../SolrPhpClient/tests/run.php | 42 - .../plugins/solr-for-wordpress/readme.txt | 146 -- .../plugins/solr-for-wordpress/schema.xml | 146 -- .../solr-for-wordpress/screenshot-1.png | Bin 59183 -> 0 bytes .../solr-for-wordpress/screenshot-2.png | Bin 53142 -> 0 bytes .../solr-for-wordpress/solr-for-wordpress.php | 1519 ----------------- .../solr-for-wordpress/solr-for-wordpress.pot | 292 ---- .../solr-for-wordpress/solr-options-page.php | 407 ----- .../template/autocomplete.css | 27 - .../template/s4w_search.php | 182 -- .../solr-for-wordpress/template/search.css | 379 ---- 45 files changed, 12167 deletions(-) delete mode 100644 wp-content/plugins/solr-for-wordpress/Apache/Solr/Document.php delete mode 100644 wp-content/plugins/solr-for-wordpress/Apache/Solr/Response.php delete mode 100644 wp-content/plugins/solr-for-wordpress/Apache/Solr/Service.php delete mode 100644 wp-content/plugins/solr-for-wordpress/Apache/Solr/Service/Balancer.php delete mode 100644 wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/Document.php delete mode 100644 wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/Exception.php delete mode 100644 wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/HttpTransport/Abstract.php delete mode 100644 wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/HttpTransport/Curl.php delete mode 100644 wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/HttpTransport/CurlNoReuse.php delete mode 100644 wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/HttpTransport/FileGetContents.php delete mode 100644 wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/HttpTransport/Interface.php delete mode 100644 wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/HttpTransport/Response.php delete mode 100644 wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/HttpTransportException.php delete mode 100644 wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/InvalidArgumentException.php delete mode 100644 wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/NoServiceAvailableException.php delete mode 100644 wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/ParserException.php delete mode 100644 wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/Response.php delete mode 100644 wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/Service.php delete mode 100644 wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/Service/Balancer.php delete mode 100644 wp-content/plugins/solr-for-wordpress/SolrPhpClient/COPYING delete mode 100644 wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/DocumentTest.php delete mode 100644 wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/HttpTransport/AbstractTest.php delete mode 100644 wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/HttpTransport/CurlNoReuseTest.php delete mode 100644 wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/HttpTransport/CurlTest.php delete mode 100644 wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/HttpTransport/FileGetContentsTest.php delete mode 100644 wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/HttpTransport/ResponseTest.php delete mode 100644 wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/HttpTransportExceptionTest.php delete mode 100644 wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/ResponseTest.php delete mode 100644 wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/Service/BalancerTest.php delete mode 100644 wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/ServiceAbstractTest.php delete mode 100644 wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/ServiceTest.php delete mode 100644 wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/README delete mode 100644 wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/phpunit.bootstrap.inc delete mode 100644 wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/phpunit.xml delete mode 100755 wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/run.php delete mode 100644 wp-content/plugins/solr-for-wordpress/readme.txt delete mode 100644 wp-content/plugins/solr-for-wordpress/schema.xml delete mode 100644 wp-content/plugins/solr-for-wordpress/screenshot-1.png delete mode 100644 wp-content/plugins/solr-for-wordpress/screenshot-2.png delete mode 100644 wp-content/plugins/solr-for-wordpress/solr-for-wordpress.php delete mode 100644 wp-content/plugins/solr-for-wordpress/solr-for-wordpress.pot delete mode 100644 wp-content/plugins/solr-for-wordpress/solr-options-page.php delete mode 100644 wp-content/plugins/solr-for-wordpress/template/autocomplete.css delete mode 100644 wp-content/plugins/solr-for-wordpress/template/s4w_search.php delete mode 100644 wp-content/plugins/solr-for-wordpress/template/search.css diff --git a/wp-content/plugins/solr-for-wordpress/Apache/Solr/Document.php b/wp-content/plugins/solr-for-wordpress/Apache/Solr/Document.php deleted file mode 100644 index 6448c051f..000000000 --- a/wp-content/plugins/solr-for-wordpress/Apache/Solr/Document.php +++ /dev/null @@ -1,351 +0,0 @@ -<?php -/** - * Copyright (c) 2007-2009, Conduit Internet Technologies, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - Neither the name of Conduit Internet Technologies, Inc. nor the names of - * its contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - * @copyright Copyright 2007-2009 Conduit Internet Technologies, Inc. (http://conduit-it.com) - * @license New BSD (http://solr-php-client.googlecode.com/svn/trunk/COPYING) - * - * @package Apache - * @subpackage Solr - * @author Donovan Jimenez <djimenez@conduit-it.com> - */ - -/** - * Holds Key / Value pairs that represent a Solr Document along with any associated boost - * values. Field values can be accessed by direct dereferencing such as: - * <code> - * ... - * $document->title = 'Something'; - * echo $document->title; - * ... - * </code> - * - * Additionally, the field values can be iterated with foreach - * - * <code> - * foreach ($document as $fieldName => $fieldValue) - * { - * ... - * } - * </code> - */ -class Apache_Solr_Document implements IteratorAggregate -{ - /** - * Document boost value - * - * @var float - */ - protected $_documentBoost = false; - - /** - * Document field values, indexed by name - * - * @var array - */ - protected $_fields = array(); - - /** - * Document field boost values, indexed by name - * - * @var array array of floats - */ - protected $_fieldBoosts = array(); - - /** - * Clear all boosts and fields from this document - */ - public function clear() - { - $this->_documentBoost = false; - - $this->_fields = array(); - $this->_fieldBoosts = array(); - } - - /** - * Get current document boost - * - * @return mixed will be false for default, or else a float - */ - public function getBoost() - { - return $this->_documentBoost; - } - - /** - * Set document boost factor - * - * @param mixed $boost Use false for default boost, else cast to float that should be > 0 or will be treated as false - */ - public function setBoost($boost) - { - $boost = (float) $boost; - - if ($boost > 0.0) - { - $this->_documentBoost = $boost; - } - else - { - $this->_documentBoost = false; - } - } - - /** - * Add a value to a multi-valued field - * - * NOTE: the solr XML format allows you to specify boosts - * PER value even though the underlying Lucene implementation - * only allows a boost per field. To remedy this, the final - * field boost value will be the product of all specified boosts - * on field values - this is similar to SolrJ's functionality. - * - * <code> - * $doc = new Apache_Solr_Document(); - * - * $doc->addField('foo', 'bar', 2.0); - * $doc->addField('foo', 'baz', 3.0); - * - * // resultant field boost will be 6! - * echo $doc->getFieldBoost('foo'); - * </code> - * - * @param string $key - * @param mixed $value - * @param mixed $boost Use false for default boost, else cast to float that should be > 0 or will be treated as false - */ - public function addField($key, $value, $boost = false) - { - if (!isset($this->_fields[$key])) - { - // create holding array if this is the first value - $this->_fields[$key] = array(); - } - else if (!is_array($this->_fields[$key])) - { - // move existing value into array if it is not already an array - $this->_fields[$key] = array($this->_fields[$key]); - } - - if ($this->getFieldBoost($key) === false) - { - // boost not already set, set it now - $this->setFieldBoost($key, $boost); - } - else if ((float) $boost > 0.0) - { - // multiply passed boost with current field boost - similar to SolrJ implementation - $this->_fieldBoosts[$key] *= (float) $boost; - } - - // add value to array - $this->_fields[$key][] = $value; - } - - /** - * Handle the array manipulation for a multi-valued field - * - * @param string $key - * @param string $value - * @param mixed $boost Use false for default boost, else cast to float that should be > 0 or will be treated as false - * - * @deprecated Use addField(...) instead - */ - public function setMultiValue($key, $value, $boost = false) - { - $this->addField($key, $value, $boost); - } - - /** - * Get field information - * - * @param string $key - * @return mixed associative array of info if field exists, false otherwise - */ - public function getField($key) - { - if (isset($this->_fields[$key])) - { - return array( - 'name' => $key, - 'value' => $this->_fields[$key], - 'boost' => $this->getFieldBoost($key) - ); - } - - return false; - } - - /** - * Set a field value. Multi-valued fields should be set as arrays - * or instead use the addField(...) function which will automatically - * make sure the field is an array. - * - * @param string $key - * @param mixed $value - * @param mixed $boost Use false for default boost, else cast to float that should be > 0 or will be treated as false - */ - public function setField($key, $value, $boost = false) - { - $this->_fields[$key] = $value; - $this->setFieldBoost($key, $boost); - } - - /** - * Get the currently set field boost for a document field - * - * @param string $key - * @return float currently set field boost, false if one is not set - */ - public function getFieldBoost($key) - { - return isset($this->_fieldBoosts[$key]) ? $this->_fieldBoosts[$key] : false; - } - - /** - * Set the field boost for a document field - * - * @param string $key field name for the boost - * @param mixed $boost Use false for default boost, else cast to float that should be > 0 or will be treated as false - */ - public function setFieldBoost($key, $boost) - { - $boost = (float) $boost; - - if ($boost > 0.0) - { - $this->_fieldBoosts[$key] = $boost; - } - else - { - $this->_fieldBoosts[$key] = false; - } - } - - /** - * Return current field boosts, indexed by field name - * - * @return array - */ - public function getFieldBoosts() - { - return $this->_fieldBoosts; - } - - /** - * Get the names of all fields in this document - * - * @return array - */ - public function getFieldNames() - { - return array_keys($this->_fields); - } - - /** - * Get the values of all fields in this document - * - * @return array - */ - public function getFieldValues() - { - return array_values($this->_fields); - } - - /** - * IteratorAggregate implementation function. Allows usage: - * - * <code> - * foreach ($document as $key => $value) - * { - * ... - * } - * </code> - */ - public function getIterator() - { - $arrayObject = new ArrayObject($this->_fields); - - return $arrayObject->getIterator(); - } - - /** - * Magic get for field values - * - * @param string $key - * @return mixed - */ - public function __get($key) - { - return $this->_fields[$key]; - } - - /** - * Magic set for field values. Multi-valued fields should be set as arrays - * or instead use the addField(...) function which will automatically - * make sure the field is an array. - * - * @param string $key - * @param mixed $value - */ - public function __set($key, $value) - { - $this->setField($key, $value); - } - - /** - * Magic isset for fields values. Do not call directly. Allows usage: - * - * <code> - * isset($document->some_field); - * </code> - * - * @param string $key - * @return boolean - */ - public function __isset($key) - { - return isset($this->_fields[$key]); - } - - /** - * Magic unset for field values. Do not call directly. Allows usage: - * - * <code> - * unset($document->some_field); - * </code> - * - * @param string $key - */ - public function __unset($key) - { - unset($this->_fields[$key]); - unset($this->_fieldBoosts[$key]); - } -} \ No newline at end of file diff --git a/wp-content/plugins/solr-for-wordpress/Apache/Solr/Response.php b/wp-content/plugins/solr-for-wordpress/Apache/Solr/Response.php deleted file mode 100644 index 49d015892..000000000 --- a/wp-content/plugins/solr-for-wordpress/Apache/Solr/Response.php +++ /dev/null @@ -1,325 +0,0 @@ -<?php -/** - * Copyright (c) 2007-2009, Conduit Internet Technologies, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - Neither the name of Conduit Internet Technologies, Inc. nor the names of - * its contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - * @copyright Copyright 2007-2009 Conduit Internet Technologies, Inc. (http://conduit-it.com) - * @license New BSD (http://solr-php-client.googlecode.com/svn/trunk/COPYING) - * - * @package Apache - * @subpackage Solr - * @author Donovan Jimenez <djimenez@conduit-it.com> - */ - -/** - * Represents a Solr response. Parses the raw response into a set of stdClass objects - * and associative arrays for easy access. - * - * Currently requires json_decode which is bundled with PHP >= 5.2.0, Alternatively can be - * installed with PECL. Zend Framework also includes a purely PHP solution. - * - * @todo When Solr 1.3 is released, possibly convert to use PHP or Serialized PHP output writer - */ -class Apache_Solr_Response -{ - /** - * Holds the raw response used in construction - * - * @var string - */ - protected $_rawResponse; - - /** - * Parsed values from the passed in http headers - * - * @var string - */ - protected $_httpStatus, $_httpStatusMessage, $_type, $_encoding; - - /** - * Whether the raw response has been parsed - * - * @var boolean - */ - protected $_isParsed = false; - - /** - * Parsed representation of the data - * - * @var mixed - */ - protected $_parsedData; - - /** - * Data parsing flags. Determines what extra processing should be done - * after the data is initially converted to a data structure. - * - * @var boolean - */ - protected $_createDocuments = true, - $_collapseSingleValueArrays = true; - - /** - * Constructor. Takes the raw HTTP response body and the exploded HTTP headers - * - * @param string $rawResponse - * @param array $httpHeaders - * @param boolean $createDocuments Whether to convert the documents json_decoded as stdClass instances to Apache_Solr_Document instances - * @param boolean $collapseSingleValueArrays Whether to make multivalued fields appear as single values - */ - public function __construct($rawResponse, $httpHeaders = array(), $createDocuments = true, $collapseSingleValueArrays = true) - { - //Assume 0, 'Communication Error', utf-8, and text/plain - $status = 0; - $statusMessage = 'Communication Error'; - $type = 'text/plain'; - $encoding = 'UTF-8'; - - //iterate through headers for real status, type, and encoding - if (is_array($httpHeaders) && count($httpHeaders) > 0) - { - //look at the first headers for the HTTP status code - //and message (errors are usually returned this way) - // - //HTTP 100 Continue response can also be returned before - //the REAL status header, so we need look until we find - //the last header starting with HTTP - // - //the spec: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1 - // - //Thanks to Daniel Andersson for pointing out this oversight - while (isset($httpHeaders[0]) && substr($httpHeaders[0], 0, 4) == 'HTTP') - { - $parts = split(' ', substr($httpHeaders[0], 9), 2); - - $status = $parts[0]; - $statusMessage = trim($parts[1]); - - array_shift($httpHeaders); - } - - //Look for the Content-Type response header and determine type - //and encoding from it (if possible - such as 'Content-Type: text/plain; charset=UTF-8') - //Check for a chunked response and de-chunk it if necessary - foreach ($httpHeaders as $header) - { - if (strncasecmp($header, 'Transfer-Encoding: chunked', 26) == 0) { - $rawResponse = $this->http_chunked_decode($rawResponse); - } - - if (strncasecmp($header, 'Content-Type:', 13) == 0) - { - //split content type value into two parts if possible - $parts = split(';', substr($header, 13), 2); - - $type = trim($parts[0]); - - if ($parts[1]) - { - //split the encoding section again to get the value - $parts = split('=', $parts[1], 2); - - if ($parts[1]) - { - $encoding = trim($parts[1]); - } - } - - break; - } - } - } - - $this->_rawResponse = $rawResponse; - $this->_type = $type; - $this->_encoding = $encoding; - $this->_httpStatus = $status; - $this->_httpStatusMessage = $statusMessage; - $this->_createDocuments = (bool) $createDocuments; - $this->_collapseSingleValueArrays = (bool) $collapseSingleValueArrays; - } - - /** - * dechunk an http 'transfer-encoding: chunked' message - * - * @param string $chunk the encoded message - * @return string the decoded message. If $chunk wasn't encoded properly it will be returned unmodified. - */ - protected function http_chunked_decode($chunk) { - $pos = 0; - $len = strlen($chunk); - $dechunk = null; - - while(($pos < $len) - && ($chunkLenHex = substr($chunk,$pos, ($newlineAt = strpos($chunk,"\n",$pos+1))-$pos))) - { - if (! $this->is_hex($chunkLenHex)) { - trigger_error('Value is not properly chunk encoded', E_USER_WARNING); - return $chunk; - } - - $pos = $newlineAt + 1; - $chunkLen = hexdec(rtrim($chunkLenHex,"\r\n")); - $dechunk .= substr($chunk, $pos, $chunkLen); - $pos = strpos($chunk, "\n", $pos + $chunkLen) + 1; - } - return $dechunk; - } - - /** - * determine if a string can represent a number in hexadecimal - * - * @param string $hex - * @return boolean true if the string is a hex, otherwise false - */ - protected function is_hex($hex) { - // regex is for weenies - $hex = strtolower(trim(ltrim($hex,"0"))); - if (empty($hex)) { $hex = 0; }; - $dec = hexdec($hex); - return ($hex == dechex($dec)); - } - - /** - * Get the HTTP status code - * - * @return integer - */ - public function getHttpStatus() - { - return $this->_httpStatus; - } - - /** - * Get the HTTP status message of the response - * - * @return string - */ - public function getHttpStatusMessage() - { - return $this->_httpStatusMessage; - } - - /** - * Get content type of this Solr response - * - * @return string - */ - public function getType() - { - return $this->_type; - } - - /** - * Get character encoding of this response. Should usually be utf-8, but just in case - * - * @return string - */ - public function getEncoding() - { - return $this->_encoding; - } - - /** - * Get the raw response as it was given to this object - * - * @return string - */ - public function getRawResponse() - { - return $this->_rawResponse; - } - - /** - * Magic get to expose the parsed data and to lazily load it - * - * @param unknown_type $key - * @return unknown - */ - public function __get($key) - { - if (!$this->_isParsed) - { - $this->_parseData(); - $this->_isParsed = true; - } - - if (isset($this->_parsedData->$key)) - { - return $this->_parsedData->$key; - } - - return null; - } - - /** - * Parse the raw response into the parsed_data array for access - */ - protected function _parseData() - { - //An alternative would be to use Zend_Json::decode(...) - $data = json_decode($this->_rawResponse); - - //if we're configured to collapse single valued arrays or to convert them to Apache_Solr_Document objects - //and we have response documents, then try to collapse the values and / or convert them now - if (($this->_createDocuments || $this->_collapseSingleValueArrays) && isset($data->response) && is_array($data->response->docs)) - { - $documents = array(); - - foreach ($data->response->docs as $originalDocument) - { - if ($this->_createDocuments) - { - $document = new Apache_Solr_Document(); - } - else - { - $document = $originalDocument; - } - - foreach ($originalDocument as $key => $value) - { - //If a result is an array with only a single - //value then its nice to be able to access - //it as if it were always a single value - if ($this->_collapseSingleValueArrays && is_array($value) && count($value) <= 1) - { - $value = array_shift($value); - } - - $document->$key = $value; - } - - $documents[] = $document; - } - - $data->response->docs = $documents; - } - - $this->_parsedData = $data; - } -} diff --git a/wp-content/plugins/solr-for-wordpress/Apache/Solr/Service.php b/wp-content/plugins/solr-for-wordpress/Apache/Solr/Service.php deleted file mode 100644 index 2ec22d991..000000000 --- a/wp-content/plugins/solr-for-wordpress/Apache/Solr/Service.php +++ /dev/null @@ -1,936 +0,0 @@ -<?php -/** - * Copyright (c) 2007-2009, Conduit Internet Technologies, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - Neither the name of Conduit Internet Technologies, Inc. nor the names of - * its contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - * @copyright Copyright 2007-2009 Conduit Internet Technologies, Inc. (http://conduit-it.com) - * @license New BSD (http://solr-php-client.googlecode.com/svn/trunk/COPYING) - * - * @package Apache - * @subpackage Solr - * @author Donovan Jimenez <djimenez@conduit-it.com> - */ - -// See Issue #1 (http://code.google.com/p/solr-php-client/issues/detail?id=1) -// Doesn't follow typical include path conventions, but is more convenient for users -require_once(dirname(__FILE__) . '/Document.php'); -require_once(dirname(__FILE__) . '/Response.php'); - -/** - * Starting point for the Solr API. Represents a Solr server resource and has - * methods for pinging, adding, deleting, committing, optimizing and searching. - * - * Example Usage: - * <code> - * ... - * $solr = new Apache_Solr_Service(); //or explicitly new Apache_Solr_Service('localhost', 8180, '/solr') - * - * if ($solr->ping()) - * { - * $solr->deleteByQuery('*:*'); //deletes ALL documents - be careful :) - * - * $document = new Apache_Solr_Document(); - * $document->id = uniqid(); //or something else suitably unique - * - * $document->title = 'Some Title'; - * $document->content = 'Some content for this wonderful document. Blah blah blah.'; - * - * $solr->addDocument($document); //if you're going to be adding documents in bulk using addDocuments - * //with an array of documents is faster - * - * $solr->commit(); //commit to see the deletes and the document - * $solr->optimize(); //merges multiple segments into one - * - * //and the one we all care about, search! - * //any other common or custom parameters to the request handler can go in the - * //optional 4th array argument. - * $solr->search('content:blah', 0, 10, array('sort' => 'timestamp desc')); - * } - * ... - * </code> - * - * @todo Investigate using other HTTP clients other than file_get_contents built-in handler. Could provide performance - * improvements when dealing with multiple requests by using HTTP's keep alive functionality - */ -class Apache_Solr_Service -{ - /** - * Response version we support - */ - const SOLR_VERSION = '1.2'; - - /** - * Response writer we support - * - * @todo Solr 1.3 release may change this to SerializedPHP or PHP implementation - */ - const SOLR_WRITER = 'json'; - - /** - * NamedList Treatment constants - */ - const NAMED_LIST_FLAT = 'flat'; - const NAMED_LIST_MAP = 'map'; - - /** - * Servlet mappings - */ - const PING_SERVLET = 'admin/ping'; - const UPDATE_SERVLET = 'update'; - const SEARCH_SERVLET = 'select'; - const THREADS_SERVLET = 'admin/threads'; - - /** - * Server identification strings - * - * @var string - */ - protected $_host, $_port, $_path; - - /** - * Whether {@link Apache_Solr_Response} objects should create {@link Apache_Solr_Document}s in - * the returned parsed data - * - * @var boolean - */ - protected $_createDocuments = true; - - /** - * Whether {@link Apache_Solr_Response} objects should have multivalue fields with only a single value - * collapsed to appear as a single value would. - * - * @var boolean - */ - protected $_collapseSingleValueArrays = true; - - /** - * How NamedLists should be formatted in the output. This specifically effects facet counts. Valid values - * are {@link Apache_Solr_Service::NAMED_LIST_MAP} (default) or {@link Apache_Solr_Service::NAMED_LIST_FLAT}. - * - * @var string - */ - protected $_namedListTreatment = self::NAMED_LIST_MAP; - - /** - * Query delimiters. Someone might want to be able to change - * these (to use & instead of & for example), so I've provided them. - * - * @var string - */ - protected $_queryDelimiter = '?', $_queryStringDelimiter = '&'; - - /** - * Constructed servlet full path URLs - * - * @var string - */ - protected $_updateUrl, $_searchUrl, $_threadsUrl; - - /** - * Keep track of whether our URLs have been constructed - * - * @var boolean - */ - protected $_urlsInited = false; - - /** - * Stream context for posting - * - * @var resource - */ - protected $_postContext; - - /** - * Escape a value for special query characters such as ':', '(', ')', '*', '?', etc. - * - * NOTE: inside a phrase fewer characters need escaped, use {@link Apache_Solr_Service::escapePhrase()} instead - * - * @param string $value - * @return string - */ - static public function escape($value) - { - //list taken from http://lucene.apache.org/java/docs/queryparsersyntax.html#Escaping%20Special%20Characters - $pattern = '/(\+|-|&&|\|\||!|\(|\)|\{|}|\[|]|\^|"|~|\*|\?|:|\\\)/'; - $replace = '\\\$1'; - - return preg_replace($pattern, $replace, $value); - } - - /** - * Escape a value meant to be contained in a phrase for special query characters - * - * @param string $value - * @return string - */ - static public function escapePhrase($value) - { - $pattern = '/("|\\\)/'; - $replace = '\\\$1'; - - return preg_replace($pattern, $replace, $value); - } - - /** - * Convenience function for creating phrase syntax from a value - * - * @param string $value - * @return string - */ - static public function phrase($value) - { - return '"' . self::escapePhrase($value) . '"'; - } - - /** - * Constructor. All parameters are optional and will take on default values - * if not specified. - * - * @param string $host - * @param string $port - * @param string $path - */ - public function __construct($host = 'localhost', $port = 8180, $path = '/solr/') - { - $this->setHost($host); - $this->setPort($port); - $this->setPath($path); - - $this->_initUrls(); - - //set up the stream context for posting with file_get_contents - $contextOpts = array( - 'http' => array( - 'method' => 'POST', - 'header' => "Content-Type: text/xml; charset=UTF-8\r\n" //php.net example showed \r\n at the end - ) - ); - - $this->_postContext = stream_context_create($contextOpts); - } - - /** - * Return a valid http URL given this server's host, port and path and a provided servlet name - * - * @param string $servlet - * @return string - */ - protected function _constructUrl($servlet, $params = array()) - { - if (count($params)) - { - //escape all parameters appropriately for inclusion in the query string - $escapedParams = array(); - - foreach ($params as $key => $value) - { - $escapedParams[] = urlencode($key) . '=' . urlencode($value); - } - - $queryString = $this->_queryDelimiter . implode($this->_queryStringDelimiter, $escapedParams); - } - else - { - $queryString = ''; - } - - return 'http://' . $this->_host . ':' . $this->_port . $this->_path . $servlet . $queryString; - } - - /** - * Construct the Full URLs for the three servlets we reference - */ - protected function _initUrls() - { - //Initialize our full servlet URLs now that we have server information - $this->_updateUrl = $this->_constructUrl(self::UPDATE_SERVLET, array('wt' => self::SOLR_WRITER )); - $this->_searchUrl = $this->_constructUrl(self::SEARCH_SERVLET); - $this->_threadsUrl = $this->_constructUrl(self::THREADS_SERVLET, array('wt' => self::SOLR_WRITER )); - - $this->_urlsInited = true; - } - - /** - * Central method for making a get operation against this Solr Server - * - * @param string $url - * @param float $timeout Read timeout in seconds - * @return Apache_Solr_Response - * - * @todo implement timeout ability - * @throws Exception If a non 200 response status is returned - */ - protected function _sendRawGet($url, $timeout = FALSE) - { - //$http_response_header is set by file_get_contents - $response = new Apache_Solr_Response(@file_get_contents($url), $http_response_header, $this->_createDocuments, $this->_collapseSingleValueArrays); - - if ($response->getHttpStatus() != 200) - { - throw new Exception('"' . $response->getHttpStatus() . '" Status: ' . $response->getHttpStatusMessage(), $response->getHttpStatus()); - } - - return $response; - } - - /** - * Central method for making a post operation against this Solr Server - * - * @param string $url - * @param string $rawPost - * @param float $timeout Read timeout in seconds - * @param string $contentType - * @return Apache_Solr_Response - * - * @throws Exception If a non 200 response status is returned - */ - protected function _sendRawPost($url, $rawPost, $timeout = FALSE, $contentType = 'text/xml; charset=UTF-8') - { - //ensure content type is correct - stream_context_set_option($this->_postContext, 'http', 'header', 'Content-Type: ' . $contentType); - - //set the read timeout if specified - if ($timeout !== FALSE) - { - stream_context_set_option($this->_postContext, 'http', 'timeout', $timeout); - } - - //set the content - stream_context_set_option($this->_postContext, 'http', 'content', $rawPost); - - //$http_response_header is set by file_get_contents - $response = new Apache_Solr_Response(@file_get_contents($url, false, $this->_postContext), $http_response_header, $this->_createDocuments, $this->_collapseSingleValueArrays); - - if ($response->getHttpStatus() != 200) - { - throw new Exception('"' . $response->getHttpStatus() . '" Status: ' . $response->getHttpStatusMessage(), $response->getHttpStatus()); - } - - return $response; - } - - /** - * Returns the set host - * - * @return string - */ - public function getHost() - { - return $this->_host; - } - - /** - * Set the host used. If empty will fallback to constants - * - * @param string $host - */ - public function setHost($host) - { - //Use the provided host or use the default - if (empty($host)) - { - throw new Exception('Host parameter is empty'); - } - else - { - $this->_host = $host; - } - - if ($this->_urlsInited) - { - $this->_initUrls(); - } - } - - /** - * Get the set port - * - * @return integer - */ - public function getPort() - { - return $this->_port; - } - - /** - * Set the port used. If empty will fallback to constants - * - * @param integer $port - */ - public function setPort($port) - { - //Use the provided port or use the default - $port = (int) $port; - - if ($port <= 0) - { - throw new Exception('Port is not a valid port number'); - } - else - { - $this->_port = $port; - } - - if ($this->_urlsInited) - { - $this->_initUrls(); - } - } - - /** - * Get the set path. - * - * @return string - */ - public function getPath() - { - return $this->_path; - } - - /** - * Set the path used. If empty will fallback to constants - * - * @param string $path - */ - public function setPath($path) - { - $path = trim($path, '/'); - - $this->_path = '/' . $path . '/'; - - if ($this->_urlsInited) - { - $this->_initUrls(); - } - } - - /** - * Set the create documents flag. This determines whether {@link Apache_Solr_Response} objects will - * parse the response and create {@link Apache_Solr_Document} instances in place. - * - * @param unknown_type $createDocuments - */ - public function setCreateDocuments($createDocuments) - { - $this->_createDocuments = (bool) $createDocuments; - } - - /** - * Get the current state of teh create documents flag. - * - * @return boolean - */ - public function getCreateDocuments() - { - return $this->_createDocuments; - } - - /** - * Set the collapse single value arrays flag. - * - * @param boolean $collapseSingleValueArrays - */ - public function setCollapseSingleValueArrays($collapseSingleValueArrays) - { - $this->_collapseSingleValueArrays = (bool) $collapseSingleValueArrays; - } - - /** - * Get the current state of the collapse single value arrays flag. - * - * @return boolean - */ - public function getCollapseSingleValueArrays() - { - return $this->_collapseSingleValueArrays; - } - - /** - * Set how NamedLists should be formatted in the response data. This mainly effects - * the facet counts format. - * - * @param string $namedListTreatment - * @throws Exception If invalid option is set - */ - public function setNamedListTreatmet($namedListTreatment) - { - switch ((string) $namedListTreatment) - { - case Apache_Solr_Service::NAMED_LIST_FLAT: - $this->_namedListTreatment = Apache_Solr_Service::NAMED_LIST_FLAT; - break; - - case Apache_Solr_Service::NAMED_LIST_MAP: - $this->_namedListTreatment = Apache_Solr_Service::NAMED_LIST_MAP; - break; - - default: - throw new Exception('Not a valid named list treatement option'); - } - } - - /** - * Get the current setting for named list treatment. - * - * @return string - */ - public function getNamedListTreatment() - { - return $this->_namedListTreatment; - } - - - /** - * Set the string used to separate the path form the query string. - * Defaulted to '?' - * - * @param string $queryDelimiter - */ - public function setQueryDelimiter($queryDelimiter) - { - $this->_queryDelimiter = $queryDelimiter; - } - - /** - * Set the string used to separate the parameters in thequery string - * Defaulted to '&' - * - * @param string $queryStringDelimiter - */ - public function setQueryStringDelimiter($queryStringDelimiter) - { - $this->_queryStringDelimiter = $queryStringDelimiter; - } - - /** - * Call the /admin/ping servlet, can be used to quickly tell if a connection to the - * server is able to be made. - * - * @param float $timeout maximum time to wait for ping in seconds, -1 for unlimited (default is 2) - * @return float Actual time taken to ping the server, FALSE if timeout occurs - */ - public function ping($timeout = 2) - { - $timeout = (float) $timeout; - - if ($timeout <= 0) - { - $timeout = -1; - } - - $start = microtime(true); - - //to prevent strict errors - $errno = 0; - $errstr = ''; - - //try to connect to the host with timeout - $fp = fsockopen($this->_host, $this->_port, $errno, $errstr, $timeout); - - if ($fp) - { - //If we have a timeout set, then determine the amount of time we have left - //in the request and set the stream timeout for the write operation - if ($timeout > 0) - { - //do the calculation - $writeTimeout = $timeout - (microtime(true) - $start); - - //check if we're out of time - if ($writeTimeout <= 0) - { - fclose($fp); - return false; - } - - //convert to microseconds and set the stream timeout - $writeTimeoutInMicroseconds = (int) $writeTimeout * 1000000; - stream_set_timeout($fp, 0, $writeTimeoutInMicroseconds); - } - - $request = 'HEAD ' . $this->_path . self::PING_SERVLET . ' HTTP/1.1' . "\r\n" . - 'host: ' . $this->_host . "\r\n" . - 'Connection: close' . "\r\n" . - "\r\n"; - - fwrite($fp, $request); - - //check the stream meta data to see if we timed out during the operation - $metaData = stream_get_meta_data($fp); - - if (isset($metaData['timeout']) && $metaData['timeout']) - { - fclose($fp); - return false; - } - - - //if we have a timeout set and have made it this far, determine the amount of time - //still remaining and set the timeout appropriately before the read operation - if ($timeout > 0) - { - //do the calculation - $readTimeout = $timeout - (microtime(true) - $start); - - //check if we've run out of time - if ($readTimeout <= 0) - { - fclose($fp); - return false; - } - - //convert to microseconds and set the stream timeout - $readTimeoutInMicroseconds = $readTimeout * 1000000; - stream_set_timeout($fp, 0, $readTimeoutInMicroseconds); - } - - //at the very least we should get a response header line of - //HTTP/1.1 200 OK - $response = fread($fp, 15); - - //check the stream meta data to see if we timed out during the operation - $metaData = stream_get_meta_data($fp); - fclose($fp); //we're done with the connection - ignore the rest - - if (isset($metaData['timeout']) && $metaData['timeout']) - { - return false; - } - - //finally, check the response header line - if ($response != 'HTTP/1.1 200 OK') - { - return false; - } - - //we made it, return the approximate ping time - return microtime(true) - $start; - } - - //we weren't able to make a connection - return false; - } - - /** - * Call the /admin/threads servlet and retrieve information about all threads in the - * Solr servlet's thread group. Useful for diagnostics. - * - * @return Apache_Solr_Response - * - * @throws Exception If an error occurs during the service call - */ - public function threads() - { - return $this->_sendRawGet($this->_threadsUrl); - } - - /** - * Raw Add Method. Takes a raw post body and sends it to the update service. Post body - * should be a complete and well formed "add" xml document. - * - * @param string $rawPost - * @return Apache_Solr_Response - * - * @throws Exception If an error occurs during the service call - */ - public function add($rawPost) - { - return $this->_sendRawPost($this->_updateUrl, $rawPost); - } - - /** - * Add a Solr Document to the index - * - * @param Apache_Solr_Document $document - * @param boolean $allowDups - * @param boolean $overwritePending - * @param boolean $overwriteCommitted - * @return Apache_Solr_Response - * - * @throws Exception If an error occurs during the service call - */ - public function addDocument(Apache_Solr_Document $document, $allowDups = false, $overwritePending = true, $overwriteCommitted = true) - { - $dupValue = $allowDups ? 'true' : 'false'; - $pendingValue = $overwritePending ? 'true' : 'false'; - $committedValue = $overwriteCommitted ? 'true' : 'false'; - - $rawPost = '<add allowDups="' . $dupValue . '" overwritePending="' . $pendingValue . '" overwriteCommitted="' . $committedValue . '">'; - $rawPost .= $this->_documentToXmlFragment($document); - $rawPost .= '</add>'; - - return $this->add($rawPost); - } - - /** - * Add an array of Solr Documents to the index all at once - * - * @param array $documents Should be an array of Apache_Solr_Document instances - * @param boolean $allowDups - * @param boolean $overwritePending - * @param boolean $overwriteCommitted - * @return Apache_Solr_Response - * - * @throws Exception If an error occurs during the service call - */ - public function addDocuments($documents, $allowDups = false, $overwritePending = true, $overwriteCommitted = true) - { - $dupValue = $allowDups ? 'true' : 'false'; - $pendingValue = $overwritePending ? 'true' : 'false'; - $committedValue = $overwriteCommitted ? 'true' : 'false'; - - $rawPost = '<add allowDups="' . $dupValue . '" overwritePending="' . $pendingValue . '" overwriteCommitted="' . $committedValue . '">'; - - foreach ($documents as $document) - { - if ($document instanceof Apache_Solr_Document) - { - $rawPost .= $this->_documentToXmlFragment($document); - } - } - - $rawPost .= '</add>'; - - return $this->add($rawPost); - } - - /** - * Create an XML fragment from a {@link Apache_Solr_Document} instance appropriate for use inside a Solr add call - * - * @return string - */ - protected function _documentToXmlFragment(Apache_Solr_Document $document) - { - $xml = '<doc'; - - if ($document->getBoost() !== false) - { - $xml .= ' boost="' . $document->getBoost() . '"'; - } - - $xml .= '>'; - - foreach ($document as $key => $value) - { - $key = htmlspecialchars($key, ENT_QUOTES, 'UTF-8'); - $key = preg_replace('/\pC/u', '', $key); // remove unicode Control chars. - $fieldBoost = $document->getFieldBoost($key); - - if (is_array($value)) - { - foreach ($value as $multivalue) - { - $xml .= '<field name="' . $key . '"'; - - if ($fieldBoost !== false) - { - $xml .= ' boost="' . $fieldBoost . '"'; - - // only set the boost for the first field in the set - $fieldBoost = false; - } - - $multivalue = htmlspecialchars($multivalue, ENT_NOQUOTES, 'UTF-8'); - $multivalue = preg_replace('/\pC/u', '', $multivalue); // remove unicode Control chars. - - $xml .= '>' . $multivalue . '</field>'; - } - } - else - { - $xml .= '<field name="' . $key . '"'; - - if ($fieldBoost !== false) - { - $xml .= ' boost="' . $fieldBoost . '"'; - } - - $value = htmlspecialchars($value, ENT_NOQUOTES, 'UTF-8'); - $value = preg_replace('/\pC/u', '', $value); // remove unicode Control chars. - - $xml .= '>' . $value . '</field>'; - } - } - - $xml .= '</doc>'; - - return $xml; - } - - /** - * Send a commit command. Will be synchronous unless both wait parameters are set to false. - * - * @param boolean $optimize Defaults to true - * @param boolean $waitFlush Defaults to true - * @param boolean $waitSearcher Defaults to true - * @param float $timeout Maximum expected duration (in seconds) of the commit operation on the server (otherwise, will throw a communication exception). Defaults to 1 hour - * @return Apache_Solr_Response - * - * @throws Exception If an error occurs during the service call - */ - public function commit($optimize = true, $waitFlush = true, $waitSearcher = true, $timeout = 3600) - { - $optimizeValue = $optimize ? 'true' : 'false'; - $flushValue = $waitFlush ? 'true' : 'false'; - $searcherValue = $waitSearcher ? 'true' : 'false'; - - $rawPost = '<commit optimize="' . $optimizeValue . '" waitFlush="' . $flushValue . '" waitSearcher="' . $searcherValue . '" />'; - - return $this->_sendRawPost($this->_updateUrl, $rawPost, $timeout); - } - - /** - * Raw Delete Method. Takes a raw post body and sends it to the update service. Body should be - * a complete and well formed "delete" xml document - * - * @param string $rawPost Expected to be utf-8 encoded xml document - * @return Apache_Solr_Response - * - * @throws Exception If an error occurs during the service call - */ - public function delete($rawPost) - { - return $this->_sendRawPost($this->_updateUrl, $rawPost); - } - - /** - * Create a delete document based on document ID - * - * @param string $id Expected to be utf-8 encoded - * @param boolean $fromPending - * @param boolean $fromCommitted - * @return Apache_Solr_Response - * - * @throws Exception If an error occurs during the service call - */ - public function deleteById($id, $fromPending = true, $fromCommitted = true) - { - $pendingValue = $fromPending ? 'true' : 'false'; - $committedValue = $fromCommitted ? 'true' : 'false'; - - //escape special xml characters - $id = htmlspecialchars($id, ENT_NOQUOTES, 'UTF-8'); - - $rawPost = '<delete fromPending="' . $pendingValue . '" fromCommitted="' . $committedValue . '"><id>' . $id . '</id></delete>'; - - return $this->delete($rawPost); - } - - /** - * Create a delete document based on a query and submit it - * - * @param string $rawQuery Expected to be utf-8 encoded - * @param boolean $fromPending - * @param boolean $fromCommitted - * @return Apache_Solr_Response - * - * @throws Exception If an error occurs during the service call - */ - public function deleteByQuery($rawQuery, $fromPending = true, $fromCommitted = true) - { - $pendingValue = $fromPending ? 'true' : 'false'; - $committedValue = $fromCommitted ? 'true' : 'false'; - - // escape special xml characters - $rawQuery = htmlspecialchars($rawQuery, ENT_NOQUOTES, 'UTF-8'); - - $rawPost = '<delete fromPending="' . $pendingValue . '" fromCommitted="' . $committedValue . '"><query>' . $rawQuery . '</query></delete>'; - - return $this->delete($rawPost); - } - - /** - * Send an optimize command. Will be synchronous unless both wait parameters are set - * to false. - * - * @param boolean $waitFlush - * @param boolean $waitSearcher - * @param float $timeout Maximum expected duration of the commit operation on the server (otherwise, will throw a communication exception) - * @return Apache_Solr_Response - * - * @throws Exception If an error occurs during the service call - */ - public function optimize($waitFlush = true, $waitSearcher = true, $timeout = 3600) - { - $flushValue = $waitFlush ? 'true' : 'false'; - $searcherValue = $waitSearcher ? 'true' : 'false'; - - $rawPost = '<optimize waitFlush="' . $flushValue . '" waitSearcher="' . $searcherValue . '" />'; - - return $this->_sendRawPost($this->_updateUrl, $rawPost, $timeout); - } - - /** - * Simple Search interface - * - * @param string $query The raw query string - * @param int $offset The starting offset for result documents - * @param int $limit The maximum number of result documents to return - * @param array $params key / value pairs for other query parameters (see Solr documentation), use arrays for parameter keys used more than once (e.g. facet.field) - * @return Apache_Solr_Response - * - * @throws Exception If an error occurs during the service call - */ - public function search($query, $offset = 0, $limit = 10, $params = array()) - { - $searchurl = $this->_searchUrl; - - if (!is_array($params)) - { - $params = array(); - } - - // construct our full parameters - // sending the version is important in case the format changes - $params['version'] = self::SOLR_VERSION; - - if ($params['qt'] && substr($params['qt'], 0, 1) === "/") { - $searchurl = $this->_constructUrl(substr($params['qt'], 1)); - unset($params['qt']); - } - - // common parameters in this interface - $params['wt'] = self::SOLR_WRITER; - $params['json.nl'] = $this->_namedListTreatment; - - $params['q'] = $query; - $params['start'] = $offset; - $params['rows'] = $limit; - - // use http_build_query to encode our arguments because its faster - // than urlencoding all the parts ourselves in a loop - $queryString = http_build_query($params, null, $this->_queryStringDelimiter); - - // because http_build_query treats arrays differently than we want to, correct the query - // string by changing foo[#]=bar (# being an actual number) parameter strings to just - // multiple foo=bar strings. This regex should always work since '=' will be urlencoded - // anywhere else the regex isn't expecting it - $queryString = preg_replace('/%5B(?:[0-9]|[1-9][0-9]+)%5D=/', '=', $queryString); - - return $this->_sendRawGet($searchurl . $this->_queryDelimiter . $queryString); - } -} \ No newline at end of file diff --git a/wp-content/plugins/solr-for-wordpress/Apache/Solr/Service/Balancer.php b/wp-content/plugins/solr-for-wordpress/Apache/Solr/Service/Balancer.php deleted file mode 100644 index ba0776b48..000000000 --- a/wp-content/plugins/solr-for-wordpress/Apache/Solr/Service/Balancer.php +++ /dev/null @@ -1,763 +0,0 @@ -<?php -/** - * Copyright (c) 2007-2009, Conduit Internet Technologies, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - Neither the name of Conduit Internet Technologies, Inc. nor the names of - * its contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - * @copyright Copyright 2007-2009 Conduit Internet Technologies, Inc. (http://conduit-it.com) - * @license New BSD (http://solr-php-client.googlecode.com/svn/trunk/COPYING) - * - * @package Apache - * @subpackage Solr - * @author Donovan Jimenez <djimenez@conduit-it.com>, Dan Wolfe - */ - -// See Issue #1 (http://code.google.com/p/solr-php-client/issues/detail?id=1) -// Doesn't follow typical include path conventions, but is more convenient for users -require_once(dirname(dirname(__FILE__)) . '/Service.php'); - -/** - * Reference Implementation for using multiple Solr services in a distribution. Functionality - * includes: - * routing of read / write operations - * failover (on selection) for multiple read servers - */ -class Apache_Solr_Service_Balancer -{ - protected $_createDocuments = true; - - protected $_readableServices = array(); - protected $_writeableServices = array(); - - protected $_currentReadService = null; - protected $_currentWriteService = null; - - protected $_readPingTimeout = 2; - protected $_writePingTimeout = 4; - - // Configuration for server selection backoff intervals - protected $_useBackoff = false; // Set to true to use more resillient write server selection - protected $_backoffLimit = 600; // 10 minute default maximum - protected $_backoffEscalation = 2.0; // Rate at which to increase backoff period - protected $_defaultBackoff = 2.0; // Default backoff interval - - /** - * Escape a value for special query characters such as ':', '(', ')', '*', '?', etc. - * - * NOTE: inside a phrase fewer characters need escaped, use {@link Apache_Solr_Service::escapePhrase()} instead - * - * @param string $value - * @return string - */ - static public function escape($value) - { - return Apache_Solr_Service::escape($value); - } - - /** - * Escape a value meant to be contained in a phrase for special query characters - * - * @param string $value - * @return string - */ - static public function escapePhrase($value) - { - return Apache_Solr_Service::escapePhrase($value); - } - - /** - * Convenience function for creating phrase syntax from a value - * - * @param string $value - * @return string - */ - static public function phrase($value) - { - return Apache_Solr_Service::phrase($value); - } - - /** - * Constructor. Takes arrays of read and write service instances or descriptions - * - * @param array $readableServices - * @param array $writeableServices - */ - public function __construct($readableServices = array(), $writeableServices = array()) - { - //setup readable services - foreach ($readableServices as $service) - { - $this->addReadService($service); - } - - //setup writeable services - foreach ($writeableServices as $service) - { - $this->addWriteService($service); - } - } - - public function setReadPingTimeout($timeout) - { - $this->_readPingTimeout = $timeout; - } - - public function setWritePingTimeout($timeout) - { - $this->_writePingTimeout = $timeout; - } - - public function setUseBackoff($enable) - { - $this->_useBackoff = $enable; - } - - /** - * Generates a service ID - * - * @param string $host - * @param integer $port - * @param string $path - * @return string - */ - protected function _getServiceId($host, $port, $path) - { - return $host . ':' . $port . $path; - } - - /** - * Adds a service instance or service descriptor (if it is already - * not added) - * - * @param mixed $service - * - * @throws Exception If service descriptor is not valid - */ - public function addReadService($service) - { - if ($service instanceof Apache_Solr_Service) - { - $id = $this->_getServiceId($service->getHost(), $service->getPort(), $service->getPath()); - - $this->_readableServices[$id] = $service; - } - else if (is_array($service)) - { - if (isset($service['host']) && isset($service['port']) && isset($service['path'])) - { - $id = $this->_getServiceId((string)$service['host'], (int)$service['port'], (string)$service['path']); - - $this->_readableServices[$id] = $service; - } - else - { - throw new Exception('A Readable Service description array does not have all required elements of host, port, and path'); - } - } - } - - /** - * Removes a service instance or descriptor from the available services - * - * @param mixed $service - * - * @throws Exception If service descriptor is not valid - */ - public function removeReadService($service) - { - $id = ''; - - if ($service instanceof Apache_Solr_Service) - { - $id = $this->_getServiceId($service->getHost(), $service->getPort(), $service->getPath()); - } - else if (is_array($service)) - { - if (isset($service['host']) && isset($service['port']) && isset($service['path'])) - { - $id = $this->_getServiceId((string)$service['host'], (int)$service['port'], (string)$service['path']); - } - else - { - throw new Exception('A Readable Service description array does not have all required elements of host, port, and path'); - } - } - else if (is_string($service)) - { - $id = $service; - } - - if ($id && isset($this->_readableServices[$id])) - { - unset($this->_readableServices[$id]); - } - } - - /** - * Adds a service instance or service descriptor (if it is already - * not added) - * - * @param mixed $service - * - * @throws Exception If service descriptor is not valid - */ - public function addWriteService($service) - { - if ($service instanceof Apache_Solr_Service) - { - $id = $this->_getServiceId($service->getHost(), $service->getPort(), $service->getPath()); - - $this->_writeableServices[$id] = $service; - } - else if (is_array($service)) - { - if (isset($service['host']) && isset($service['port']) && isset($service['path'])) - { - $id = $this->_getServiceId((string)$service['host'], (int)$service['port'], (string)$service['path']); - - $this->_writeableServices[$id] = $service; - } - else - { - throw new Exception('A Writeable Service description array does not have all required elements of host, port, and path'); - } - } - } - - /** - * Removes a service instance or descriptor from the available services - * - * @param mixed $service - * - * @throws Exception If service descriptor is not valid - */ - public function removeWriteService($service) - { - $id = ''; - - if ($service instanceof Apache_Solr_Service) - { - $id = $this->_getServiceId($service->getHost(), $service->getPort(), $service->getPath()); - } - else if (is_array($service)) - { - if (isset($service['host']) && isset($service['port']) && isset($service['path'])) - { - $id = $this->_getServiceId((string)$service['host'], (int)$service['port'], (string)$service['path']); - } - else - { - throw new Exception('A Readable Service description array does not have all required elements of host, port, and path'); - } - } - else if (is_string($service)) - { - $id = $service; - } - - if ($id && isset($this->_writeableServices[$id])) - { - unset($this->_writeableServices[$id]); - } - } - - /** - * Iterate through available read services and select the first with a ping - * that satisfies configured timeout restrictions (or the default) - * - * @return Apache_Solr_Service - * - * @throws Exception If there are no read services that meet requirements - */ - protected function _selectReadService($forceSelect = false) - { - if (!$this->_currentReadService || !isset($this->_readableServices[$this->_currentReadService]) || $forceSelect) - { - if ($this->_currentReadService && isset($this->_readableServices[$this->_currentReadService]) && $forceSelect) - { - // we probably had a communication error, ping the current read service, remove it if it times out - if ($this->_readableServices[$this->_currentReadService]->ping($this->_readPingTimeout) === false) - { - $this->removeReadService($this->_currentReadService); - } - } - - if (count($this->_readableServices)) - { - // select one of the read services at random - $ids = array_keys($this->_readableServices); - - $id = $ids[rand(0, count($ids) - 1)]; - $service = $this->_readableServices[$id]; - - if (is_array($service)) - { - //convert the array definition to a client object - $service = new Apache_Solr_Service($service['host'], $service['port'], $service['path']); - $this->_readableServices[$id] = $service; - } - - $service->setCreateDocuments($this->_createDocuments); - $this->_currentReadService = $id; - } - else - { - throw new Exception('No read services were available'); - } - } - - return $this->_readableServices[$this->_currentReadService]; - } - - /** - * Iterate through available write services and select the first with a ping - * that satisfies configured timeout restrictions (or the default) - * - * @return Apache_Solr_Service - * - * @throws Exception If there are no write services that meet requirements - */ - protected function _selectWriteService($forceSelect = false) - { - if($this->_useBackoff) - { - return $this->_selectWriteServiceSafe($forceSelect); - } - - if (!$this->_currentWriteService || !isset($this->_writeableServices[$this->_currentWriteService]) || $forceSelect) - { - if ($this->_currentWriteService && isset($this->_writeableServices[$this->_currentWriteService]) && $forceSelect) - { - // we probably had a communication error, ping the current read service, remove it if it times out - if ($this->_writeableServices[$this->_currentWriteService]->ping($this->_writePingTimeout) === false) - { - $this->removeWriteService($this->_currentWriteService); - } - } - - if (count($this->_writeableServices)) - { - // select one of the read services at random - $ids = array_keys($this->_writeableServices); - - $id = $ids[rand(0, count($ids) - 1)]; - $service = $this->_writeableServices[$id]; - - if (is_array($service)) - { - //convert the array definition to a client object - $service = new Apache_Solr_Service($service['host'], $service['port'], $service['path']); - $this->_writeableServices[$id] = $service; - } - - $this->_currentWriteService = $id; - } - else - { - throw new Exception('No write services were available'); - } - } - - return $this->_writeableServices[$this->_currentWriteService]; - } - - /** - * Iterate through available write services and select the first with a ping - * that satisfies configured timeout restrictions (or the default). The - * timeout period will increase until a connection is made or the limit is - * reached. This will allow for increased reliability with heavily loaded - * server(s). - * - * @return Apache_Solr_Service - * - * @throws Exception If there are no write services that meet requirements - */ - - protected function _selectWriteServiceSafe($forceSelect = false) - { - if (!$this->_currentWriteService || !isset($this->_writeableServices[$this->_currentWriteService]) || $forceSelect) - { - if (count($this->_writeableServices)) - { - $backoff = $this->_defaultBackoff; - - do { - // select one of the read services at random - $ids = array_keys($this->_writeableServices); - - $id = $ids[rand(0, count($ids) - 1)]; - $service = $this->_writeableServices[$id]; - - if (is_array($service)) - { - //convert the array definition to a client object - $service = new Apache_Solr_Service($service['host'], $service['port'], $service['path']); - $this->_writeableServices[$id] = $service; - } - - $this->_currentWriteService = $id; - - $backoff *= $this->_backoffEscalation; - - if($backoff > $this->_backoffLimit) - { - throw new Exception('No write services were available. All timeouts exceeded.'); - } - - } while($this->_writeableServices[$this->_currentWriteService]->ping($backoff) === false); - } - else - { - throw new Exception('No write services were available'); - } - } - - return $this->_writeableServices[$this->_currentWriteService]; - } - - public function setCreateDocuments($createDocuments) - { - $this->_createDocuments = (bool) $createDocuments; - - if ($this->_currentReadService) - { - $service = $this->_selectReadService(); - $service->setCreateDocuments($createDocuments); - } - } - - public function getCreateDocuments() - { - return $this->_createDocuments; - } - - /** - * Raw Add Method. Takes a raw post body and sends it to the update service. Post body - * should be a complete and well formed "add" xml document. - * - * @param string $rawPost - * @return Apache_Solr_Response - * - * @throws Exception If an error occurs during the service call - */ - public function add($rawPost) - { - $service = $this->_selectWriteService(); - - do - { - try - { - return $service->add($rawPost); - } - catch (Exception $e) - { - if ($e->getCode() != 0) //IF NOT COMMUNICATION ERROR - { - throw $e; - } - } - - $service = $this->_selectWriteService(true); - } while ($service); - - return false; - } - - /** - * Add a Solr Document to the index - * - * @param Apache_Solr_Document $document - * @param boolean $allowDups - * @param boolean $overwritePending - * @param boolean $overwriteCommitted - * @return Apache_Solr_Response - * - * @throws Exception If an error occurs during the service call - */ - public function addDocument(Apache_Solr_Document $document, $allowDups = false, $overwritePending = true, $overwriteCommitted = true) - { - $service = $this->_selectWriteService(); - - do - { - try - { - return $service->addDocument($document, $allowDups, $overwritePending, $overwriteCommitted); - } - catch (Exception $e) - { - if ($e->getCode() != 0) //IF NOT COMMUNICATION ERROR - { - throw $e; - } - } - - $service = $this->_selectWriteService(true); - } while ($service); - - return false; - } - - /** - * Add an array of Solr Documents to the index all at once - * - * @param array $documents Should be an array of Apache_Solr_Document instances - * @param boolean $allowDups - * @param boolean $overwritePending - * @param boolean $overwriteCommitted - * @return Apache_Solr_Response - * - * @throws Exception If an error occurs during the service call - */ - public function addDocuments($documents, $allowDups = false, $overwritePending = true, $overwriteCommitted = true) - { - $service = $this->_selectWriteService(); - - do - { - try - { - return $service->addDocuments($documents, $allowDups, $overwritePending, $overwriteCommitted); - } - catch (Exception $e) - { - if ($e->getCode() != 0) //IF NOT COMMUNICATION ERROR - { - throw $e; - } - } - - $service = $this->_selectWriteService(true); - } while ($service); - - return false; - } - - /** - * Send a commit command. Will be synchronous unless both wait parameters are set - * to false. - * - * @param boolean $waitFlush - * @param boolean $waitSearcher - * @return Apache_Solr_Response - * - * @throws Exception If an error occurs during the service call - */ - public function commit($optimize = true, $waitFlush = true, $waitSearcher = true, $timeout = 3600) - { - $service = $this->_selectWriteService(); - - do - { - try - { - return $service->commit($optimize, $waitFlush, $waitSearcher, $timeout); - } - catch (Exception $e) - { - if ($e->getCode() != 0) //IF NOT COMMUNICATION ERROR - { - throw $e; - } - } - - $service = $this->_selectWriteService(true); - } while ($service); - - return false; - } - - /** - * Raw Delete Method. Takes a raw post body and sends it to the update service. Body should be - * a complete and well formed "delete" xml document - * - * @param string $rawPost - * @return Apache_Solr_Response - * - * @throws Exception If an error occurs during the service call - */ - public function delete($rawPost) - { - $service = $this->_selectWriteService(); - - do - { - try - { - return $service->delete($rawPost); - } - catch (Exception $e) - { - if ($e->getCode() != 0) //IF NOT COMMUNICATION ERROR - { - throw $e; - } - } - - $service = $this->_selectWriteService(true); - } while ($service); - - return false; - } - - /** - * Create a delete document based on document ID - * - * @param string $id - * @param boolean $fromPending - * @param boolean $fromCommitted - * @return Apache_Solr_Response - * - * @throws Exception If an error occurs during the service call - */ - public function deleteById($id, $fromPending = true, $fromCommitted = true) - { - $service = $this->_selectWriteService(); - - do - { - try - { - return $service->deleteById($id, $fromPending, $fromCommitted); - } - catch (Exception $e) - { - if ($e->getCode() != 0) //IF NOT COMMUNICATION ERROR - { - throw $e; - } - } - - $service = $this->_selectWriteService(true); - } while ($service); - - return false; - } - - /** - * Create a delete document based on a query and submit it - * - * @param string $rawQuery - * @param boolean $fromPending - * @param boolean $fromCommitted - * @return Apache_Solr_Response - * - * @throws Exception If an error occurs during the service call - */ - public function deleteByQuery($rawQuery, $fromPending = true, $fromCommitted = true) - { - $service = $this->_selectWriteService(); - - do - { - try - { - return $service->deleteByQuery($rawQuery, $fromPending, $fromCommitted); - } - catch (Exception $e) - { - if ($e->getCode() != 0) //IF NOT COMMUNICATION ERROR - { - throw $e; - } - } - - $service = $this->_selectWriteService(true); - } while ($service); - - return false; - } - - /** - * Send an optimize command. Will be synchronous unless both wait parameters are set - * to false. - * - * @param boolean $waitFlush - * @param boolean $waitSearcher - * @return Apache_Solr_Response - * - * @throws Exception If an error occurs during the service call - */ - public function optimize($waitFlush = true, $waitSearcher = true) - { - $service = $this->_selectWriteService(); - - do - { - try - { - return $service->optimize($waitFlush, $waitSearcher); - } - catch (Exception $e) - { - if ($e->getCode() != 0) //IF NOT COMMUNICATION ERROR - { - throw $e; - } - } - - $service = $this->_selectWriteService(true); - } while ($service); - - return false; - } - - /** - * Simple Search interface - * - * @param string $query The raw query string - * @param int $offset The starting offset for result documents - * @param int $limit The maximum number of result documents to return - * @param array $params key / value pairs for query parameters, use arrays for multivalued parameters - * @return Apache_Solr_Response - * - * @throws Exception If an error occurs during the service call - */ - public function search($query, $offset = 0, $limit = 10, $params = array()) - { - $service = $this->_selectReadService(); - - do - { - try - { - return $service->search($query, $offset, $limit, $params); - } - catch (Exception $e) - { - if ($e->getCode() != 0) //IF NOT COMMUNICATION ERROR - { - throw $e; - } - } - - $service = $this->_selectReadService(true); - } while ($service); - - return false; - } -} diff --git a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/Document.php b/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/Document.php deleted file mode 100644 index 7b9784a70..000000000 --- a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/Document.php +++ /dev/null @@ -1,367 +0,0 @@ -<?php -/** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - Neither the name of Servigistics, Inc. nor the names of - * its contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - * @copyright Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com) - * @license http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD - * @version $Id: Document.php 54 2011-02-04 16:29:18Z donovan.jimenez $ - * - * @package Apache - * @subpackage Solr - * @author Donovan Jimenez <djimenez@conduit-it.com> - */ - -/** - * Holds Key / Value pairs that represent a Solr Document along with any associated boost - * values. Field values can be accessed by direct dereferencing such as: - * <code> - * ... - * $document->title = 'Something'; - * echo $document->title; - * ... - * </code> - * - * Additionally, the field values can be iterated with foreach - * - * <code> - * foreach ($document as $fieldName => $fieldValue) - * { - * ... - * } - * </code> - */ -class Apache_Solr_Document implements IteratorAggregate -{ - /** - * SVN Revision meta data for this class - */ - const SVN_REVISION = '$Revision: 54 $'; - - /** - * SVN ID meta data for this class - */ - const SVN_ID = '$Id: Document.php 54 2011-02-04 16:29:18Z donovan.jimenez $'; - - /** - * Document boost value - * - * @var float - */ - protected $_documentBoost = false; - - /** - * Document field values, indexed by name - * - * @var array - */ - protected $_fields = array(); - - /** - * Document field boost values, indexed by name - * - * @var array array of floats - */ - protected $_fieldBoosts = array(); - - /** - * Clear all boosts and fields from this document - */ - public function clear() - { - $this->_documentBoost = false; - - $this->_fields = array(); - $this->_fieldBoosts = array(); - } - - /** - * Get current document boost - * - * @return mixed will be false for default, or else a float - */ - public function getBoost() - { - return $this->_documentBoost; - } - - /** - * Set document boost factor - * - * @param mixed $boost Use false for default boost, else cast to float that should be > 0 or will be treated as false - */ - public function setBoost($boost) - { - $boost = (float) $boost; - - if ($boost > 0.0) - { - $this->_documentBoost = $boost; - } - else - { - $this->_documentBoost = false; - } - } - - /** - * Add a value to a multi-valued field - * - * NOTE: the solr XML format allows you to specify boosts - * PER value even though the underlying Lucene implementation - * only allows a boost per field. To remedy this, the final - * field boost value will be the product of all specified boosts - * on field values - this is similar to SolrJ's functionality. - * - * <code> - * $doc = new Apache_Solr_Document(); - * - * $doc->addField('foo', 'bar', 2.0); - * $doc->addField('foo', 'baz', 3.0); - * - * // resultant field boost will be 6! - * echo $doc->getFieldBoost('foo'); - * </code> - * - * @param string $key - * @param mixed $value - * @param mixed $boost Use false for default boost, else cast to float that should be > 0 or will be treated as false - */ - public function addField($key, $value, $boost = false) - { - if (!isset($this->_fields[$key])) - { - // create holding array if this is the first value - $this->_fields[$key] = array(); - } - else if (!is_array($this->_fields[$key])) - { - // move existing value into array if it is not already an array - $this->_fields[$key] = array($this->_fields[$key]); - } - - if ($this->getFieldBoost($key) === false) - { - // boost not already set, set it now - $this->setFieldBoost($key, $boost); - } - else if ((float) $boost > 0.0) - { - // multiply passed boost with current field boost - similar to SolrJ implementation - $this->_fieldBoosts[$key] *= (float) $boost; - } - - // add value to array - $this->_fields[$key][] = $value; - } - - /** - * Handle the array manipulation for a multi-valued field - * - * @param string $key - * @param string $value - * @param mixed $boost Use false for default boost, else cast to float that should be > 0 or will be treated as false - * - * @deprecated Use addField(...) instead - */ - public function setMultiValue($key, $value, $boost = false) - { - $this->addField($key, $value, $boost); - } - - /** - * Get field information - * - * @param string $key - * @return mixed associative array of info if field exists, false otherwise - */ - public function getField($key) - { - if (isset($this->_fields[$key])) - { - return array( - 'name' => $key, - 'value' => $this->_fields[$key], - 'boost' => $this->getFieldBoost($key) - ); - } - - return false; - } - - /** - * Set a field value. Multi-valued fields should be set as arrays - * or instead use the addField(...) function which will automatically - * make sure the field is an array. - * - * @param string $key - * @param mixed $value - * @param mixed $boost Use false for default boost, else cast to float that should be > 0 or will be treated as false - */ - public function setField($key, $value, $boost = false) - { - $this->_fields[$key] = $value; - $this->setFieldBoost($key, $boost); - } - - /** - * Get the currently set field boost for a document field - * - * @param string $key - * @return float currently set field boost, false if one is not set - */ - public function getFieldBoost($key) - { - return isset($this->_fieldBoosts[$key]) ? $this->_fieldBoosts[$key] : false; - } - - /** - * Set the field boost for a document field - * - * @param string $key field name for the boost - * @param mixed $boost Use false for default boost, else cast to float that should be > 0 or will be treated as false - */ - public function setFieldBoost($key, $boost) - { - $boost = (float) $boost; - - if ($boost > 0.0) - { - $this->_fieldBoosts[$key] = $boost; - } - else - { - $this->_fieldBoosts[$key] = false; - } - } - - /** - * Return current field boosts, indexed by field name - * - * @return array - */ - public function getFieldBoosts() - { - return $this->_fieldBoosts; - } - - /** - * Get the names of all fields in this document - * - * @return array - */ - public function getFieldNames() - { - return array_keys($this->_fields); - } - - /** - * Get the values of all fields in this document - * - * @return array - */ - public function getFieldValues() - { - return array_values($this->_fields); - } - - /** - * IteratorAggregate implementation function. Allows usage: - * - * <code> - * foreach ($document as $key => $value) - * { - * ... - * } - * </code> - */ - public function getIterator() - { - $arrayObject = new ArrayObject($this->_fields); - - return $arrayObject->getIterator(); - } - - /** - * Magic get for field values - * - * @param string $key - * @return mixed - */ - public function __get($key) - { - if (isset($this->_fields[$key])) - { - return $this->_fields[$key]; - } - - return null; - } - - /** - * Magic set for field values. Multi-valued fields should be set as arrays - * or instead use the addField(...) function which will automatically - * make sure the field is an array. - * - * @param string $key - * @param mixed $value - */ - public function __set($key, $value) - { - $this->setField($key, $value); - } - - /** - * Magic isset for fields values. Do not call directly. Allows usage: - * - * <code> - * isset($document->some_field); - * </code> - * - * @param string $key - * @return boolean - */ - public function __isset($key) - { - return isset($this->_fields[$key]); - } - - /** - * Magic unset for field values. Do not call directly. Allows usage: - * - * <code> - * unset($document->some_field); - * </code> - * - * @param string $key - */ - public function __unset($key) - { - unset($this->_fields[$key]); - unset($this->_fieldBoosts[$key]); - } -} \ No newline at end of file diff --git a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/Exception.php b/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/Exception.php deleted file mode 100644 index e6bc4f4b6..000000000 --- a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/Exception.php +++ /dev/null @@ -1,50 +0,0 @@ -<?php -/** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - Neither the name of Servigistics, Inc. nor the names of - * its contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - * @copyright Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com) - * @license http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD - * @version $Id: Exception.php 54 2011-02-04 16:29:18Z donovan.jimenez $ - * - * @package Apache - * @subpackage Solr - * @author Donovan Jimenez <djimenez@conduit-it.com> - */ - -class Apache_Solr_Exception extends Exception -{ - /** - * SVN Revision meta data for this class - */ - const SVN_REVISION = '$Revision: 54 $'; - - /** - * SVN ID meta data for this class - */ - const SVN_ID = '$Id: Exception.php 54 2011-02-04 16:29:18Z donovan.jimenez $'; -} \ No newline at end of file diff --git a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/HttpTransport/Abstract.php b/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/HttpTransport/Abstract.php deleted file mode 100644 index cf9f76d38..000000000 --- a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/HttpTransport/Abstract.php +++ /dev/null @@ -1,89 +0,0 @@ -<?php -/** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - Neither the name of Servigistics, Inc. nor the names of - * its contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - * @copyright Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com) - * @license http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD - * @version $Id: $ - * - * @package Apache - * @subpackage Solr - * @author Timo Schmidt <timo.schmidt@aoemedia.de>, Donovan Jimenez <djimenez@conduit-it.com> - */ - -/** - * Convenience class that implements the transport implementation. Can be extended by - * real implementations to do some of the common book keeping - */ -abstract class Apache_Solr_HttpTransport_Abstract implements Apache_Solr_HttpTransport_Interface -{ - /** - * Our default timeout value for requests that don't specify a timeout - * - * @var float - */ - private $_defaultTimeout = false; - - /** - * Get the current default timeout setting (initially the default_socket_timeout ini setting) - * in seconds - * - * @return float - */ - public function getDefaultTimeout() - { - // lazy load the default timeout from the ini settings - if ($this->_defaultTimeout === false) - { - $this->_defaultTimeout = (int) ini_get('default_socket_timeout'); - - // double check we didn't get 0 for a timeout - if ($this->_defaultTimeout <= 0) - { - $this->_defaultTimeout = 60; - } - } - - return $this->_defaultTimeout; - } - - /** - * Set the current default timeout for all HTTP requests - * - * @param float $timeout - */ - public function setDefaultTimeout($timeout) - { - $timeout = (float) $timeout; - - if ($timeout >= 0) - { - $this->_defaultTimeout = $timeout; - } - } -} \ No newline at end of file diff --git a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/HttpTransport/Curl.php b/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/HttpTransport/Curl.php deleted file mode 100644 index 7cb7743e6..000000000 --- a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/HttpTransport/Curl.php +++ /dev/null @@ -1,198 +0,0 @@ -<?php -/** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - Neither the name of Servigistics, Inc. nor the names of - * its contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - * @copyright Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com) - * @license http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD - * @version $Id: $ - * - * @package Apache - * @subpackage Solr - * @author Timo Schmidt <timo.schmidt@aoemedia.de>, Donovan Jimenez <djimenez@conduit-it.com> - */ - -// Require Apache_Solr_HttpTransport_Abstract -require_once(dirname(__FILE__) . '/Abstract.php'); - -/** - * A Curl based HTTP transport. Uses a single curl session for all requests. - */ -class Apache_Solr_HttpTransport_Curl extends Apache_Solr_HttpTransport_Abstract -{ - /** - * SVN Revision meta data for this class - */ - const SVN_REVISION = '$Revision:$'; - - /** - * SVN ID meta data for this class - */ - const SVN_ID = '$Id:$'; - - /** - * Curl Session Handle - * - * @var resource - */ - private $_curl; - - /** - * Initializes a curl session - */ - public function __construct() - { - // initialize a CURL session - $this->_curl = curl_init(); - - // set common options that will not be changed during the session - curl_setopt_array($this->_curl, array( - // return the response body from curl_exec - CURLOPT_RETURNTRANSFER => true, - - // get the output as binary data - CURLOPT_BINARYTRANSFER => true, - - // we do not need the headers in the output, we get everything we need from curl_getinfo - CURLOPT_HEADER => false - )); - } - - /** - * Closes a curl session - */ - function __destruct() - { - // close our curl session - curl_close($this->_curl); - } - - public function performGetRequest($url, $timeout = false) - { - // check the timeout value - if ($timeout === false || $timeout <= 0.0) - { - // use the default timeout - $timeout = $this->getDefaultTimeout(); - } - - // set curl GET options - curl_setopt_array($this->_curl, array( - // make sure we're returning the body - CURLOPT_NOBODY => false, - - // make sure we're GET - CURLOPT_HTTPGET => true, - - // set the URL - CURLOPT_URL => $url, - - // set the timeout - CURLOPT_TIMEOUT => $timeout - )); - - // make the request - $responseBody = curl_exec($this->_curl); - - // get info from the transfer - $statusCode = curl_getinfo($this->_curl, CURLINFO_HTTP_CODE); - $contentType = curl_getinfo($this->_curl, CURLINFO_CONTENT_TYPE); - - return new Apache_Solr_HttpTransport_Response($statusCode, $contentType, $responseBody); - } - - public function performHeadRequest($url, $timeout = false) - { - // check the timeout value - if ($timeout === false || $timeout <= 0.0) - { - // use the default timeout - $timeout = $this->getDefaultTimeout(); - } - - // set curl HEAD options - curl_setopt_array($this->_curl, array( - // this both sets the method to HEAD and says not to return a body - CURLOPT_NOBODY => true, - - // set the URL - CURLOPT_URL => $url, - - // set the timeout - CURLOPT_TIMEOUT => $timeout - )); - - // make the request - $responseBody = curl_exec($this->_curl); - - // get info from the transfer - $statusCode = curl_getinfo($this->_curl, CURLINFO_HTTP_CODE); - $contentType = curl_getinfo($this->_curl, CURLINFO_CONTENT_TYPE); - - return new Apache_Solr_HttpTransport_Response($statusCode, $contentType, $responseBody); - } - - public function performPostRequest($url, $postData, $contentType, $timeout = false) - { - // check the timeout value - if ($timeout === false || $timeout <= 0.0) - { - // use the default timeout - $timeout = $this->getDefaultTimeout(); - } - - // set curl POST options - curl_setopt_array($this->_curl, array( - // make sure we're returning the body - CURLOPT_NOBODY => false, - - // make sure we're POST - CURLOPT_POST => true, - - // set the URL - CURLOPT_URL => $url, - - // set the post data - CURLOPT_POSTFIELDS => $postData, - - // set the content type - CURLOPT_HTTPHEADER => array("Content-Type: {$contentType}"), - - // set the timeout - CURLOPT_TIMEOUT => $timeout - )); - - // make the request - $responseBody = curl_exec($this->_curl); - - // get info from the transfer - $statusCode = curl_getinfo($this->_curl, CURLINFO_HTTP_CODE); - $contentType = curl_getinfo($this->_curl, CURLINFO_CONTENT_TYPE); - - return new Apache_Solr_HttpTransport_Response($statusCode, $contentType, $responseBody); - } -} \ No newline at end of file diff --git a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/HttpTransport/CurlNoReuse.php b/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/HttpTransport/CurlNoReuse.php deleted file mode 100644 index 14549588e..000000000 --- a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/HttpTransport/CurlNoReuse.php +++ /dev/null @@ -1,196 +0,0 @@ -<?php -/** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - Neither the name of Servigistics, Inc. nor the names of - * its contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - * @copyright Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com) - * @license http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD - * @version $Id: $ - * - * @package Apache - * @subpackage Solr - * @author Timo Schmidt <timo.schmidt@aoemedia.de>, Donovan Jimenez <djimenez@conduit-it.com> - */ - -// Require Apache_Solr_HttpTransport_Abstract -require_once(dirname(__FILE__) . '/Abstract.php'); - -/** - * An alternative Curl HTTP transport that opens and closes a curl session for - * every request. This isn't the recommended way to use curl, but some version of - * PHP have memory issues. - */ -class Apache_Solr_HttpTransport_CurlNoReuse extends Apache_Solr_HttpTransport_Abstract -{ - /** - * SVN Revision meta data for this class - */ - const SVN_REVISION = '$Revision:$'; - - /** - * SVN ID meta data for this class - */ - const SVN_ID = '$Id:$'; - - public function performGetRequest($url, $timeout = false) - { - // check the timeout value - if ($timeout === false || $timeout <= 0.0) - { - // use the default timeout - $timeout = $this->getDefaultTimeout(); - } - - $curl = curl_init(); - - // set curl GET options - curl_setopt_array($curl, array( - // return the response body from curl_exec - CURLOPT_RETURNTRANSFER => true, - - // get the output as binary data - CURLOPT_BINARYTRANSFER => true, - - // we do not need the headers in the output, we get everything we need from curl_getinfo - CURLOPT_HEADER => false, - - // set the URL - CURLOPT_URL => $url, - - // set the timeout - CURLOPT_TIMEOUT => $timeout - )); - - // make the request - $responseBody = curl_exec($curl); - - // get info from the transfer - $statusCode = curl_getinfo($curl, CURLINFO_HTTP_CODE); - $contentType = curl_getinfo($curl, CURLINFO_CONTENT_TYPE); - - // close our curl session - we're done with it - curl_close($curl); - - return new Apache_Solr_HttpTransport_Response($statusCode, $contentType, $responseBody); - } - - public function performHeadRequest($url, $timeout = false) - { - // check the timeout value - if ($timeout === false || $timeout <= 0.0) - { - // use the default timeout - $timeout = $this->getDefaultTimeout(); - } - - $curl = curl_init(); - - // set curl HEAD options - curl_setopt_array($curl, array( - // return the response body from curl_exec - CURLOPT_RETURNTRANSFER => true, - - // get the output as binary data - CURLOPT_BINARYTRANSFER => true, - - // we do not need the headers in the output, we get everything we need from curl_getinfo - CURLOPT_HEADER => false, - - // this both sets the method to HEAD and says not to return a body - CURLOPT_NOBODY => true, - - // set the URL - CURLOPT_URL => $url, - - // set the timeout - CURLOPT_TIMEOUT => $timeout - )); - - // make the request - $responseBody = curl_exec($curl); - - // get info from the transfer - $statusCode = curl_getinfo($curl, CURLINFO_HTTP_CODE); - $contentType = curl_getinfo($curl, CURLINFO_CONTENT_TYPE); - - // close our curl session - we're done with it - curl_close($curl); - - return new Apache_Solr_HttpTransport_Response($statusCode, $contentType, $responseBody); - } - - public function performPostRequest($url, $postData, $contentType, $timeout = false) - { - // check the timeout value - if ($timeout === false || $timeout <= 0.0) - { - // use the default timeout - $timeout = $this->getDefaultTimeout(); - } - - $curl = curl_init(); - - // set curl POST options - curl_setopt_array($curl, array( - // return the response body from curl_exec - CURLOPT_RETURNTRANSFER => true, - - // get the output as binary data - CURLOPT_BINARYTRANSFER => true, - - // we do not need the headers in the output, we get everything we need from curl_getinfo - CURLOPT_HEADER => false, - - // make sure we're POST - CURLOPT_POST => true, - - // set the URL - CURLOPT_URL => $url, - - // set the post data - CURLOPT_POSTFIELDS => $postData, - - // set the content type - CURLOPT_HTTPHEADER => array("Content-Type: {$contentType}"), - - // set the timeout - CURLOPT_TIMEOUT => $timeout - )); - - // make the request - $responseBody = curl_exec($curl); - - // get info from the transfer - $statusCode = curl_getinfo($curl, CURLINFO_HTTP_CODE); - $contentType = curl_getinfo($curl, CURLINFO_CONTENT_TYPE); - - // close our curl session - we're done with it - curl_close($curl); - - return new Apache_Solr_HttpTransport_Response($statusCode, $contentType, $responseBody); - } -} \ No newline at end of file diff --git a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/HttpTransport/FileGetContents.php b/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/HttpTransport/FileGetContents.php deleted file mode 100644 index 5e01775cd..000000000 --- a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/HttpTransport/FileGetContents.php +++ /dev/null @@ -1,216 +0,0 @@ -<?php -/** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - Neither the name of Servigistics, Inc. nor the names of - * its contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - * @copyright Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com) - * @license http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD - * @version $Id: $ - * - * @package Apache - * @subpackage Solr - * @author Donovan Jimenez <djimenez@conduit-it.com> - */ - -// Require Apache_Solr_HttpTransport_Abstract -require_once(dirname(__FILE__) . '/Abstract.php'); - -/** - * HTTP Transport implemenation that uses the builtin http URL wrappers and file_get_contents - */ -class Apache_Solr_HttpTransport_FileGetContents extends Apache_Solr_HttpTransport_Abstract -{ - /** - * SVN Revision meta data for this class - */ - const SVN_REVISION = '$Revision: $'; - - /** - * SVN ID meta data for this class - */ - const SVN_ID = '$Id: $'; - - /** - * Reusable stream context resources for GET and POST operations - * - * @var resource - */ - private $_getContext, $_headContext, $_postContext; - - /** - * Initializes our reuseable get and post stream contexts - */ - public function __construct() - { - $this->_getContext = stream_context_create(); - $this->_headContext = stream_context_create(); - $this->_postContext = stream_context_create(); - } - - public function performGetRequest($url, $timeout = false) - { - // set the timeout if specified - if ($timeout !== FALSE && $timeout > 0.0) - { - // timeouts with file_get_contents seem to need - // to be halved to work as expected - $timeout = (float) $timeout / 2; - - stream_context_set_option($this->_getContext, 'http', 'timeout', $timeout); - } - else - { - // use the default timeout pulled from default_socket_timeout otherwise - stream_context_set_option($this->_getContext, 'http', 'timeout', $this->getDefaultTimeout()); - } - - // $http_response_headers will be updated by the call to file_get_contents later - // see http://us.php.net/manual/en/wrappers.http.php for documentation - // Unfortunately, it will still create a notice in analyzers if we don't set it here - $http_response_header = null; - $responseBody = @file_get_contents($url, false, $this->_getContext); - - return $this->_getResponseFromParts($responseBody, $http_response_header); - } - - public function performHeadRequest($url, $timeout = false) - { - stream_context_set_option($this->_headContext, array( - 'http' => array( - // set HTTP method - 'method' => 'HEAD', - - // default timeout - 'timeout' => $this->getDefaultTimeout() - ) - ) - ); - - // set the timeout if specified - if ($timeout !== FALSE && $timeout > 0.0) - { - // timeouts with file_get_contents seem to need - // to be halved to work as expected - $timeout = (float) $timeout / 2; - - stream_context_set_option($this->_headContext, 'http', 'timeout', $timeout); - } - - // $http_response_headers will be updated by the call to file_get_contents later - // see http://us.php.net/manual/en/wrappers.http.php for documentation - // Unfortunately, it will still create a notice in analyzers if we don't set it here - $http_response_header = null; - $responseBody = @file_get_contents($url, false, $this->_headContext); - - return $this->_getResponseFromParts($responseBody, $http_response_header); - } - - public function performPostRequest($url, $rawPost, $contentType, $timeout = false) - { - stream_context_set_option($this->_postContext, array( - 'http' => array( - // set HTTP method - 'method' => 'POST', - - // Add our posted content type - 'header' => "Content-Type: $contentType", - - // the posted content - 'content' => $rawPost, - - // default timeout - 'timeout' => $this->getDefaultTimeout() - ) - ) - ); - - // set the timeout if specified - if ($timeout !== FALSE && $timeout > 0.0) - { - // timeouts with file_get_contents seem to need - // to be halved to work as expected - $timeout = (float) $timeout / 2; - - stream_context_set_option($this->_postContext, 'http', 'timeout', $timeout); - } - - // $http_response_header will be updated by the call to file_get_contents later - // see http://us.php.net/manual/en/wrappers.http.php for documentation - // Unfortunately, it will still create a notice in analyzers if we don't set it here - $http_response_header = null; - $responseBody = @file_get_contents($url, false, $this->_postContext); - - // reset content of post context to reclaim memory - stream_context_set_option($this->_postContext, 'http', 'content', ''); - - return $this->_getResponseFromParts($responseBody, $http_response_header); - } - - private function _getResponseFromParts($rawResponse, $httpHeaders) - { - //Assume 0, false as defaults - $status = 0; - $contentType = false; - - //iterate through headers for real status, type, and encoding - if (is_array($httpHeaders) && count($httpHeaders) > 0) - { - //look at the first headers for the HTTP status code - //and message (errors are usually returned this way) - // - //HTTP 100 Continue response can also be returned before - //the REAL status header, so we need look until we find - //the last header starting with HTTP - // - //the spec: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1 - // - //Thanks to Daniel Andersson for pointing out this oversight - while (isset($httpHeaders[0]) && substr($httpHeaders[0], 0, 4) == 'HTTP') - { - // we can do a intval on status line without the "HTTP/1.X " to get the code - $status = intval(substr($httpHeaders[0], 9)); - - // remove this from the headers so we can check for more - array_shift($httpHeaders); - } - - //Look for the Content-Type response header and determine type - //and encoding from it (if possible - such as 'Content-Type: text/plain; charset=UTF-8') - foreach ($httpHeaders as $header) - { - // look for the header that starts appropriately - if (strncasecmp($header, 'Content-Type:', 13) == 0) - { - $contentType = substr($header, 13); - break; - } - } - } - - return new Apache_Solr_HttpTransport_Response($status, $contentType, $rawResponse); - } -} \ No newline at end of file diff --git a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/HttpTransport/Interface.php b/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/HttpTransport/Interface.php deleted file mode 100644 index 090fc27ab..000000000 --- a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/HttpTransport/Interface.php +++ /dev/null @@ -1,94 +0,0 @@ -<?php -/** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - Neither the name of Servigistics, Inc. nor the names of - * its contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - * @copyright Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com) - * @license http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD - * @version $Id: $ - * - * @package Apache - * @subpackage Solr - * @author Timo Schmidt <timo.schmidt@aoemedia.de>, Donovan Jimenez <djimenez@conduit-it.com> - */ - -// require Apache_Solr_HttpTransport_Response -require_once(dirname(__FILE__) . '/Response.php'); - -/** - * Interface that all Transport (HTTP Requester) implementations must implement. These - * Implementations can then be plugged into the Service instance in order to user their - * the desired method for making HTTP requests - */ -interface Apache_Solr_HttpTransport_Interface -{ - /** - * Get the current default timeout for all HTTP requests - * - * @return float - */ - public function getDefaultTimeout(); - - /** - * Set the current default timeout for all HTTP requests - * - * @param float $timeout - */ - public function setDefaultTimeout($timeout); - - /** - * Perform a GET HTTP operation with an optional timeout and return the response - * contents, use getLastResponseHeaders to retrieve HTTP headers - * - * @param string $url - * @param float $timeout - * @return Apache_Solr_HttpTransport_Response HTTP response - */ - public function performGetRequest($url, $timeout = false); - - /** - * Perform a HEAD HTTP operation with an optional timeout and return the response - * headers - NOTE: head requests have no response body - * - * @param string $url - * @param float $timeout - * @return Apache_Solr_HttpTransport_Response HTTP response - */ - public function performHeadRequest($url, $timeout = false); - - /** - * Perform a POST HTTP operation with an optional timeout and return the response - * contents, use getLastResponseHeaders to retrieve HTTP headers - * - * @param string $url - * @param string $rawPost - * @param string $contentType - * @param float $timeout - * @return Apache_Solr_HttpTransport_Response HTTP response - */ - public function performPostRequest($url, $rawPost, $contentType, $timeout = false); -} \ No newline at end of file diff --git a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/HttpTransport/Response.php b/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/HttpTransport/Response.php deleted file mode 100644 index 3f113aee8..000000000 --- a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/HttpTransport/Response.php +++ /dev/null @@ -1,255 +0,0 @@ -<?php -/** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - Neither the name of Servigistics, Inc. nor the names of - * its contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - * @copyright Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com) - * @license http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD - * @version $Id: $ - * - * @package Apache - * @subpackage Solr - * @author Donovan Jimenez <djimenez@conduit-it.com> - */ - -/** - * Represents the required pieces of an HTTP response provided by HTTP transport - * implementations and then consumed by the Apache_Solr_Response class which provides - * decoding - */ -class Apache_Solr_HttpTransport_Response -{ - /** - * Status Messages indexed by Status Code - * Obtained from: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html - * - * @var array - */ - static private $_defaultStatusMessages = array( - // Specific to PHP Solr Client - 0 => "Communication Error", - - // Informational 1XX - 100 => "Continue", - 101 => "Switching Protocols", - - // Successful 2XX - 200 => "OK", - 201 => "Created", - 202 => "Accepted", - 203 => "Non-Authoritative Information", - 204 => "No Content", - 205 => "Reset Content", - 206 => "Partial Content", - - // Redirection 3XX - 300 => "Multiple Choices", - 301 => "Moved Permanently", - 302 => "Found", - 303 => "See Other", - 304 => "Not Modified", - 305 => "Use Proxy", - 307 => "Temporary Redirect", - - // Client Error 4XX - 400 => "Bad Request", - 401 => "Unauthorized", - 402 => "Payment Required", - 403 => "Forbidden", - 404 => "Not Found", - 405 => "Method Not Allowed", - 406 => "Not Acceptable", - 407 => "Proxy Authentication Required", - 408 => "Request Timeout", - 409 => "Conflict", - 410 => "Gone", - 411 => "Length Required", - 412 => "Precondition Failed", - 413 => "Request Entity Too Large", - 414 => "Request-URI Too Long", - 415 => "Unsupported Media Type", - 416 => "Request Range Not Satisfiable", - 417 => "Expectation Failed", - - // Server Error 5XX - 500 => "Internal Server Error", - 501 => "Not Implemented", - 502 => "Bad Gateway", - 503 => "Service Unavailable", - 504 => "Gateway Timeout", - 505 => "HTTP Version Not Supported" - ); - - /** - * Get the HTTP status message based on status code - * - * @return string - */ - public static function getDefaultStatusMessage($statusCode) - { - $statusCode = (int) $statusCode; - - if (isset(self::$_defaultStatusMessages[$statusCode])) - { - return self::$_defaultStatusMessages[$statusCode]; - } - - return "Unknown Status"; - } - - /** - * The response's HTTP status code - * - * @var integer - */ - private $_statusCode; - - /** - * The response's HTTP status message - * - * @var string - */ - private $_statusMessage; - - /** - * The response's mime type - * - * @var string - */ - private $_mimeType; - - /** - * The response's character encoding - * - * @var string - */ - private $_encoding; - - /** - * The response's data - * - * @var string - */ - private $_responseBody; - - /** - * Construct a HTTP transport response - * - * @param integer $statusCode The HTTP status code - * @param string $contentType The VALUE of the Content-Type HTTP header - * @param string $responseBody The body of the HTTP response - */ - public function __construct($statusCode, $contentType, $responseBody) - { - // set the status code, make sure its an integer - $this->_statusCode = (int) $statusCode; - - // lookup up status message based on code - $this->_statusMessage = self::getDefaultStatusMessage($this->_statusCode); - - // set the response body, it should always be a string - $this->_responseBody = (string) $responseBody; - - // parse the content type header value for mimetype and encoding - // first set default values that will remain if we can't find - // what we're looking for in the content type - $this->_mimeType = "text/plain"; - $this->_encoding = "UTF-8"; - - if ($contentType) - { - // now break apart the header to see if there's character encoding - $contentTypeParts = explode(';', $contentType, 2); - - if (isset($contentTypeParts[0])) - { - $this->_mimeType = trim($contentTypeParts[0]); - } - - if (isset($contentTypeParts[1])) - { - // we have a second part, split it further - $contentTypeParts = explode('=', $contentTypeParts[1]); - - if (isset($contentTypeParts[1])) - { - $this->_encoding = trim($contentTypeParts[1]); - } - } - } - } - - /** - * Get the status code of the response - * - * @return integer - */ - public function getStatusCode() - { - return $this->_statusCode; - } - - /** - * Get the status message of the response - * - * @return string - */ - public function getStatusMessage() - { - return $this->_statusMessage; - } - - /** - * Get the mimetype of the response body - * - * @return string - */ - public function getMimeType() - { - return $this->_mimeType; - } - - /** - * Get the charset encoding of the response body. - * - * @return string - */ - public function getEncoding() - { - return $this->_encoding; - } - - /** - * Get the raw response body - * - * @return string - */ - public function getBody() - { - return $this->_responseBody; - } -} diff --git a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/HttpTransportException.php b/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/HttpTransportException.php deleted file mode 100644 index 83c0001b1..000000000 --- a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/HttpTransportException.php +++ /dev/null @@ -1,79 +0,0 @@ -<?php -/** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - Neither the name of Servigistics, Inc. nor the names of - * its contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - * @copyright Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com) - * @license http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD - * @version $Id: HttpTransportException.php 54 2011-02-04 16:29:18Z donovan.jimenez $ - * - * @package Apache - * @subpackage Solr - * @author Donovan Jimenez <djimenez@conduit-it.com> - */ - -class Apache_Solr_HttpTransportException extends Apache_Solr_Exception -{ - /** - * SVN Revision meta data for this class - */ - const SVN_REVISION = '$Revision: 54 $'; - - /** - * SVN ID meta data for this class - */ - const SVN_ID = '$Id: HttpTransportException.php 54 2011-02-04 16:29:18Z donovan.jimenez $'; - - /** - * Response for which exception was generated - * - * @var Apache_Solr_Response - */ - private $_response; - - /** - * HttpTransportException Constructor - * - * @param Apache_Solr_Response $response - */ - public function __construct(Apache_Solr_Response $response) - { - parent::__construct("'{$response->getHttpStatus()}' Status: {$response->getHttpStatusMessage()}", $response->getHttpStatus()); - - $this->_response = $response; - } - - /** - * Get the response for which this exception was generated - * - * @return Apache_Solr_Response - */ - public function getResponse() - { - return $this->_response; - } -} \ No newline at end of file diff --git a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/InvalidArgumentException.php b/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/InvalidArgumentException.php deleted file mode 100644 index 273f3d064..000000000 --- a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/InvalidArgumentException.php +++ /dev/null @@ -1,50 +0,0 @@ -<?php -/** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - Neither the name of Servigistics, Inc. nor the names of - * its contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - * @copyright Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com) - * @license http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD - * @version $Id: InvalidArgumentException.php 54 2011-02-04 16:29:18Z donovan.jimenez $ - * - * @package Apache - * @subpackage Solr - * @author Donovan Jimenez <djimenez@conduit-it.com> - */ - -class Apache_Solr_InvalidArgumentException extends Apache_Solr_Exception -{ - /** - * SVN Revision meta data for this class - */ - const SVN_REVISION = '$Revision: 54 $'; - - /** - * SVN ID meta data for this class - */ - const SVN_ID = '$Id: InvalidArgumentException.php 54 2011-02-04 16:29:18Z donovan.jimenez $'; -} \ No newline at end of file diff --git a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/NoServiceAvailableException.php b/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/NoServiceAvailableException.php deleted file mode 100644 index eead73206..000000000 --- a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/NoServiceAvailableException.php +++ /dev/null @@ -1,50 +0,0 @@ -<?php -/** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - Neither the name of Servigistics, Inc. nor the names of - * its contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - * @copyright Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com) - * @license http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD - * @version $Id: NoServiceAvailableException.php 54 2011-02-04 16:29:18Z donovan.jimenez $ - * - * @package Apache - * @subpackage Solr - * @author Donovan Jimenez <djimenez@conduit-it.com> - */ - -class Apache_Solr_NoServiceAvailableException extends Apache_Solr_Exception -{ - /** - * SVN Revision meta data for this class - */ - const SVN_REVISION = '$Revision: 54 $'; - - /** - * SVN ID meta data for this class - */ - const SVN_ID = '$Id: NoServiceAvailableException.php 54 2011-02-04 16:29:18Z donovan.jimenez $'; -} \ No newline at end of file diff --git a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/ParserException.php b/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/ParserException.php deleted file mode 100644 index 29283dbcd..000000000 --- a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/ParserException.php +++ /dev/null @@ -1,50 +0,0 @@ -<?php -/** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - Neither the name of Servigistics, Inc. nor the names of - * its contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - * @copyright Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com) - * @license http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD - * @version $Id: ParserException.php 54 2011-02-04 16:29:18Z donovan.jimenez $ - * - * @package Apache - * @subpackage Solr - * @author Donovan Jimenez <djimenez@conduit-it.com> - */ - -class Apache_Solr_ParserException extends Apache_Solr_Exception -{ - /** - * SVN Revision meta data for this class - */ - const SVN_REVISION = '$Revision: 54 $'; - - /** - * SVN ID meta data for this class - */ - const SVN_ID = '$Id: ParserException.php 54 2011-02-04 16:29:18Z donovan.jimenez $'; -} \ No newline at end of file diff --git a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/Response.php b/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/Response.php deleted file mode 100644 index 1a35e5688..000000000 --- a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/Response.php +++ /dev/null @@ -1,247 +0,0 @@ -<?php -/** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - Neither the name of Servigistics, Inc. nor the names of - * its contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - * @copyright Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com) - * @license http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD - * @version $Id: Response.php 54 2011-02-04 16:29:18Z donovan.jimenez $ - * - * @package Apache - * @subpackage Solr - * @author Donovan Jimenez <djimenez@conduit-it.com> - */ - -require_once(dirname(__FILE__) . '/ParserException.php'); - -/** - * Represents a Solr response. Parses the raw response into a set of stdClass objects - * and associative arrays for easy access. - * - * Currently requires json_decode which is bundled with PHP >= 5.2.0, Alternatively can be - * installed with PECL. Zend Framework also includes a purely PHP solution. - */ -class Apache_Solr_Response -{ - /** - * SVN Revision meta data for this class - */ - const SVN_REVISION = '$Revision: 54 $'; - - /** - * SVN ID meta data for this class - */ - const SVN_ID = '$Id: Response.php 54 2011-02-04 16:29:18Z donovan.jimenez $'; - - /** - * Holds the raw response used in construction - * - * @var Apache_Solr_HttpTransport_Response HTTP response - */ - protected $_response; - - /** - * Whether the raw response has been parsed - * - * @var boolean - */ - protected $_isParsed = false; - - /** - * Parsed representation of the data - * - * @var mixed - */ - protected $_parsedData; - - /** - * Data parsing flags. Determines what extra processing should be done - * after the data is initially converted to a data structure. - * - * @var boolean - */ - protected $_createDocuments = true, - $_collapseSingleValueArrays = true; - - /** - * Constructor. Takes the raw HTTP response body and the exploded HTTP headers - * - * @return Apache_Solr_HttpTransport_Response HTTP response - * @param boolean $createDocuments Whether to convert the documents json_decoded as stdClass instances to Apache_Solr_Document instances - * @param boolean $collapseSingleValueArrays Whether to make multivalued fields appear as single values - */ - public function __construct(Apache_Solr_HttpTransport_Response $response, $createDocuments = true, $collapseSingleValueArrays = true) - { - $this->_response = $response; - $this->_createDocuments = (bool) $createDocuments; - $this->_collapseSingleValueArrays = (bool) $collapseSingleValueArrays; - } - - /** - * Get the HTTP status code - * - * @return integer - */ - public function getHttpStatus() - { - return $this->_response->getStatusCode(); - } - - /** - * Get the HTTP status message of the response - * - * @return string - */ - public function getHttpStatusMessage() - { - return $this->_response->getStatusMessage(); - } - - /** - * Get content type of this Solr response - * - * @return string - */ - public function getType() - { - return $this->_response->getMimeType(); - } - - /** - * Get character encoding of this response. Should usually be utf-8, but just in case - * - * @return string - */ - public function getEncoding() - { - return $this->_response->getEncoding(); - } - - /** - * Get the raw response as it was given to this object - * - * @return string - */ - public function getRawResponse() - { - return $this->_response->getBody(); - } - - /** - * Magic get to expose the parsed data and to lazily load it - * - * @param string $key - * @return mixed - */ - public function __get($key) - { - if (!$this->_isParsed) - { - $this->_parseData(); - $this->_isParsed = true; - } - - if (isset($this->_parsedData->$key)) - { - return $this->_parsedData->$key; - } - - return null; - } - - /** - * Magic function for isset function on parsed data - * - * @param string $key - * @return boolean - */ - public function __isset($key) - { - if (!$this->_isParsed) - { - $this->_parseData(); - $this->_isParsed = true; - } - - return isset($this->_parsedData->$key); - } - - /** - * Parse the raw response into the parsed_data array for access - * - * @throws Apache_Solr_ParserException If the data could not be parsed - */ - protected function _parseData() - { - //An alternative would be to use Zend_Json::decode(...) - $data = json_decode($this->_response->getBody()); - - // check that we receive a valid JSON response - we should never receive a null - if ($data === null) - { - throw new Apache_Solr_ParserException('Solr response does not appear to be valid JSON, please examine the raw response with getRawResponse() method'); - } - - //if we're configured to collapse single valued arrays or to convert them to Apache_Solr_Document objects - //and we have response documents, then try to collapse the values and / or convert them now - if (($this->_createDocuments || $this->_collapseSingleValueArrays) && isset($data->response) && is_array($data->response->docs)) - { - $documents = array(); - - foreach ($data->response->docs as $originalDocument) - { - if ($this->_createDocuments) - { - $document = new Apache_Solr_Document(); - } - else - { - $document = $originalDocument; - } - - foreach ($originalDocument as $key => $value) - { - //If a result is an array with only a single - //value then its nice to be able to access - //it as if it were always a single value - if ($this->_collapseSingleValueArrays && is_array($value) && count($value) <= 1) - { - $value = array_shift($value); - } - - $document->$key = $value; - } - - $documents[] = $document; - } - - $data->response->docs = $documents; - } - - $this->_parsedData = $data; - } -} \ No newline at end of file diff --git a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/Service.php b/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/Service.php deleted file mode 100644 index e7650c331..000000000 --- a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/Service.php +++ /dev/null @@ -1,1181 +0,0 @@ -<?php -/** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - Neither the name of Servigistics, Inc. nor the names of - * its contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - * @copyright Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com) - * @license http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD - * @version $Id: Service.php 59 2011-02-08 20:38:59Z donovan.jimenez $ - * - * @package Apache - * @subpackage Solr - * @author Donovan Jimenez <djimenez@conduit-it.com> - */ - -// See Issue #1 (http://code.google.com/p/solr-php-client/issues/detail?id=1) -// Doesn't follow typical include path conventions, but is more convenient for users -require_once(dirname(__FILE__) . '/Exception.php'); -require_once(dirname(__FILE__) . '/HttpTransportException.php'); -require_once(dirname(__FILE__) . '/InvalidArgumentException.php'); - -require_once(dirname(__FILE__) . '/Document.php'); -require_once(dirname(__FILE__) . '/Response.php'); - -require_once(dirname(__FILE__) . '/HttpTransport/Interface.php'); - -/** - * Starting point for the Solr API. Represents a Solr server resource and has - * methods for pinging, adding, deleting, committing, optimizing and searching. - * - * Example Usage: - * <code> - * ... - * $solr = new Apache_Solr_Service(); //or explicitly new Apache_Solr_Service('localhost', 8180, '/solr') - * - * if ($solr->ping()) - * { - * $solr->deleteByQuery('*:*'); //deletes ALL documents - be careful :) - * - * $document = new Apache_Solr_Document(); - * $document->id = uniqid(); //or something else suitably unique - * - * $document->title = 'Some Title'; - * $document->content = 'Some content for this wonderful document. Blah blah blah.'; - * - * $solr->addDocument($document); //if you're going to be adding documents in bulk using addDocuments - * //with an array of documents is faster - * - * $solr->commit(); //commit to see the deletes and the document - * $solr->optimize(); //merges multiple segments into one - * - * //and the one we all care about, search! - * //any other common or custom parameters to the request handler can go in the - * //optional 4th array argument. - * $solr->search('content:blah', 0, 10, array('sort' => 'timestamp desc')); - * } - * ... - * </code> - * - * @todo Investigate using other HTTP clients other than file_get_contents built-in handler. Could provide performance - * improvements when dealing with multiple requests by using HTTP's keep alive functionality - */ -class Apache_Solr_Service -{ - /** - * SVN Revision meta data for this class - */ - const SVN_REVISION = '$Revision: 59 $'; - - /** - * SVN ID meta data for this class - */ - const SVN_ID = '$Id: Service.php 59 2011-02-08 20:38:59Z donovan.jimenez $'; - - /** - * Response writer we'll request - JSON. See http://code.google.com/p/solr-php-client/issues/detail?id=6#c1 for reasoning - */ - const SOLR_WRITER = 'json'; - - /** - * NamedList Treatment constants - */ - const NAMED_LIST_FLAT = 'flat'; - const NAMED_LIST_MAP = 'map'; - - /** - * Search HTTP Methods - */ - const METHOD_GET = 'GET'; - const METHOD_POST = 'POST'; - - /** - * Servlet mappings - */ - const PING_SERVLET = 'admin/ping'; - const UPDATE_SERVLET = 'update'; - const SEARCH_SERVLET = 'select'; - const THREADS_SERVLET = 'admin/threads'; - const EXTRACT_SERVLET = 'update/extract'; - - /** - * Server identification strings - * - * @var string - */ - protected $_host, $_port, $_path; - - /** - * Whether {@link Apache_Solr_Response} objects should create {@link Apache_Solr_Document}s in - * the returned parsed data - * - * @var boolean - */ - protected $_createDocuments = true; - - /** - * Whether {@link Apache_Solr_Response} objects should have multivalue fields with only a single value - * collapsed to appear as a single value would. - * - * @var boolean - */ - protected $_collapseSingleValueArrays = true; - - /** - * How NamedLists should be formatted in the output. This specifically effects facet counts. Valid values - * are {@link Apache_Solr_Service::NAMED_LIST_MAP} (default) or {@link Apache_Solr_Service::NAMED_LIST_FLAT}. - * - * @var string - */ - protected $_namedListTreatment = self::NAMED_LIST_MAP; - - /** - * Query delimiters. Someone might want to be able to change - * these (to use & instead of & for example), so I've provided them. - * - * @var string - */ - protected $_queryDelimiter = '?', $_queryStringDelimiter = '&', $_queryBracketsEscaped = true; - - /** - * Constructed servlet full path URLs - * - * @var string - */ - protected $_pingUrl, $_updateUrl, $_searchUrl, $_threadsUrl; - - /** - * Keep track of whether our URLs have been constructed - * - * @var boolean - */ - protected $_urlsInited = false; - - /** - * HTTP Transport implementation (pluggable) - * - * @var Apache_Solr_HttpTransport_Interface - */ - protected $_httpTransport = false; - - /** - * Escape a value for special query characters such as ':', '(', ')', '*', '?', etc. - * - * NOTE: inside a phrase fewer characters need escaped, use {@link Apache_Solr_Service::escapePhrase()} instead - * - * @param string $value - * @return string - */ - static public function escape($value) - { - //list taken from http://lucene.apache.org/java/docs/queryparsersyntax.html#Escaping%20Special%20Characters - $pattern = '/(\+|-|&&|\|\||!|\(|\)|\{|}|\[|]|\^|"|~|\*|\?|:|\\\)/'; - $replace = '\\\$1'; - - return preg_replace($pattern, $replace, $value); - } - - /** - * Escape a value meant to be contained in a phrase for special query characters - * - * @param string $value - * @return string - */ - static public function escapePhrase($value) - { - $pattern = '/("|\\\)/'; - $replace = '\\\$1'; - - return preg_replace($pattern, $replace, $value); - } - - /** - * Convenience function for creating phrase syntax from a value - * - * @param string $value - * @return string - */ - static public function phrase($value) - { - return '"' . self::escapePhrase($value) . '"'; - } - - /** - * Constructor. All parameters are optional and will take on default values - * if not specified. - * - * @param string $host - * @param string $port - * @param string $path - * @param Apache_Solr_HttpTransport_Interface $httpTransport - */ - public function __construct($host = 'localhost', $port = 8180, $path = '/solr/', $httpTransport = false) - { - $this->setHost($host); - $this->setPort($port); - $this->setPath($path); - - $this->_initUrls(); - - if ($httpTransport) - { - $this->setHttpTransport($httpTransport); - } - - // check that our php version is >= 5.1.3 so we can correct for http_build_query behavior later - $this->_queryBracketsEscaped = version_compare(phpversion(), '5.1.3', '>='); - } - - /** - * Return a valid http URL given this server's host, port and path and a provided servlet name - * - * @param string $servlet - * @return string - */ - protected function _constructUrl($servlet, $params = array()) - { - if (count($params)) - { - //escape all parameters appropriately for inclusion in the query string - $escapedParams = array(); - - foreach ($params as $key => $value) - { - $escapedParams[] = urlencode($key) . '=' . urlencode($value); - } - - $queryString = $this->_queryDelimiter . implode($this->_queryStringDelimiter, $escapedParams); - } - else - { - $queryString = ''; - } - - return 'http://' . $this->_host . ':' . $this->_port . $this->_path . $servlet . $queryString; - } - - /** - * Construct the Full URLs for the three servlets we reference - */ - protected function _initUrls() - { - //Initialize our full servlet URLs now that we have server information - $this->_extractUrl = $this->_constructUrl(self::EXTRACT_SERVLET); - $this->_pingUrl = $this->_constructUrl(self::PING_SERVLET); - $this->_searchUrl = $this->_constructUrl(self::SEARCH_SERVLET); - $this->_threadsUrl = $this->_constructUrl(self::THREADS_SERVLET, array('wt' => self::SOLR_WRITER )); - $this->_updateUrl = $this->_constructUrl(self::UPDATE_SERVLET, array('wt' => self::SOLR_WRITER )); - - $this->_urlsInited = true; - } - - protected function _generateQueryString($params) - { - // use http_build_query to encode our arguments because its faster - // than urlencoding all the parts ourselves in a loop - // - // because http_build_query treats arrays differently than we want to, correct the query - // string by changing foo[#]=bar (# being an actual number) parameter strings to just - // multiple foo=bar strings. This regex should always work since '=' will be urlencoded - // anywhere else the regex isn't expecting it - // - // NOTE: before php 5.1.3 brackets were not url encoded by http_build query - we've checked - // the php version in the constructor and put the results in the instance variable. Also, before - // 5.1.2 the arg_separator parameter was not available, so don't use it - if ($this->_queryBracketsEscaped) - { - $queryString = http_build_query($params, null, $this->_queryStringDelimiter); - return preg_replace('/%5B(?:[0-9]|[1-9][0-9]+)%5D=/', '=', $queryString); - } - else - { - $queryString = http_build_query($params); - return preg_replace('/\\[(?:[0-9]|[1-9][0-9]+)\\]=/', '=', $queryString); - } - } - - /** - * Central method for making a get operation against this Solr Server - * - * @param string $url - * @param float $timeout Read timeout in seconds - * @return Apache_Solr_Response - * - * @throws Apache_Solr_HttpTransportException If a non 200 response status is returned - */ - protected function _sendRawGet($url, $timeout = FALSE) - { - $httpTransport = $this->getHttpTransport(); - - $httpResponse = $httpTransport->performGetRequest($url, $timeout); - $solrResponse = new Apache_Solr_Response($httpResponse, $this->_createDocuments, $this->_collapseSingleValueArrays); - - if ($solrResponse->getHttpStatus() != 200) - { - throw new Apache_Solr_HttpTransportException($solrResponse); - } - - return $solrResponse; - } - - /** - * Central method for making a post operation against this Solr Server - * - * @param string $url - * @param string $rawPost - * @param float $timeout Read timeout in seconds - * @param string $contentType - * @return Apache_Solr_Response - * - * @throws Apache_Solr_HttpTransportException If a non 200 response status is returned - */ - protected function _sendRawPost($url, $rawPost, $timeout = FALSE, $contentType = 'text/xml; charset=UTF-8') - { - $httpTransport = $this->getHttpTransport(); - - $httpResponse = $httpTransport->performPostRequest($url, $rawPost, $contentType, $timeout); - $solrResponse = new Apache_Solr_Response($httpResponse, $this->_createDocuments, $this->_collapseSingleValueArrays); - - if ($solrResponse->getHttpStatus() != 200) - { - throw new Apache_Solr_HttpTransportException($solrResponse); - } - - return $solrResponse; - } - - /** - * Returns the set host - * - * @return string - */ - public function getHost() - { - return $this->_host; - } - - /** - * Set the host used. If empty will fallback to constants - * - * @param string $host - * - * @throws Apache_Solr_InvalidArgumentException If the host parameter is empty - */ - public function setHost($host) - { - //Use the provided host or use the default - if (empty($host)) - { - throw new Apache_Solr_InvalidArgumentException('Host parameter is empty'); - } - else - { - $this->_host = $host; - } - - if ($this->_urlsInited) - { - $this->_initUrls(); - } - } - - /** - * Get the set port - * - * @return integer - */ - public function getPort() - { - return $this->_port; - } - - /** - * Set the port used. If empty will fallback to constants - * - * @param integer $port - * - * @throws Apache_Solr_InvalidArgumentException If the port parameter is empty - */ - public function setPort($port) - { - //Use the provided port or use the default - $port = (int) $port; - - if ($port <= 0) - { - throw new Apache_Solr_InvalidArgumentException('Port is not a valid port number'); - } - else - { - $this->_port = $port; - } - - if ($this->_urlsInited) - { - $this->_initUrls(); - } - } - - /** - * Get the set path. - * - * @return string - */ - public function getPath() - { - return $this->_path; - } - - /** - * Set the path used. If empty will fallback to constants - * - * @param string $path - */ - public function setPath($path) - { - $path = trim($path, '/'); - - $this->_path = '/' . $path . '/'; - - if ($this->_urlsInited) - { - $this->_initUrls(); - } - } - - /** - * Get the current configured HTTP Transport - * - * @return HttpTransportInterface - */ - public function getHttpTransport() - { - // lazy load a default if one has not be set - if ($this->_httpTransport === false) - { - require_once(dirname(__FILE__) . '/HttpTransport/FileGetContents.php'); - - $this->_httpTransport = new Apache_Solr_HttpTransport_FileGetContents(); - } - - return $this->_httpTransport; - } - - /** - * Set the HTTP Transport implemenation that will be used for all HTTP requests - * - * @param Apache_Solr_HttpTransport_Interface - */ - public function setHttpTransport(Apache_Solr_HttpTransport_Interface $httpTransport) - { - $this->_httpTransport = $httpTransport; - } - - /** - * Set the create documents flag. This determines whether {@link Apache_Solr_Response} objects will - * parse the response and create {@link Apache_Solr_Document} instances in place. - * - * @param boolean $createDocuments - */ - public function setCreateDocuments($createDocuments) - { - $this->_createDocuments = (bool) $createDocuments; - } - - /** - * Get the current state of teh create documents flag. - * - * @return boolean - */ - public function getCreateDocuments() - { - return $this->_createDocuments; - } - - /** - * Set the collapse single value arrays flag. - * - * @param boolean $collapseSingleValueArrays - */ - public function setCollapseSingleValueArrays($collapseSingleValueArrays) - { - $this->_collapseSingleValueArrays = (bool) $collapseSingleValueArrays; - } - - /** - * Get the current state of the collapse single value arrays flag. - * - * @return boolean - */ - public function getCollapseSingleValueArrays() - { - return $this->_collapseSingleValueArrays; - } - - /** - * Get the current default timeout setting (initially the default_socket_timeout ini setting) - * in seconds - * - * @return float - * - * @deprecated Use the getDefaultTimeout method on the HTTP transport implementation - */ - public function getDefaultTimeout() - { - return $this->getHttpTransport()->getDefaultTimeout(); - } - - /** - * Set the default timeout for all calls that aren't passed a specific timeout - * - * @param float $timeout Timeout value in seconds - * - * @deprecated Use the setDefaultTimeout method on the HTTP transport implementation - */ - public function setDefaultTimeout($timeout) - { - $this->getHttpTransport()->setDefaultTimeout($timeout); - } - - /** - * Set how NamedLists should be formatted in the response data. This mainly effects - * the facet counts format. - * - * @param string $namedListTreatment - * @throws Apache_Solr_InvalidArgumentException If invalid option is set - */ - public function setNamedListTreatment($namedListTreatment) - { - switch ((string) $namedListTreatment) - { - case Apache_Solr_Service::NAMED_LIST_FLAT: - $this->_namedListTreatment = Apache_Solr_Service::NAMED_LIST_FLAT; - break; - - case Apache_Solr_Service::NAMED_LIST_MAP: - $this->_namedListTreatment = Apache_Solr_Service::NAMED_LIST_MAP; - break; - - default: - throw new Apache_Solr_InvalidArgumentException('Not a valid named list treatement option'); - } - } - - /** - * Get the current setting for named list treatment. - * - * @return string - */ - public function getNamedListTreatment() - { - return $this->_namedListTreatment; - } - - /** - * Set the string used to separate the path form the query string. - * Defaulted to '?' - * - * @param string $queryDelimiter - */ - public function setQueryDelimiter($queryDelimiter) - { - $this->_queryDelimiter = $queryDelimiter; - } - - /** - * Set the string used to separate the parameters in thequery string - * Defaulted to '&' - * - * @param string $queryStringDelimiter - */ - public function setQueryStringDelimiter($queryStringDelimiter) - { - $this->_queryStringDelimiter = $queryStringDelimiter; - } - - /** - * Call the /admin/ping servlet, can be used to quickly tell if a connection to the - * server is able to be made. - * - * @param float $timeout maximum time to wait for ping in seconds, -1 for unlimited (default is 2) - * @return float Actual time taken to ping the server, FALSE if timeout or HTTP error status occurs - */ - public function ping($timeout = 2) - { - $start = microtime(true); - - $httpTransport = $this->getHttpTransport(); - - $httpResponse = $httpTransport->performHeadRequest($this->_pingUrl, $timeout); - $solrResponse = new Apache_Solr_Response($httpResponse, $this->_createDocuments, $this->_collapseSingleValueArrays); - - if ($solrResponse->getHttpStatus() == 200) - { - return microtime(true) - $start; - } - else - { - return false; - } - } - - /** - * Call the /admin/threads servlet and retrieve information about all threads in the - * Solr servlet's thread group. Useful for diagnostics. - * - * @return Apache_Solr_Response - * - * @throws Apache_Solr_HttpTransportException If an error occurs during the service call - */ - public function threads() - { - return $this->_sendRawGet($this->_threadsUrl); - } - - /** - * Raw Add Method. Takes a raw post body and sends it to the update service. Post body - * should be a complete and well formed "add" xml document. - * - * @param string $rawPost - * @return Apache_Solr_Response - * - * @throws Apache_Solr_HttpTransportException If an error occurs during the service call - */ - public function add($rawPost) - { - return $this->_sendRawPost($this->_updateUrl, $rawPost); - } - - /** - * Add a Solr Document to the index - * - * @param Apache_Solr_Document $document - * @param boolean $allowDups - * @param boolean $overwritePending - * @param boolean $overwriteCommitted - * @param integer $commitWithin The number of milliseconds that a document must be committed within, see @{link http://wiki.apache.org/solr/UpdateXmlMessages#The_Update_Schema} for details. If left empty this property will not be set in the request. - * @return Apache_Solr_Response - * - * @throws Apache_Solr_HttpTransportException If an error occurs during the service call - */ - public function addDocument(Apache_Solr_Document $document, $allowDups = false, $overwritePending = true, $overwriteCommitted = true, $commitWithin = 0) - { - $dupValue = $allowDups ? 'true' : 'false'; - $pendingValue = $overwritePending ? 'true' : 'false'; - $committedValue = $overwriteCommitted ? 'true' : 'false'; - - $commitWithin = (int) $commitWithin; - $commitWithinString = $commitWithin > 0 ? " commitWithin=\"{$commitWithin}\"" : ''; - - $rawPost = "<add allowDups=\"{$dupValue}\" overwritePending=\"{$pendingValue}\" overwriteCommitted=\"{$committedValue}\"{$commitWithinString}>"; - $rawPost .= $this->_documentToXmlFragment($document); - $rawPost .= '</add>'; - - return $this->add($rawPost); - } - - /** - * Add an array of Solr Documents to the index all at once - * - * @param array $documents Should be an array of Apache_Solr_Document instances - * @param boolean $allowDups - * @param boolean $overwritePending - * @param boolean $overwriteCommitted - * @param integer $commitWithin The number of milliseconds that a document must be committed within, see @{link http://wiki.apache.org/solr/UpdateXmlMessages#The_Update_Schema} for details. If left empty this property will not be set in the request. - * @return Apache_Solr_Response - * - * @throws Apache_Solr_HttpTransportException If an error occurs during the service call - */ - public function addDocuments($documents, $allowDups = false, $overwritePending = true, $overwriteCommitted = true, $commitWithin = 0) - { - $dupValue = $allowDups ? 'true' : 'false'; - $pendingValue = $overwritePending ? 'true' : 'false'; - $committedValue = $overwriteCommitted ? 'true' : 'false'; - - $commitWithin = (int) $commitWithin; - $commitWithinString = $commitWithin > 0 ? " commitWithin=\"{$commitWithin}\"" : ''; - - $rawPost = "<add allowDups=\"{$dupValue}\" overwritePending=\"{$pendingValue}\" overwriteCommitted=\"{$committedValue}\"{$commitWithinString}>"; - - foreach ($documents as $document) - { - if ($document instanceof Apache_Solr_Document) - { - $rawPost .= $this->_documentToXmlFragment($document); - } - } - - $rawPost .= '</add>'; - - return $this->add($rawPost); - } - - /** - * Create an XML fragment from a {@link Apache_Solr_Document} instance appropriate for use inside a Solr add call - * - * @return string - */ - protected function _documentToXmlFragment(Apache_Solr_Document $document) - { - $xml = '<doc'; - - if ($document->getBoost() !== false) - { - $xml .= ' boost="' . $document->getBoost() . '"'; - } - - $xml .= '>'; - - foreach ($document as $key => $value) - { - $key = htmlspecialchars($key, ENT_QUOTES, 'UTF-8'); - $fieldBoost = $document->getFieldBoost($key); - - if (is_array($value)) - { - foreach ($value as $multivalue) - { - $xml .= '<field name="' . $key . '"'; - - if ($fieldBoost !== false) - { - $xml .= ' boost="' . $fieldBoost . '"'; - - // only set the boost for the first field in the set - $fieldBoost = false; - } - $multivalue = utf8_encode($multivalue); - $multivalue = htmlspecialchars($multivalue, ENT_NOQUOTES, 'UTF-8'); - - $xml .= '>' . $multivalue . '</field>'; - } - } - else - { - $xml .= '<field name="' . $key . '"'; - - if ($fieldBoost !== false) - { - $xml .= ' boost="' . $fieldBoost . '"'; - } - - $value = htmlspecialchars($value, ENT_NOQUOTES, 'UTF-8'); - - $xml .= '>' . $value . '</field>'; - } - } - - $xml .= '</doc>'; - - // replace any control characters to avoid Solr XML parser exception - return $this->_stripCtrlChars($xml); - } - - /** - * Replace control (non-printable) characters from string that are invalid to Solr's XML parser with a space. - * - * @param string $string - * @return string - */ - protected function _stripCtrlChars($string) - { - // See: http://w3.org/International/questions/qa-forms-utf-8.html - // Printable utf-8 does not include any of these chars below x7F - return preg_replace('@[\x00-\x08\x0B\x0C\x0E-\x1F]@', ' ', $string); - } - - /** - * Send a commit command. Will be synchronous unless both wait parameters are set to false. - * - * @param boolean $expungeDeletes Defaults to false, merge segments with deletes away - * @param boolean $waitFlush Defaults to true, block until index changes are flushed to disk - * @param boolean $waitSearcher Defaults to true, block until a new searcher is opened and registered as the main query searcher, making the changes visible - * @param float $timeout Maximum expected duration (in seconds) of the commit operation on the server (otherwise, will throw a communication exception). Defaults to 1 hour - * @return Apache_Solr_Response - * - * @throws Apache_Solr_HttpTransportException If an error occurs during the service call - */ - public function commit($expungeDeletes = false, $waitFlush = true, $waitSearcher = true, $timeout = 3600) - { - $expungeValue = $expungeDeletes ? 'true' : 'false'; - $flushValue = $waitFlush ? 'true' : 'false'; - $searcherValue = $waitSearcher ? 'true' : 'false'; - - $rawPost = '<commit expungeDeletes="' . $expungeValue . '" waitFlush="' . $flushValue . '" waitSearcher="' . $searcherValue . '" />'; - - return $this->_sendRawPost($this->_updateUrl, $rawPost, $timeout); - } - - /** - * Raw Delete Method. Takes a raw post body and sends it to the update service. Body should be - * a complete and well formed "delete" xml document - * - * @param string $rawPost Expected to be utf-8 encoded xml document - * @param float $timeout Maximum expected duration of the delete operation on the server (otherwise, will throw a communication exception) - * @return Apache_Solr_Response - * - * @throws Apache_Solr_HttpTransportException If an error occurs during the service call - */ - public function delete($rawPost, $timeout = 3600) - { - return $this->_sendRawPost($this->_updateUrl, $rawPost, $timeout); - } - - /** - * Create a delete document based on document ID - * - * @param string $id Expected to be utf-8 encoded - * @param boolean $fromPending - * @param boolean $fromCommitted - * @param float $timeout Maximum expected duration of the delete operation on the server (otherwise, will throw a communication exception) - * @return Apache_Solr_Response - * - * @throws Apache_Solr_HttpTransportException If an error occurs during the service call - */ - public function deleteById($id, $fromPending = true, $fromCommitted = true, $timeout = 3600) - { - $pendingValue = $fromPending ? 'true' : 'false'; - $committedValue = $fromCommitted ? 'true' : 'false'; - - //escape special xml characters - $id = htmlspecialchars($id, ENT_NOQUOTES, 'UTF-8'); - - $rawPost = '<delete fromPending="' . $pendingValue . '" fromCommitted="' . $committedValue . '"><id>' . $id . '</id></delete>'; - - return $this->delete($rawPost, $timeout); - } - - /** - * Create and post a delete document based on multiple document IDs. - * - * @param array $ids Expected to be utf-8 encoded strings - * @param boolean $fromPending - * @param boolean $fromCommitted - * @param float $timeout Maximum expected duration of the delete operation on the server (otherwise, will throw a communication exception) - * @return Apache_Solr_Response - * - * @throws Apache_Solr_HttpTransportException If an error occurs during the service call - */ - public function deleteByMultipleIds($ids, $fromPending = true, $fromCommitted = true, $timeout = 3600) - { - $pendingValue = $fromPending ? 'true' : 'false'; - $committedValue = $fromCommitted ? 'true' : 'false'; - - $rawPost = '<delete fromPending="' . $pendingValue . '" fromCommitted="' . $committedValue . '">'; - - foreach ($ids as $id) - { - //escape special xml characters - $id = htmlspecialchars($id, ENT_NOQUOTES, 'UTF-8'); - - $rawPost .= '<id>' . $id . '</id>'; - } - - $rawPost .= '</delete>'; - - return $this->delete($rawPost, $timeout); - } - - /** - * Create a delete document based on a query and submit it - * - * @param string $rawQuery Expected to be utf-8 encoded - * @param boolean $fromPending - * @param boolean $fromCommitted - * @param float $timeout Maximum expected duration of the delete operation on the server (otherwise, will throw a communication exception) - * @return Apache_Solr_Response - * - * @throws Apache_Solr_HttpTransportException If an error occurs during the service call - */ - public function deleteByQuery($rawQuery, $fromPending = true, $fromCommitted = true, $timeout = 3600) - { - $pendingValue = $fromPending ? 'true' : 'false'; - $committedValue = $fromCommitted ? 'true' : 'false'; - - // escape special xml characters - $rawQuery = htmlspecialchars($rawQuery, ENT_NOQUOTES, 'UTF-8'); - - $rawPost = '<delete fromPending="' . $pendingValue . '" fromCommitted="' . $committedValue . '"><query>' . $rawQuery . '</query></delete>'; - - return $this->delete($rawPost, $timeout); - } - - /** - * Use Solr Cell to extract document contents. See {@link http://wiki.apache.org/solr/ExtractingRequestHandler} for information on how - * to use Solr Cell and what parameters are available. - * - * NOTE: when passing an Apache_Solr_Document instance, field names and boosts will automatically be prepended by "literal." and "boost." - * as appropriate. Any keys from the $params array will NOT be treated this way. Any mappings from the document will overwrite key / value - * pairs in the params array if they have the same name (e.g. you pass a "literal.id" key and value in your $params array but you also - * pass in a document isntance with an "id" field" - the document's value(s) will take precedence). - * - * @param string $file Path to file to extract data from - * @param array $params optional array of key value pairs that will be sent with the post (see Solr Cell documentation) - * @param Apache_Solr_Document $document optional document that will be used to generate post parameters (literal.* and boost.* params) - * @param string $mimetype optional mimetype specification (for the file being extracted) - * - * @return Apache_Solr_Response - * - * @throws Apache_Solr_InvalidArgumentException if $file, $params, or $document are invalid. - */ - public function extract($file, $params = array(), $document = null, $mimetype = 'application/octet-stream') - { - // check if $params is an array (allow null for default empty array) - if (!is_null($params)) - { - if (!is_array($params)) - { - throw new Apache_Solr_InvalidArgumentException("\$params must be a valid array or null"); - } - } - else - { - $params = array(); - } - - // if $file is an http request, defer to extractFromUrl instead - if (substr($file, 0, 7) == 'http://' || substr($file, 0, 8) == 'https://') - { - return $this->extractFromUrl($file, $params, $document, $mimetype); - } - - // read the contents of the file - $contents = @file_get_contents($file); - - if ($contents !== false) - { - // add the resource.name parameter if not specified - if (!isset($params['resource.name'])) - { - $params['resource.name'] = basename($file); - } - - // delegate the rest to extractFromString - return $this->extractFromString($contents, $params, $document, $mimetype); - } - else - { - throw new Apache_Solr_InvalidArgumentException("File '{$file}' is empty or could not be read"); - } - } - - /** - * Use Solr Cell to extract document contents. See {@link http://wiki.apache.org/solr/ExtractingRequestHandler} for information on how - * to use Solr Cell and what parameters are available. - * - * NOTE: when passing an Apache_Solr_Document instance, field names and boosts will automatically be prepended by "literal." and "boost." - * as appropriate. Any keys from the $params array will NOT be treated this way. Any mappings from the document will overwrite key / value - * pairs in the params array if they have the same name (e.g. you pass a "literal.id" key and value in your $params array but you also - * pass in a document isntance with an "id" field" - the document's value(s) will take precedence). - * - * @param string $data Data that will be passed to Solr Cell - * @param array $params optional array of key value pairs that will be sent with the post (see Solr Cell documentation) - * @param Apache_Solr_Document $document optional document that will be used to generate post parameters (literal.* and boost.* params) - * @param string $mimetype optional mimetype specification (for the file being extracted) - * - * @return Apache_Solr_Response - * - * @throws Apache_Solr_InvalidArgumentException if $file, $params, or $document are invalid. - * - * @todo Should be using multipart/form-data to post parameter values, but I could not get my implementation to work. Needs revisisted. - */ - public function extractFromString($data, $params = array(), $document = null, $mimetype = 'application/octet-stream') - { - // check if $params is an array (allow null for default empty array) - if (!is_null($params)) - { - if (!is_array($params)) - { - throw new Apache_Solr_InvalidArgumentException("\$params must be a valid array or null"); - } - } - else - { - $params = array(); - } - - // make sure we receive our response in JSON and have proper name list treatment - $params['wt'] = self::SOLR_WRITER; - $params['json.nl'] = $this->_namedListTreatment; - - // check if $document is an Apache_Solr_Document instance - if (!is_null($document) && $document instanceof Apache_Solr_Document) - { - // iterate document, adding literal.* and boost.* fields to $params as appropriate - foreach ($document as $field => $fieldValue) - { - // check if we need to add a boost.* parameters - $fieldBoost = $document->getFieldBoost($field); - - if ($fieldBoost !== false) - { - $params["boost.{$field}"] = $fieldBoost; - } - - // add the literal.* parameter - $params["literal.{$field}"] = $fieldValue; - } - } - - // params will be sent to SOLR in the QUERY STRING - $queryString = $this->_generateQueryString($params); - - // the file contents will be sent to SOLR as the POST BODY - we use application/octect-stream as default mimetype - return $this->_sendRawPost($this->_extractUrl . $this->_queryDelimiter . $queryString, $data, false, $mimetype); - } - - /** - * Use Solr Cell to extract document contents. See {@link http://wiki.apache.org/solr/ExtractingRequestHandler} for information on how - * to use Solr Cell and what parameters are available. - * - * NOTE: when passing an Apache_Solr_Document instance, field names and boosts will automatically be prepended by "literal." and "boost." - * as appropriate. Any keys from the $params array will NOT be treated this way. Any mappings from the document will overwrite key / value - * pairs in the params array if they have the same name (e.g. you pass a "literal.id" key and value in your $params array but you also - * pass in a document isntance with an "id" field" - the document's value(s) will take precedence). - * - * @param string $url URL - * @param array $params optional array of key value pairs that will be sent with the post (see Solr Cell documentation) - * @param Apache_Solr_Document $document optional document that will be used to generate post parameters (literal.* and boost.* params) - * @param string $mimetype optional mimetype specification (for the file being extracted) - * - * @return Apache_Solr_Response - * - * @throws Apache_Solr_InvalidArgumentException if $url, $params, or $document are invalid. - */ - public function extractFromUrl($url, $params = array(), $document = null, $mimetype = 'application/octet-stream') - { - // check if $params is an array (allow null for default empty array) - if (!is_null($params)) - { - if (!is_array($params)) - { - throw new Apache_Solr_InvalidArgumentException("\$params must be a valid array or null"); - } - } - else - { - $params = array(); - } - - $httpTransport = $this->getHttpTransport(); - - // read the contents of the URL using our configured Http Transport and default timeout - $httpResponse = $httpTransport->performGetRequest($url); - - // check that its a 200 response - if ($httpResponse->getStatusCode() == 200) - { - // add the resource.name parameter if not specified - if (!isset($params['resource.name'])) - { - $params['resource.name'] = $url; - } - - // delegate the rest to extractFromString - return $this->extractFromString($httpResponse->getBody(), $params, $document, $mimetype); - } - else - { - throw new Apache_Solr_InvalidArgumentException("URL '{$url}' returned non 200 response code"); - } - } - - /** - * Send an optimize command. Will be synchronous unless both wait parameters are set - * to false. - * - * @param boolean $waitFlush - * @param boolean $waitSearcher - * @param float $timeout Maximum expected duration of the commit operation on the server (otherwise, will throw a communication exception) - * @return Apache_Solr_Response - * - * @throws Apache_Solr_HttpTransportException If an error occurs during the service call - */ - public function optimize($waitFlush = true, $waitSearcher = true, $timeout = 3600) - { - $flushValue = $waitFlush ? 'true' : 'false'; - $searcherValue = $waitSearcher ? 'true' : 'false'; - - $rawPost = '<optimize waitFlush="' . $flushValue . '" waitSearcher="' . $searcherValue . '" />'; - - return $this->_sendRawPost($this->_updateUrl, $rawPost, $timeout); - } - - /** - * Simple Search interface - * - * @param string $query The raw query string - * @param int $offset The starting offset for result documents - * @param int $limit The maximum number of result documents to return - * @param array $params key / value pairs for other query parameters (see Solr documentation), use arrays for parameter keys used more than once (e.g. facet.field) - * @param string $method The HTTP method (Apache_Solr_Service::METHOD_GET or Apache_Solr_Service::METHOD::POST) - * @return Apache_Solr_Response - * - * @throws Apache_Solr_HttpTransportException If an error occurs during the service call - * @throws Apache_Solr_InvalidArgumentException If an invalid HTTP method is used - */ - public function search($query, $offset = 0, $limit = 10, $params = array(), $method = self::METHOD_GET) - { - // ensure params is an array - if (!is_null($params)) - { - if (!is_array($params)) - { - // params was specified but was not an array - invalid - throw new Apache_Solr_InvalidArgumentException("\$params must be a valid array or null"); - } - } - else - { - $params = array(); - } - - // construct our full parameters - - // common parameters in this interface - $params['wt'] = self::SOLR_WRITER; - $params['json.nl'] = $this->_namedListTreatment; - - $params['q'] = $query; - $params['start'] = $offset; - $params['rows'] = $limit; - - $queryString = $this->_generateQueryString($params); - - if ($method == self::METHOD_GET) - { - return $this->_sendRawGet($this->_searchUrl . $this->_queryDelimiter . $queryString); - } - else if ($method == self::METHOD_POST) - { - return $this->_sendRawPost($this->_searchUrl, $queryString, FALSE, 'application/x-www-form-urlencoded; charset=UTF-8'); - } - else - { - throw new Apache_Solr_InvalidArgumentException("Unsupported method '$method', please use the Apache_Solr_Service::METHOD_* constants"); - } - } -} diff --git a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/Service/Balancer.php b/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/Service/Balancer.php deleted file mode 100644 index cad57e52b..000000000 --- a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/Apache/Solr/Service/Balancer.php +++ /dev/null @@ -1,914 +0,0 @@ -<?php -/** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - Neither the name of Servigistics, Inc. nor the names of - * its contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - * @copyright Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com) - * @license http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD - * @version $Id: Balancer.php 54 2011-02-04 16:29:18Z donovan.jimenez $ - * - * @package Apache - * @subpackage Solr - * @author Donovan Jimenez <djimenez@conduit-it.com>, Dan Wolfe - */ - -// See Issue #1 (http://code.google.com/p/solr-php-client/issues/detail?id=1) -// Doesn't follow typical include path conventions, but is more convenient for users -require_once(dirname(dirname(__FILE__)) . '/Service.php'); - -require_once(dirname(dirname(__FILE__)) . '/NoServiceAvailableException.php'); - -/** - * Reference Implementation for using multiple Solr services in a distribution. Functionality - * includes: - * routing of read / write operations - * failover (on selection) for multiple read servers - */ -class Apache_Solr_Service_Balancer -{ - /** - * SVN Revision meta data for this class - */ - const SVN_REVISION = '$Revision: 54 $'; - - /** - * SVN ID meta data for this class - */ - const SVN_ID = '$Id: Balancer.php 54 2011-02-04 16:29:18Z donovan.jimenez $'; - - protected $_createDocuments = true; - - protected $_readableServices = array(); - protected $_writeableServices = array(); - - protected $_currentReadService = null; - protected $_currentWriteService = null; - - protected $_readPingTimeout = 2; - protected $_writePingTimeout = 4; - - // Configuration for server selection backoff intervals - protected $_useBackoff = false; // Set to true to use more resillient write server selection - protected $_backoffLimit = 600; // 10 minute default maximum - protected $_backoffEscalation = 2.0; // Rate at which to increase backoff period - protected $_defaultBackoff = 2.0; // Default backoff interval - - /** - * Escape a value for special query characters such as ':', '(', ')', '*', '?', etc. - * - * NOTE: inside a phrase fewer characters need escaped, use {@link Apache_Solr_Service::escapePhrase()} instead - * - * @param string $value - * @return string - */ - static public function escape($value) - { - return Apache_Solr_Service::escape($value); - } - - /** - * Escape a value meant to be contained in a phrase for special query characters - * - * @param string $value - * @return string - */ - static public function escapePhrase($value) - { - return Apache_Solr_Service::escapePhrase($value); - } - - /** - * Convenience function for creating phrase syntax from a value - * - * @param string $value - * @return string - */ - static public function phrase($value) - { - return Apache_Solr_Service::phrase($value); - } - - /** - * Constructor. Takes arrays of read and write service instances or descriptions - * - * @param array $readableServices - * @param array $writeableServices - */ - public function __construct($readableServices = array(), $writeableServices = array()) - { - //setup readable services - foreach ($readableServices as $service) - { - $this->addReadService($service); - } - - //setup writeable services - foreach ($writeableServices as $service) - { - $this->addWriteService($service); - } - } - - public function setReadPingTimeout($timeout) - { - $this->_readPingTimeout = $timeout; - } - - public function setWritePingTimeout($timeout) - { - $this->_writePingTimeout = $timeout; - } - - public function setUseBackoff($enable) - { - $this->_useBackoff = $enable; - } - - /** - * Generates a service ID - * - * @param string $host - * @param integer $port - * @param string $path - * @return string - */ - protected function _getServiceId($host, $port, $path) - { - return $host . ':' . $port . $path; - } - - /** - * Adds a service instance or service descriptor (if it is already - * not added) - * - * @param mixed $service - * - * @throws Apache_Solr_InvalidArgumentException If service descriptor is not valid - */ - public function addReadService($service) - { - if ($service instanceof Apache_Solr_Service) - { - $id = $this->_getServiceId($service->getHost(), $service->getPort(), $service->getPath()); - - $this->_readableServices[$id] = $service; - } - else if (is_array($service)) - { - if (isset($service['host']) && isset($service['port']) && isset($service['path'])) - { - $id = $this->_getServiceId((string)$service['host'], (int)$service['port'], (string)$service['path']); - - $this->_readableServices[$id] = $service; - } - else - { - throw new Apache_Solr_InvalidArgumentException('A Readable Service description array does not have all required elements of host, port, and path'); - } - } - } - - /** - * Removes a service instance or descriptor from the available services - * - * @param mixed $service - * - * @throws Apache_Solr_InvalidArgumentException If service descriptor is not valid - */ - public function removeReadService($service) - { - $id = ''; - - if ($service instanceof Apache_Solr_Service) - { - $id = $this->_getServiceId($service->getHost(), $service->getPort(), $service->getPath()); - } - else if (is_array($service)) - { - if (isset($service['host']) && isset($service['port']) && isset($service['path'])) - { - $id = $this->_getServiceId((string)$service['host'], (int)$service['port'], (string)$service['path']); - } - else - { - throw new Apache_Solr_InvalidArgumentException('A Readable Service description array does not have all required elements of host, port, and path'); - } - } - else if (is_string($service)) - { - $id = $service; - } - - if ($id && isset($this->_readableServices[$id])) - { - unset($this->_readableServices[$id]); - } - } - - /** - * Adds a service instance or service descriptor (if it is already - * not added) - * - * @param mixed $service - * - * @throws Apache_Solr_InvalidArgumentException If service descriptor is not valid - */ - public function addWriteService($service) - { - if ($service instanceof Apache_Solr_Service) - { - $id = $this->_getServiceId($service->getHost(), $service->getPort(), $service->getPath()); - - $this->_writeableServices[$id] = $service; - } - else if (is_array($service)) - { - if (isset($service['host']) && isset($service['port']) && isset($service['path'])) - { - $id = $this->_getServiceId((string)$service['host'], (int)$service['port'], (string)$service['path']); - - $this->_writeableServices[$id] = $service; - } - else - { - throw new Apache_Solr_InvalidArgumentException('A Writeable Service description array does not have all required elements of host, port, and path'); - } - } - } - - /** - * Removes a service instance or descriptor from the available services - * - * @param mixed $service - * - * @throws Apache_Solr_InvalidArgumentException If service descriptor is not valid - */ - public function removeWriteService($service) - { - $id = ''; - - if ($service instanceof Apache_Solr_Service) - { - $id = $this->_getServiceId($service->getHost(), $service->getPort(), $service->getPath()); - } - else if (is_array($service)) - { - if (isset($service['host']) && isset($service['port']) && isset($service['path'])) - { - $id = $this->_getServiceId((string)$service['host'], (int)$service['port'], (string)$service['path']); - } - else - { - throw new Apache_Solr_InvalidArgumentException('A Readable Service description array does not have all required elements of host, port, and path'); - } - } - else if (is_string($service)) - { - $id = $service; - } - - if ($id && isset($this->_writeableServices[$id])) - { - unset($this->_writeableServices[$id]); - } - } - - /** - * Iterate through available read services and select the first with a ping - * that satisfies configured timeout restrictions (or the default) - * - * @return Apache_Solr_Service - * - * @throws Apache_Solr_NoServiceAvailableException If there are no read services that meet requirements - */ - protected function _selectReadService($forceSelect = false) - { - if (!$this->_currentReadService || !isset($this->_readableServices[$this->_currentReadService]) || $forceSelect) - { - if ($this->_currentReadService && isset($this->_readableServices[$this->_currentReadService]) && $forceSelect) - { - // we probably had a communication error, ping the current read service, remove it if it times out - if ($this->_readableServices[$this->_currentReadService]->ping($this->_readPingTimeout) === false) - { - $this->removeReadService($this->_currentReadService); - } - } - - if (count($this->_readableServices)) - { - // select one of the read services at random - $ids = array_keys($this->_readableServices); - - $id = $ids[rand(0, count($ids) - 1)]; - $service = $this->_readableServices[$id]; - - if (is_array($service)) - { - //convert the array definition to a client object - $service = new Apache_Solr_Service($service['host'], $service['port'], $service['path']); - $this->_readableServices[$id] = $service; - } - - $service->setCreateDocuments($this->_createDocuments); - $this->_currentReadService = $id; - } - else - { - throw new Apache_Solr_NoServiceAvailableException('No read services were available'); - } - } - - return $this->_readableServices[$this->_currentReadService]; - } - - /** - * Iterate through available write services and select the first with a ping - * that satisfies configured timeout restrictions (or the default) - * - * @return Apache_Solr_Service - * - * @throws Apache_Solr_NoServiceAvailableException If there are no write services that meet requirements - */ - protected function _selectWriteService($forceSelect = false) - { - if($this->_useBackoff) - { - return $this->_selectWriteServiceSafe($forceSelect); - } - - if (!$this->_currentWriteService || !isset($this->_writeableServices[$this->_currentWriteService]) || $forceSelect) - { - if ($this->_currentWriteService && isset($this->_writeableServices[$this->_currentWriteService]) && $forceSelect) - { - // we probably had a communication error, ping the current read service, remove it if it times out - if ($this->_writeableServices[$this->_currentWriteService]->ping($this->_writePingTimeout) === false) - { - $this->removeWriteService($this->_currentWriteService); - } - } - - if (count($this->_writeableServices)) - { - // select one of the read services at random - $ids = array_keys($this->_writeableServices); - - $id = $ids[rand(0, count($ids) - 1)]; - $service = $this->_writeableServices[$id]; - - if (is_array($service)) - { - //convert the array definition to a client object - $service = new Apache_Solr_Service($service['host'], $service['port'], $service['path']); - $this->_writeableServices[$id] = $service; - } - - $this->_currentWriteService = $id; - } - else - { - throw new Apache_Solr_NoServiceAvailableException('No write services were available'); - } - } - - return $this->_writeableServices[$this->_currentWriteService]; - } - - /** - * Iterate through available write services and select the first with a ping - * that satisfies configured timeout restrictions (or the default). The - * timeout period will increase until a connection is made or the limit is - * reached. This will allow for increased reliability with heavily loaded - * server(s). - * - * @return Apache_Solr_Service - * - * @throws Apache_Solr_NoServiceAvailableException If there are no write services that meet requirements - */ - - protected function _selectWriteServiceSafe($forceSelect = false) - { - if (!$this->_currentWriteService || !isset($this->_writeableServices[$this->_currentWriteService]) || $forceSelect) - { - if (count($this->_writeableServices)) - { - $backoff = $this->_defaultBackoff; - - do { - // select one of the read services at random - $ids = array_keys($this->_writeableServices); - - $id = $ids[rand(0, count($ids) - 1)]; - $service = $this->_writeableServices[$id]; - - if (is_array($service)) - { - //convert the array definition to a client object - $service = new Apache_Solr_Service($service['host'], $service['port'], $service['path']); - $this->_writeableServices[$id] = $service; - } - - $this->_currentWriteService = $id; - - $backoff *= $this->_backoffEscalation; - - if($backoff > $this->_backoffLimit) - { - throw new Apache_Solr_NoServiceAvailableException('No write services were available. All timeouts exceeded.'); - } - - } while($this->_writeableServices[$this->_currentWriteService]->ping($backoff) === false); - } - else - { - throw new Apache_Solr_NoServiceAvailableException('No write services were available'); - } - } - - return $this->_writeableServices[$this->_currentWriteService]; - } - - /** - * Set the create documents flag. This determines whether {@link Apache_Solr_Response} objects will - * parse the response and create {@link Apache_Solr_Document} instances in place. - * - * @param boolean $createDocuments - */ - public function setCreateDocuments($createDocuments) - { - $this->_createDocuments = (bool) $createDocuments; - - // set on current read service - if ($this->_currentReadService) - { - $service = $this->_selectReadService(); - $service->setCreateDocuments($createDocuments); - } - } - - /** - * Get the current state of teh create documents flag. - * - * @return boolean - */ - public function getCreateDocuments() - { - return $this->_createDocuments; - } - - /** - * Raw Add Method. Takes a raw post body and sends it to the update service. Post body - * should be a complete and well formed "add" xml document. - * - * @param string $rawPost - * @return Apache_Solr_Response - * - * @throws Apache_Solr_HttpTransportException If an error occurs during the service call - */ - public function add($rawPost) - { - $service = $this->_selectWriteService(); - - do - { - try - { - return $service->add($rawPost); - } - catch (Apache_Solr_HttpTransportException $e) - { - if ($e->getCode() != 0) //IF NOT COMMUNICATION ERROR - { - throw $e; - } - } - - $service = $this->_selectWriteService(true); - } while ($service); - - return false; - } - - /** - * Add a Solr Document to the index - * - * @param Apache_Solr_Document $document - * @param boolean $allowDups - * @param boolean $overwritePending - * @param boolean $overwriteCommitted - * @return Apache_Solr_Response - * - * @throws Apache_Solr_HttpTransportException If an error occurs during the service call - */ - public function addDocument(Apache_Solr_Document $document, $allowDups = false, $overwritePending = true, $overwriteCommitted = true) - { - $service = $this->_selectWriteService(); - - do - { - try - { - return $service->addDocument($document, $allowDups, $overwritePending, $overwriteCommitted); - } - catch (Apache_Solr_HttpTransportException $e) - { - if ($e->getCode() != 0) //IF NOT COMMUNICATION ERROR - { - throw $e; - } - } - - $service = $this->_selectWriteService(true); - } while ($service); - - return false; - } - - /** - * Add an array of Solr Documents to the index all at once - * - * @param array $documents Should be an array of Apache_Solr_Document instances - * @param boolean $allowDups - * @param boolean $overwritePending - * @param boolean $overwriteCommitted - * @return Apache_Solr_Response - * - * @throws Apache_Solr_HttpTransportException If an error occurs during the service call - */ - public function addDocuments($documents, $allowDups = false, $overwritePending = true, $overwriteCommitted = true) - { - $service = $this->_selectWriteService(); - - do - { - try - { - return $service->addDocuments($documents, $allowDups, $overwritePending, $overwriteCommitted); - } - catch (Apache_Solr_HttpTransportException $e) - { - if ($e->getCode() != 0) //IF NOT COMMUNICATION ERROR - { - throw $e; - } - } - - $service = $this->_selectWriteService(true); - } while ($service); - - return false; - } - - /** - * Send a commit command. Will be synchronous unless both wait parameters are set - * to false. - * - * @param boolean $waitFlush - * @param boolean $waitSearcher - * @return Apache_Solr_Response - * - * @throws Apache_Solr_HttpTransportException If an error occurs during the service call - */ - public function commit($optimize = true, $waitFlush = true, $waitSearcher = true, $timeout = 3600) - { - $service = $this->_selectWriteService(); - - do - { - try - { - return $service->commit($optimize, $waitFlush, $waitSearcher, $timeout); - } - catch (Apache_Solr_HttpTransportException $e) - { - if ($e->getCode() != 0) //IF NOT COMMUNICATION ERROR - { - throw $e; - } - } - - $service = $this->_selectWriteService(true); - } while ($service); - - return false; - } - - /** - * Raw Delete Method. Takes a raw post body and sends it to the update service. Body should be - * a complete and well formed "delete" xml document - * - * @param string $rawPost - * @param float $timeout Maximum expected duration of the delete operation on the server (otherwise, will throw a communication exception) - * @return Apache_Solr_Response - * - * @throws Apache_Solr_HttpTransportException If an error occurs during the service call - */ - public function delete($rawPost, $timeout = 3600) - { - $service = $this->_selectWriteService(); - - do - { - try - { - return $service->delete($rawPost, $timeout); - } - catch (Apache_Solr_HttpTransportException $e) - { - if ($e->getCode() != 0) //IF NOT COMMUNICATION ERROR - { - throw $e; - } - } - - $service = $this->_selectWriteService(true); - } while ($service); - - return false; - } - - /** - * Create a delete document based on document ID - * - * @param string $id - * @param boolean $fromPending - * @param boolean $fromCommitted - * @param float $timeout Maximum expected duration of the delete operation on the server (otherwise, will throw a communication exception) - * @return Apache_Solr_Response - * - * @throws Apache_Solr_HttpTransportException If an error occurs during the service call - */ - public function deleteById($id, $fromPending = true, $fromCommitted = true, $timeout = 3600) - { - $service = $this->_selectWriteService(); - - do - { - try - { - return $service->deleteById($id, $fromPending, $fromCommitted, $timeout); - } - catch (Apache_Solr_HttpTransportException $e) - { - if ($e->getCode() != 0) //IF NOT COMMUNICATION ERROR - { - throw $e; - } - } - - $service = $this->_selectWriteService(true); - } while ($service); - - return false; - } - - /** - * Create and post a delete document based on multiple document IDs. - * - * @param array $ids Expected to be utf-8 encoded strings - * @param boolean $fromPending - * @param boolean $fromCommitted - * @param float $timeout Maximum expected duration of the delete operation on the server (otherwise, will throw a communication exception) - * @return Apache_Solr_Response - * - * @throws Apache_Solr_HttpTransportException If an error occurs during the service call - */ - public function deleteByMultipleIds($ids, $fromPending = true, $fromCommitted = true, $timeout = 3600) - { - $service = $this->_selectWriteService(); - - do - { - try - { - return $service->deleteByMultipleId($ids, $fromPending, $fromCommitted, $timeout); - } - catch (Apache_Solr_HttpTransportException $e) - { - if ($e->getCode() != 0) //IF NOT COMMUNICATION ERROR - { - throw $e; - } - } - - $service = $this->_selectWriteService(true); - } while ($service); - - return false; - } - - /** - * Create a delete document based on a query and submit it - * - * @param string $rawQuery - * @param boolean $fromPending - * @param boolean $fromCommitted - * @param float $timeout Maximum expected duration of the delete operation on the server (otherwise, will throw a communication exception) - * @return Apache_Solr_Response - * - * @throws Apache_Solr_HttpTransportException If an error occurs during the service call - */ - public function deleteByQuery($rawQuery, $fromPending = true, $fromCommitted = true, $timeout = 3600) - { - $service = $this->_selectWriteService(); - - do - { - try - { - return $service->deleteByQuery($rawQuery, $fromPending, $fromCommitted, $timeout); - } - catch (Apache_Solr_HttpTransportException $e) - { - if ($e->getCode() != 0) //IF NOT COMMUNICATION ERROR - { - throw $e; - } - } - - $service = $this->_selectWriteService(true); - } while ($service); - - return false; - } - - /** - * Use Solr Cell to extract document contents. See {@link http://wiki.apache.org/solr/ExtractingRequestHandler} for information on how - * to use Solr Cell and what parameters are available. - * - * NOTE: when passing an Apache_Solr_Document instance, field names and boosts will automatically be prepended by "literal." and "boost." - * as appropriate. Any keys from the $params array will NOT be treated this way. Any mappings from the document will overwrite key / value - * pairs in the params array if they have the same name (e.g. you pass a "literal.id" key and value in your $params array but you also - * pass in a document isntance with an "id" field" - the document's value(s) will take precedence). - * - * @param string $file Path to file to extract data from - * @param array $params optional array of key value pairs that will be sent with the post (see Solr Cell documentation) - * @param Apache_Solr_Document $document optional document that will be used to generate post parameters (literal.* and boost.* params) - * @param string $mimetype optional mimetype specification (for the file being extracted) - * - * @return Apache_Solr_Response - * - * @throws Apache_Solr_InvalidArgumentException if $file, $params, or $document are invalid. - */ - public function extract($file, $params = array(), $document = null, $mimetype = 'application/octet-stream') - { - $service = $this->_selectWriteService(); - - do - { - try - { - return $service->extract($file, $params, $document, $mimetype); - } - catch (Apache_Solr_HttpTransportException $e) - { - if ($e->getCode() != 0) //IF NOT COMMUNICATION ERROR - { - throw $e; - } - } - - $service = $this->_selectWriteService(true); - } while ($service); - - return false; - } - - /** - * Use Solr Cell to extract document contents. See {@link http://wiki.apache.org/solr/ExtractingRequestHandler} for information on how - * to use Solr Cell and what parameters are available. - * - * NOTE: when passing an Apache_Solr_Document instance, field names and boosts will automatically be prepended by "literal." and "boost." - * as appropriate. Any keys from the $params array will NOT be treated this way. Any mappings from the document will overwrite key / value - * pairs in the params array if they have the same name (e.g. you pass a "literal.id" key and value in your $params array but you also - * pass in a document isntance with an "id" field" - the document's value(s) will take precedence). - * - * @param string $data Data that will be passed to Solr Cell - * @param array $params optional array of key value pairs that will be sent with the post (see Solr Cell documentation) - * @param Apache_Solr_Document $document optional document that will be used to generate post parameters (literal.* and boost.* params) - * @param string $mimetype optional mimetype specification (for the file being extracted) - * - * @return Apache_Solr_Response - * - * @throws Apache_Solr_InvalidArgumentException if $file, $params, or $document are invalid. - * - * @todo Should be using multipart/form-data to post parameter values, but I could not get my implementation to work. Needs revisisted. - */ - public function extractFromString($data, $params = array(), $document = null, $mimetype = 'application/octet-stream') - { - $service = $this->_selectWriteService(); - - do - { - try - { - return $service->extractFromString($data, $params, $document, $mimetype); - } - catch (Apache_Solr_HttpTransportException $e) - { - if ($e->getCode() != 0) //IF NOT COMMUNICATION ERROR - { - throw $e; - } - } - - $service = $this->_selectWriteService(true); - } while ($service); - - return false; - } - - /** - * Send an optimize command. Will be synchronous unless both wait parameters are set - * to false. - * - * @param boolean $waitFlush - * @param boolean $waitSearcher - * @param float $timeout Maximum expected duration of the optimize operation on the server (otherwise, will throw a communication exception) - * @return Apache_Solr_Response - * - * @throws Apache_Solr_HttpTransportException If an error occurs during the service call - */ - public function optimize($waitFlush = true, $waitSearcher = true, $timeout = 3600) - { - $service = $this->_selectWriteService(); - - do - { - try - { - return $service->optimize($waitFlush, $waitSearcher, $timeout); - } - catch (Apache_Solr_HttpTransportException $e) - { - if ($e->getCode() != 0) //IF NOT COMMUNICATION ERROR - { - throw $e; - } - } - - $service = $this->_selectWriteService(true); - } while ($service); - - return false; - } - - /** - * Simple Search interface - * - * @param string $query The raw query string - * @param int $offset The starting offset for result documents - * @param int $limit The maximum number of result documents to return - * @param array $params key / value pairs for query parameters, use arrays for multivalued parameters - * @param string $method The HTTP method (Apache_Solr_Service::METHOD_GET or Apache_Solr_Service::METHOD::POST) - * @return Apache_Solr_Response - * - * @throws Apache_Solr_HttpTransportException If an error occurs during the service call - */ - public function search($query, $offset = 0, $limit = 10, $params = array(), $method = Apache_Solr_Service::METHOD_GET) - { - $service = $this->_selectReadService(); - - do - { - try - { - return $service->search($query, $offset, $limit, $params, $method); - } - catch (Apache_Solr_HttpTransportException $e) - { - if ($e->getCode() != 0) //IF NOT COMMUNICATION ERROR - { - throw $e; - } - } - - $service = $this->_selectReadService(true); - } while ($service); - - return false; - } -} diff --git a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/COPYING b/wp-content/plugins/solr-for-wordpress/SolrPhpClient/COPYING deleted file mode 100644 index 01522fb13..000000000 --- a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/COPYING +++ /dev/null @@ -1,26 +0,0 @@ -Copyright (c) 2007-2011, Servigistics, Inc. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - * Neither the name of Servigistics, Inc. nor the names of - its contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE -LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -POSSIBILITY OF SUCH DAMAGE. diff --git a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/DocumentTest.php b/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/DocumentTest.php deleted file mode 100644 index 92261c8e7..000000000 --- a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/DocumentTest.php +++ /dev/null @@ -1,439 +0,0 @@ -<?php -/** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - Neither the name of Servigistics, Inc. nor the names of - * its contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - * @copyright Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com) - * @license http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD - * - * @package Apache - * @subpackage Solr - * @author Donovan Jimenez <djimenez@conduit-it.com> - */ - -/** - * Apache_Solr_Document Unit Test - */ -class Apache_Solr_DocumentTest extends PHPUnit_Framework_TestCase -{ - /** - * Fixture used for testing - * - * @var Apache_Solr_Document - */ - private $_fixture; - - /** - * Setup for the fixture before each unit test - part of test case API - */ - protected function setup() - { - $this->_fixture = new Apache_Solr_Document(); - } - - /** - * Teardown after each unit test - part of test case API - */ - protected function tearDown() - { - unset($this->_fixture); - } - - public function testDefaultStateAfterConstructor() - { - // document boost should be false - $this->assertFalse($this->_fixture->getBoost()); - - // document fields should be empty - $this->assertEquals(0, count($this->_fixture->getFieldNames())); - $this->assertEquals(0, count($this->_fixture->getFieldValues())); - $this->assertEquals(0, count($this->_fixture->getFieldBoosts())); - - // document iterator should be empty - $this->assertEquals(0, iterator_count($this->_fixture)); - } - - public function testSetAndGetField() - { - $field = 'field'; - $value = 'value'; - $boost = 0.5; - - // set the field - $this->_fixture->setField($field, $value, $boost); - - $result = $this->_fixture->getField($field); - - // check the array values - $this->assertTrue(is_array($result)); - $this->assertEquals($field, $result['name']); - $this->assertEquals($value, $result['value']); - $this->assertEquals($boost, $result['boost']); - } - - public function testGetFieldReturnsFalseForNonExistentField() - { - $this->assertFalse($this->_fixture->getField('field')); - } - - public function testMagicGetForFieldValues() - { - $field = 'field'; - $value = 'value'; - - $this->_fixture->setField($field, $value); - - // test the __get value - $this->assertEquals($value, $this->_fixture->{$field}); - } - - /** - * Added for issue #48 (http://code.google.com/p/solr-php-client/issues/detail?id=48) - */ - public function testMagicGetReturnsNullForNonExistentField() - { - $this->assertNull($this->_fixture->nonExistent); - } - - public function testMagicSetForFieldValues() - { - $field = 'field'; - $value = 'value'; - - // set field value with magic __set - $this->_fixture->{$field} = $value; - - $fieldArray = $this->_fixture->getField($field); - - // set values - $this->assertEquals($field, $fieldArray['name']); - $this->assertEquals($value, $fieldArray['value']); - $this->assertTrue($fieldArray['boost'] === false); - } - - public function testMagicIssetForNonExistentField() - { - $this->assertFalse(isset($this->_fixture->field)); - } - - public function testMagicIssetForExistingField() - { - $field = 'field'; - $this->_fixture->{$field} = 'value'; - $this->assertTrue(isset($this->_fixture->{$field})); - } - - public function testMagicUnsetForExistingField() - { - $field = 'field'; - - $this->_fixture->{$field} = 'value'; - - // now unset the field - unset($this->_fixture->{$field}); - - // now test that its unset - $this->assertFalse(isset($this->_fixture->{$field})); - } - - public function testMagicUnsetForNonExistingField() - { - $field = 'field'; - unset($this->_fixture->{$field}); - - // now test that it still does not exist - $this->assertFalse(isset($this->_fixture->{$field})); - } - - public function testSetAndGetFieldBoostWithPositiveNumberSetsBoost() - { - $field = 'field'; - $boost = 0.5; - - $this->_fixture->setFieldBoost($field, $boost); - - // test the field boost - $this->assertEquals($boost, $this->_fixture->getFieldBoost($field)); - } - - public function testSetAndGetFieldBoostWithZeroRemovesBoost() - { - $field = 'field'; - $boost = 0; - - $this->_fixture->setFieldBoost($field, $boost); - - // test the field boost - $this->assertTrue($this->_fixture->getFieldBoost($field) === false); - } - - public function testSetAndGetFieldBoostWithNegativeNumberRemovesBoost() - { - $field = 'field'; - $boost = -1; - - $this->_fixture->setFieldBoost($field, $boost); - - // test the field boost - $this->assertTrue($this->_fixture->getFieldBoost($field) === false); - } - - public function testSetAndGetFieldBoostWithNonNumberRemovesBoost() - { - $field = 'field'; - $boost = "i am not a number"; - - $this->_fixture->setFieldBoost($field, $boost); - - // test the field boost - $this->assertTrue($this->_fixture->getFieldBoost($field) === false); - } - - public function testSetAndGetBoostWithPositiveNumberSetsBoost() - { - $boost = 0.5; - $this->_fixture->setBoost($boost); - - // the boost should now be set - $this->assertEquals($boost, $this->_fixture->getBoost()); - } - - public function testSetAndGetBoostWithZeroRemovesBoost() - { - $this->_fixture->setBoost(0); - - // should be boolean false - $this->assertTrue($this->_fixture->getBoost() === false); - } - - public function testSetAndGetBoostWithNegativeNumberRemovesBoost() - { - $this->_fixture->setBoost(-1); - - // should be boolean false - $this->assertTrue($this->_fixture->getBoost() === false); - } - - public function testSetAndGetBoostWithNonNumberRemovesBoost() - { - $this->_fixture->setBoost("i am not a number"); - - // should be boolean false - $this->assertTrue($this->_fixture->getBoost() === false); - } - - public function testAddFieldCreatesMultiValueWhenFieldDoesNotExist() - { - $field = 'field'; - $value = 'value'; - - $this->_fixture->addField($field, $value); - - // check that value is an array with correct values - $fieldValue = $this->_fixture->{$field}; - - $this->assertTrue(is_array($fieldValue)); - $this->assertEquals(1, count($fieldValue)); - $this->assertEquals($value, $fieldValue[0]); - } - - /** - * setMultiValue has been deprecated and defers to addField - * - * @deprecated - */ - public function testSetMultiValueCreateMultiValueWhenFieldDoesNotExist() - { - $field = 'field'; - $value = 'value'; - - $this->_fixture->setMultiValue($field, $value); - - // check that value is an array with correct values - $fieldValue = $this->_fixture->{$field}; - - $this->assertTrue(is_array($fieldValue)); - $this->assertEquals(1, count($fieldValue)); - $this->assertEquals($value, $fieldValue[0]); - } - - public function testAddFieldCreatesMultiValueWhenFieldDoesExistAsSingleValue() - { - $field = 'field'; - $value1 = 'value1'; - $value2 = 'value2'; - - // set first value as singular value - $this->_fixture->{$field} = $value1; - - // add a second value with addField - $this->_fixture->addField($field, $value2); - - // check that value is an array with correct values - $fieldValue = $this->_fixture->{$field}; - - $this->assertTrue(is_array($fieldValue)); - $this->assertEquals(2, count($fieldValue)); - $this->assertEquals($value1, $fieldValue[0]); - $this->assertEquals($value2, $fieldValue[1]); - } - - /** - * setMultiValue has been deprecated and defers to addField - * - * @deprecated - */ - public function testSetMultiValueCreatesMultiValueWhenFieldDoesExistAsSingleValue() - { - $field = 'field'; - $value1 = 'value1'; - $value2 = 'value2'; - - // set first value as singular value - $this->_fixture->{$field} = $value1; - - // add a second value with addField - $this->_fixture->setMultiValue($field, $value2); - - // check that value is an array with correct values - $fieldValue = $this->_fixture->{$field}; - - $this->assertTrue(is_array($fieldValue)); - $this->assertEquals(2, count($fieldValue)); - $this->assertEquals($value1, $fieldValue[0]); - $this->assertEquals($value2, $fieldValue[1]); - } - - public function testAddFieldWithBoostSetsFieldBoost() - { - $field = 'field'; - $boost = 0.5; - - $this->_fixture->addField($field, 'value', $boost); - - // check the field boost - $this->assertEquals($boost, $this->_fixture->getFieldBoost($field)); - } - - public function testAddFieldWithBoostMultipliesWithAPreexistingBoost() - { - $field = 'field'; - $boost = 0.5; - - // set a field with a boost - $this->_fixture->setField($field, 'value1', $boost); - - // now add another value with the same boost - $this->_fixture->addField($field, 'value2', $boost); - - // new boost should be $boost * $boost - $this->assertEquals($boost * $boost, $this->_fixture->getFieldBoost($field)); - } - - public function testGetFieldNamesIsInitiallyEmpty() - { - $fieldNames = $this->_fixture->getFieldNames(); - - $this->assertTrue(empty($fieldNames)); - } - - public function testGetFieldNamesAfterFieldIsSetIsNotEmpty() - { - $field = 'field'; - - $this->_fixture->{$field} = 'value'; - $fieldNames = $this->_fixture->getFieldNames(); - - $this->assertTrue(!empty($fieldNames)); - $this->assertEquals(1, count($fieldNames)); - $this->assertEquals($field, $fieldNames[0]); - } - - public function testGetFieldValuesIsInitiallyEmpty() - { - $fieldValues = $this->_fixture->getFieldValues(); - - $this->assertTrue(empty($fieldValues)); - } - - public function testGetFieldValuessAfterFieldIsSetIsNotEmpty() - { - $value = 'value'; - - $this->_fixture->field = $value; - $fieldValues = $this->_fixture->getFieldValues(); - - $this->assertTrue(!empty($fieldValues)); - $this->assertEquals(1, count($fieldValues)); - $this->assertEquals($value, $fieldValues[0]); - } - - public function testGetIteratorAfterFieldValueIsSet() - { - $field = 'field'; - $value = 'value'; - - $this->_fixture->{$field} = $value; - - $itemCount = 0; - - foreach ($this->_fixture as $iteratedField => $iteratedValue) - { - ++$itemCount; - - // test field and value - $this->assertEquals($field, $iteratedField); - $this->assertEquals($value, $iteratedValue); - } - - // test number of iterations is 1 - $this->assertEquals(1, $itemCount); - } - - public function testClearReturnsDocumentToDefaultState() - { - // set the document boost - $this->_fixture->setBoost(0.5); - - // set a field - $this->_fixture->someField = "some value"; - - // clear the document to remove boost and fields - $this->_fixture->clear(); - - // document boost should now be false - $this->assertFalse($this->_fixture->getBoost()); - - // document fields should now be empty - $this->assertEquals(0, count($this->_fixture->getFieldNames())); - $this->assertEquals(0, count($this->_fixture->getFieldValues())); - $this->assertEquals(0, count($this->_fixture->getFieldBoosts())); - - // document iterator should now be empty - $this->assertEquals(0, iterator_count($this->_fixture)); - } -} \ No newline at end of file diff --git a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/HttpTransport/AbstractTest.php b/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/HttpTransport/AbstractTest.php deleted file mode 100644 index a16e8b6d9..000000000 --- a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/HttpTransport/AbstractTest.php +++ /dev/null @@ -1,208 +0,0 @@ -<?php -/** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - Neither the name of Servigistics, Inc. nor the names of - * its contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - * @copyright Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com) - * @license http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD - * - * @package Apache - * @subpackage Solr - * @author Donovan Jimenez <djimenez@conduit-it.com> - */ - -/** - * Apache_Solr_HttpTransport_Abstract Unit Tests - */ -abstract class Apache_Solr_HttpTransport_AbstractTest extends PHPUnit_Framework_TestCase -{ - const TIMEOUT = 2; - - // request our copyright file from googlecode for GET and HEAD - const GET_URL = "http://solr-php-client.googlecode.com/svn/trunk/COPYING"; - const GET_RESPONSE_MIME_TYPE = 'text/plain'; - const GET_RESPONSE_ENCODING = 'UTF-8'; - const GET_RESPONSE_MATCH = 'Copyright (c) '; - - // post to the issue list page with a search for 'meh' - const POST_URL = "http://code.google.com/p/solr-php-client/issues/list"; - const POST_DATA = "can=2&q=meh&colspec=ID+Type+Status+Priority+Milestone+Owner+Summary&cells=tiles"; - const POST_REQUEST_CONTENT_TYPE = 'application/x-www-form-urlencoded; charset=UTF-8'; - - const POST_RESPONSE_MIME_TYPE = 'text/html'; - const POST_RESPONSE_ENCODING = 'UTF-8'; - //const POST_RESPONSE_MATCH = 'not sure'; - - abstract public function getFixture(); - - public function testGetDefaultTimeoutWithDefaultConstructor() - { - $fixture = $this->getFixture(); - $timeout = $fixture->getDefaultTimeout(); - - $this->assertGreaterThan(0, $timeout); - } - - public function testGetDefaultTimeoutSetToSixtyForBadValues() - { - // first set our default_socket_timeout ini setting - $previousValue = ini_get('default_socket_timeout'); - ini_set('default_socket_timeout', 0); - - $fixture = $this->getFixture(); - $timeout = $fixture->getDefaultTimeout(); - - // reset timeout - ini_set('default_socket_timeout', $previousValue); - - $this->assertEquals(60, $timeout); - } - - public function testSetDefaultTimeout() - { - $newTimeout = 1234; - - $fixture = $this->getFixture(); - $fixture->setDefaultTimeout($newTimeout); - $timeout = $fixture->getDefaultTimeout(); - - $this->assertEquals($newTimeout, $timeout); - } - - public function testPerformGetRequest() - { - $fixture = $this->getFixture(); - $fixture->setDefaultTimeout(self::TIMEOUT); - - $response = $fixture->performGetRequest(self::GET_URL); - - $this->assertType('Apache_Solr_HttpTransport_Response', $response); - - $this->assertEquals(200, $response->getStatusCode(), 'Status code was not 200'); - $this->assertEquals(self::GET_RESPONSE_MIME_TYPE, $response->getMimeType(), 'mimetype was not correct'); - $this->assertEquals(self::GET_RESPONSE_ENCODING, $response->getEncoding(), 'character encoding was not correct'); - $this->assertStringStartsWith(self::GET_RESPONSE_MATCH, $response->getBody(), 'body did not start with match text'); - } - - public function testPerformGetRequestWithTimeout() - { - $fixture = $this->getFixture(); - $response = $fixture->performGetRequest(self::GET_URL, self::TIMEOUT); - - $this->assertType('Apache_Solr_HttpTransport_Response', $response); - - $this->assertEquals(200, $response->getStatusCode(), 'Status code was not 200'); - $this->assertEquals(self::GET_RESPONSE_MIME_TYPE, $response->getMimeType(), 'mimetype was not correct'); - $this->assertEquals(self::GET_RESPONSE_ENCODING, $response->getEncoding(), 'character encoding was not correct'); - $this->assertStringStartsWith(self::GET_RESPONSE_MATCH, $response->getBody(), 'body did not start with match text'); - } - - public function testPerformHeadRequest() - { - $fixture = $this->getFixture(); - $fixture->setDefaultTimeout(self::TIMEOUT); - - $response = $fixture->performHeadRequest(self::GET_URL); - - // we should get everything the same as a get, except the body - $this->assertType('Apache_Solr_HttpTransport_Response', $response); - - $this->assertEquals(200, $response->getStatusCode(), 'Status code was not 200'); - $this->assertEquals(self::GET_RESPONSE_MIME_TYPE, $response->getMimeType(), 'mimetype was not correct'); - $this->assertEquals(self::GET_RESPONSE_ENCODING, $response->getEncoding(), 'character encoding was not correct'); - $this->assertEquals("", $response->getBody(), 'body was not empty'); - } - - public function testPerformHeadRequestWithTimeout() - { - $fixture = $this->getFixture(); - $response = $fixture->performHeadRequest(self::GET_URL, self::TIMEOUT); - - // we should get everything the same as a get, except the body - $this->assertType('Apache_Solr_HttpTransport_Response', $response); - - $this->assertEquals(200, $response->getStatusCode(), 'Status code was not 200'); - $this->assertEquals(self::GET_RESPONSE_MIME_TYPE, $response->getMimeType(), 'mimetype was not correct'); - $this->assertEquals(self::GET_RESPONSE_ENCODING, $response->getEncoding(), 'character encoding was not correct'); - $this->assertEquals("", $response->getBody(), 'body was not empty'); - } - - public function testPerformPostRequest() - { - $fixture = $this->getFixture(); - $fixture->setDefaultTimeout(self::TIMEOUT); - - $response = $fixture->performPostRequest(self::POST_URL, self::POST_DATA, self::POST_REQUEST_CONTENT_TYPE); - - $this->assertType('Apache_Solr_HttpTransport_Response', $response); - - $this->assertEquals(200, $response->getStatusCode(), 'Status code was not 200'); - $this->assertEquals(self::POST_RESPONSE_MIME_TYPE, $response->getMimeType(), 'mimetype was not correct'); - $this->assertEquals(self::POST_RESPONSE_ENCODING, $response->getEncoding(), 'character encoding was not correct'); - //$this->assertStringStartsWith(self::POST_RESPONSE_MATCH, $response->getBody(), 'body did not start with match text'); - } - - public function testPerformPostRequestWithTimeout() - { - $fixture = $this->getFixture(); - $response = $fixture->performPostRequest(self::POST_URL, self::POST_DATA, self::POST_REQUEST_CONTENT_TYPE, self::TIMEOUT); - - $this->assertType('Apache_Solr_HttpTransport_Response', $response); - - $this->assertEquals(200, $response->getStatusCode(), 'Status code was not 200'); - $this->assertEquals(self::POST_RESPONSE_MIME_TYPE, $response->getMimeType(), 'mimetype was not correct'); - $this->assertEquals(self::POST_RESPONSE_ENCODING, $response->getEncoding(), 'character encoding was not correct'); - //$this->assertStringStartsWith(self::POST_RESPONSE_MATCH, $response->getBody(), 'body did not start with match text'); - } - - /** - * Test one session doing multiple requests in multiple orders - */ - public function testMultipleRequests() - { - // initial get request - $this->testPerformGetRequest(); - - // head following get - $this->testPerformHeadRequest(); - - // post following head - $this->testPerformPostRequest(); - - // get following post - $this->testPerformGetRequest(); - - // post following get - $this->testPerformPostRequest(); - - // head following post - $this->testPerformHeadRequest(); - - // get following post - $this->testPerformGetRequest(); - } -} \ No newline at end of file diff --git a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/HttpTransport/CurlNoReuseTest.php b/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/HttpTransport/CurlNoReuseTest.php deleted file mode 100644 index 0484dd4d3..000000000 --- a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/HttpTransport/CurlNoReuseTest.php +++ /dev/null @@ -1,53 +0,0 @@ -<?php -/** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - Neither the name of Servigistics, Inc. nor the names of - * its contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - * @copyright Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com) - * @license http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD - * - * @package Apache - * @subpackage Solr - * @author Donovan Jimenez <djimenez@conduit-it.com> - */ - -/** - * Apache_Solr_HttpTransport_CurlNoReuse Unit Tests - */ -class Apache_Solr_HttpTransport_CurlNoReuseTest extends Apache_Solr_HttpTransport_AbstractTest -{ - public function getFixture() - { - // ensure curl is enabled - if (!extension_loaded('curl')) - { - $this->markTestSkipped("curl module is not enabled"); - } - - return new Apache_Solr_HttpTransport_CurlNoReuse(); - } -} diff --git a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/HttpTransport/CurlTest.php b/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/HttpTransport/CurlTest.php deleted file mode 100644 index 070c164fe..000000000 --- a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/HttpTransport/CurlTest.php +++ /dev/null @@ -1,53 +0,0 @@ -<?php -/** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - Neither the name of Servigistics, Inc. nor the names of - * its contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - * @copyright Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com) - * @license http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD - * - * @package Apache - * @subpackage Solr - * @author Donovan Jimenez <djimenez@conduit-it.com> - */ - -/** - * Apache_Solr_HttpTransport_Curl Unit Tests - */ -class Apache_Solr_HttpTransport_CurlTest extends Apache_Solr_HttpTransport_AbstractTest -{ - public function getFixture() - { - // ensure curl is enabled - if (!extension_loaded('curl')) - { - $this->markTestSkipped("curl module is not enabled"); - } - - return new Apache_Solr_HttpTransport_Curl(); - } -} diff --git a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/HttpTransport/FileGetContentsTest.php b/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/HttpTransport/FileGetContentsTest.php deleted file mode 100644 index 2e4f8e90d..000000000 --- a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/HttpTransport/FileGetContentsTest.php +++ /dev/null @@ -1,53 +0,0 @@ -<?php -/** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - Neither the name of Servigistics, Inc. nor the names of - * its contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - * @copyright Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com) - * @license http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD - * - * @package Apache - * @subpackage Solr - * @author Donovan Jimenez <djimenez@conduit-it.com> - */ - -/** - * Apache_Solr_HttpTransport_FileGetContents Unit Tests - */ -class Apache_Solr_HttpTransport_FileGetContentsTest extends Apache_Solr_HttpTransport_AbstractTest -{ - public function getFixture() - { - // make sure allow_url_fopen is on - if (!ini_get("allow_url_fopen")) - { - $this->markTestSkipped("allow_url_fopen is not enabled"); - } - - return new Apache_Solr_HttpTransport_FileGetContents(); - } -} \ No newline at end of file diff --git a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/HttpTransport/ResponseTest.php b/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/HttpTransport/ResponseTest.php deleted file mode 100644 index f3c11273d..000000000 --- a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/HttpTransport/ResponseTest.php +++ /dev/null @@ -1,164 +0,0 @@ -<?php -/** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - Neither the name of Servigistics, Inc. nor the names of - * its contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - * @copyright Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com) - * @license http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD - * - * @package Apache - * @subpackage Solr - * @author Donovan Jimenez <djimenez@conduit-it.com> - */ - -/** - * Apache_Solr_HttpTransport_Response Unit Tests - */ -class Apache_Solr_HttpTransport_ResponseTest extends PHPUnit_Framework_TestCase -{ - // generated with the following query string: select?q=solr&wt=json - const STATUS_CODE_200 = 200; - const STATUS_MESSAGE_200 = "OK"; - const BODY_200 = '{"responseHeader":{"status":0,"QTime":0,"params":{"q":"solr","wt":"json"}},"response":{"numFound":0,"start":0,"docs":[]}}'; - const BODY_200_WITH_DOCUMENTS = '{"responseHeader":{"status":0,"QTime":0,"params":{"q":"*:*","wt":"json"}},"response":{"numFound":1,"start":0,"docs":[{"guid":"dev/2/products/45410/1236981","cit_domain":"products","cit_client":"2","cit_instance":"dev","cit_timestamp":"2010-10-06T18:16:51.573Z","product_code_t":["235784"],"product_id":[1236981],"dealer_id":[45410],"category_id":[1030],"manufacturer_id":[0],"vendor_id":[472],"catalog_id":[202]}]}}'; - const CONTENT_TYPE_200 = "text/plain; charset=utf-8"; - const MIME_TYPE_200 = "text/plain"; - const ENCODING_200 = "utf-8"; - - // generated with the following query string: select?qt=standad&q=solr&wt=json - // NOTE: the intentional mispelling of the standard in the qt parameter - const STATUS_CODE_400 = 400; - const STATUS_MESSAGE_400 = "Bad Request"; - const BODY_400 = '<html><head><title>Apache Tomcat/6.0.24 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 400 - unknown handler: standad</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>unknown handler: standad</u></p><p><b>description</b> <u>The request sent by the client was syntactically incorrect (unknown handler: standad).</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.24</h3></body></html>'; - const CONTENT_TYPE_400 = "text/html; charset=utf-8"; - const MIME_TYPE_400 = "text/html"; - const ENCODING_400 = "utf-8"; - - // generated with the following query string: select?q=solr&wt=json on a core that does not exist - const STATUS_CODE_404 = 404; - const STATUS_MESSAGE_404 = "Not Found"; - const BODY_404 = '<html><head><title>Apache Tomcat/6.0.24 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 404 - /solr/doesnotexist/select</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>/solr/doesnotexist/select</u></p><p><b>description</b> <u>The requested resource (/solr/doesnotexist/select) is not available.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.24</h3></body></html>'; - const CONTENT_TYPE_404 = "text/html; charset=utf-8"; - const MIME_TYPE_404 = "text/html"; - const ENCODING_404 = "utf-8"; - - public static function get0Response() - { - return new Apache_Solr_HttpTransport_Response(null, null, null); - } - - public static function get200Response() - { - return new Apache_Solr_HttpTransport_Response(self::STATUS_CODE_200, self::CONTENT_TYPE_200, self::BODY_200); - } - - public static function get200ResponseWithDocuments() - { - return new Apache_Solr_HttpTransport_Response(self::STATUS_CODE_200, self::CONTENT_TYPE_200, self::BODY_200_WITH_DOCUMENTS); - } - - public static function get400Response() - { - return new Apache_Solr_HttpTransport_Response(self::STATUS_CODE_400, self::CONTENT_TYPE_400, self::BODY_400); - } - - public static function get404Response() - { - return new Apache_Solr_HttpTransport_Response(self::STATUS_CODE_404, self::CONTENT_TYPE_404, self::BODY_404); - } - - public function testGetStatusCode() - { - $fixture = self::get200Response(); - - $statusCode = $fixture->getStatusCode(); - - $this->assertEquals(self::STATUS_CODE_200, $statusCode); - } - - public function testGetStatusMessage() - { - $fixture = self::get200Response(); - - $statusMessage = $fixture->getStatusMessage(); - - $this->assertEquals(self::STATUS_MESSAGE_200, $statusMessage); - } - - public function testGetStatusMessageWithUnknownCode() - { - $fixture = new Apache_Solr_HttpTransport_Response(499, null, null); - - $statusMessage = $fixture->getStatusMessage(); - $this->assertEquals("Unknown Status", $statusMessage); - } - - public function testGetBody() - { - $fixture = self::get200Response(); - - $body = $fixture->getBody(); - - $this->assertEquals(self::BODY_200, $body); - } - - public function testGetMimeType() - { - $fixture = self::get200Response(); - - $mimeType = $fixture->getMimeType(); - - $this->assertEquals(self::MIME_TYPE_200, $mimeType); - } - - public function testGetEncoding() - { - $fixture = self::get200Response(); - - $encoding = $fixture->getEncoding(); - - $this->assertEquals(self::ENCODING_200, $encoding); - } - - public function testGetStatusMessageWhenNotProvided() - { - // test 4 of the most common status code responses, probably don't need - // to test all the codes we have - - $fixture = new Apache_Solr_HttpTransport_Response(null, null, null, null, null); - $this->assertEquals("Communication Error", $fixture->getStatusMessage(), 'Did not get correct default status message for status code 0'); - - $fixture = new Apache_Solr_HttpTransport_Response(200, null, null, null, null); - $this->assertEquals("OK", $fixture->getStatusMessage(), 'Did not get correct default status message for status code 200'); - - $fixture = new Apache_Solr_HttpTransport_Response(400, null, null, null, null); - $this->assertEquals("Bad Request", $fixture->getStatusMessage(), 'Did not get correct default status message for status code 400'); - - $fixture = new Apache_Solr_HttpTransport_Response(404, null, null, null, null); - $this->assertEquals("Not Found", $fixture->getStatusMessage(), 'Did not get correct default status message for status code 404'); - } -} diff --git a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/HttpTransportExceptionTest.php b/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/HttpTransportExceptionTest.php deleted file mode 100644 index a0958753e..000000000 --- a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/HttpTransportExceptionTest.php +++ /dev/null @@ -1,58 +0,0 @@ -<?php -/** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - Neither the name of Servigistics, Inc. nor the names of - * its contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - * @copyright Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com) - * @license http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD - * - * @package Apache - * @subpackage Solr - * @author Donovan Jimenez <djimenez@conduit-it.com> - */ - -/** - * Apache_Solr_HttpTransportException Unit Tests - */ -class Apache_Solr_HttpTransportExceptionTest extends PHPUnit_Framework_TestCase -{ - /** - * @expectedException PHPUnit_Framework_Error - */ - public function testConstructorRequiresResponse() - { - $fixture = new Apache_Solr_HttpTransportException(); - } - - public function testGetResponse() - { - $response = Apache_Solr_ResponseTest::get0Response(); - $fixture = new Apache_Solr_HttpTransportException($response); - - $this->assertEquals($response, $fixture->getResponse()); - } -} diff --git a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/ResponseTest.php b/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/ResponseTest.php deleted file mode 100644 index 6ba4fe993..000000000 --- a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/ResponseTest.php +++ /dev/null @@ -1,194 +0,0 @@ -<?php -/** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - Neither the name of Servigistics, Inc. nor the names of - * its contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - * @copyright Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com) - * @license http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD - * - * @package Apache - * @subpackage Solr - * @author Donovan Jimenez <djimenez@conduit-it.com> - */ - -/** - * Apache_Solr_Response Unit Test - */ -class Apache_Solr_ResponseTest extends PHPUnit_Framework_TestCase -{ - static public function get0Response($createDocuments = true, $collapseSingleValueArrays = true) - { - return new Apache_Solr_Response(Apache_Solr_HttpTransport_ResponseTest::get0Response(), $createDocuments, $collapseSingleValueArrays); - } - - static public function get200Response($createDocuments = true, $collapseSingleValueArrays = true) - { - return new Apache_Solr_Response(Apache_Solr_HttpTransport_ResponseTest::get200Response(), $createDocuments, $collapseSingleValueArrays); - } - - static public function get200ResponseWithDocuments($createDocuments = true, $collapseSingleValueArrays = true) - { - return new Apache_Solr_Response(Apache_Solr_HttpTransport_ResponseTest::get200ResponseWithDocuments(), $createDocuments, $collapseSingleValueArrays); - } - - static public function get400Response($createDocuments = true, $collapseSingleValueArrays = true) - { - return new Apache_Solr_Response(Apache_Solr_HttpTransport_ResponseTest::get400Response(), $createDocuments, $collapseSingleValueArrays); - } - - static public function get404Response($createDocuments = true, $collapseSingleValueArrays = true) - { - return new Apache_Solr_Response(Apache_Solr_HttpTransport_ResponseTest::get404Response(), $createDocuments, $collapseSingleValueArrays); - } - - public function testConstuctorWithValidBodyAndHeaders() - { - $fixture = self::get200Response(); - - // check that we parsed the HTTP status correctly - $this->assertEquals(Apache_Solr_HttpTransport_ResponseTest::STATUS_CODE_200, $fixture->getHttpStatus()); - - // check that we received the body correctly - $this->assertEquals(Apache_Solr_HttpTransport_ResponseTest::BODY_200, $fixture->getRawResponse()); - - // check that our defaults are correct - $this->assertEquals(Apache_Solr_HttpTransport_ResponseTest::ENCODING_200, $fixture->getEncoding()); - $this->assertEquals(Apache_Solr_HttpTransport_ResponseTest::MIME_TYPE_200, $fixture->getType()); - } - - public function testConstructorWithBadBodyAndHeaders() - { - $fixture = self::get0Response(); - - // check that our defaults are correct - $this->assertEquals(0, $fixture->getHttpStatus()); - $this->assertEquals("UTF-8", $fixture->getEncoding()); - $this->assertEquals("text/plain", $fixture->getType()); - } - - public function testMagicGetWithValidBodyAndHeaders() - { - $fixture = self::get200Response(); - - // test top level gets - $this->assertType('stdClass', $fixture->responseHeader); - $this->assertEquals(0, $fixture->responseHeader->status); - $this->assertEquals(0, $fixture->responseHeader->QTime); - - $this->assertType('stdClass', $fixture->response); - $this->assertEquals(0, $fixture->response->numFound); - - $this->assertTrue(is_array($fixture->response->docs)); - $this->assertEquals(0, count($fixture->response->docs)); - } - - /** - * @expectedException Apache_Solr_ParserException - */ - public function testMagicGetWith0Response() - { - $fixture = self::get0Response(); - - // attempting to magic get a part of the response - // should throw a ParserException - $fixture->responseHeader; - - $this->fail("Expected Apache_Solr_ParserException was not raised"); - } - - /** - * @expectedException Apache_Solr_ParserException - */ - public function testMagicGetWith400Response() - { - $fixture = self::get400Response(); - - // attempting to magic get a part of the response - // should throw a ParserException - $fixture->responseHeader; - - $this->fail("Expected Apache_Solr_ParserException was not raised"); - } - - /** - * @expectedException Apache_Solr_ParserException - */ - public function testMagicGetWith404Response() - { - $fixture = self::get404Response(); - - // attempting to magic get a part of the response - // should throw a ParserException - $fixture->responseHeader; - - $this->fail("Expected Apache_Solr_ParserException was not raised"); - } - - public function testCreateDocuments() - { - $fixture = self::get200ResponseWithDocuments(); - - $this->assertTrue(count($fixture->response->docs) > 0, 'There are not 1 or more documents, cannot test'); - $this->assertType('Apache_Solr_Document', $fixture->response->docs[0], 'The first document is not of type Apache_Solr_Document'); - } - - public function testDontCreateDocuments() - { - $fixture = self::get200ResponseWithDocuments(false); - - $this->assertTrue(count($fixture->response->docs) > 0, 'There are not 1 or more documents, cannot test'); - $this->assertType('stdClass', $fixture->response->docs[0], 'The first document is not of type stdClass'); - } - - public function testGetHttpStatusMessage() - { - $fixture = self::get200Response(); - - $this->assertEquals("OK", $fixture->getHttpStatusMessage()); - } - - public function testMagicGetReturnsNullForUndefinedData() - { - $fixture = self::get200Response(); - - $this->assertNull($fixture->doesnotexist); - } - - public function testMagicIssetForDefinedProperty() - { - $fixture = self::get200Response(); - - $this->assertTrue(isset($fixture->responseHeader)); - } - - public function testMagicIssetForUndefinedProperty() - { - $fixture = self::get200Response(); - - $this->assertFalse(isset($fixture->doesnotexist)); - } -} diff --git a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/Service/BalancerTest.php b/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/Service/BalancerTest.php deleted file mode 100644 index df398749e..000000000 --- a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/Service/BalancerTest.php +++ /dev/null @@ -1,47 +0,0 @@ -<?php -/** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - Neither the name of Servigistics, Inc. nor the names of - * its contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - * @copyright Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com) - * @license http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD - * - * @package Apache - * @subpackage Solr - * @author Donovan Jimenez <djimenez@conduit-it.com> - */ - -/** - * Apache_Solr_Service_Balancer Unit Tests - */ -class Apache_Solr_Service_BalancerTest extends Apache_Solr_ServiceAbstractTest -{ - public function getFixture() - { - return new Apache_Solr_Service_Balancer(); - } -} \ No newline at end of file diff --git a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/ServiceAbstractTest.php b/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/ServiceAbstractTest.php deleted file mode 100644 index 0e8fdf526..000000000 --- a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/ServiceAbstractTest.php +++ /dev/null @@ -1,139 +0,0 @@ -<?php -/** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - Neither the name of Servigistics, Inc. nor the names of - * its contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - * @copyright Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com) - * @license http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD - * - * @package Apache - * @subpackage Solr - * @author Donovan Jimenez <djimenez@conduit-it.com> - */ - -/** - * Provides base funcationality test for both Apache_Solr_Service and the - * Apache_Solr_Service_Balancer classes. - */ -abstract class Apache_Solr_ServiceAbstractTest extends PHPUnit_Framework_TestCase -{ - /** - * Method that gets the appropriate instance for testing - */ - abstract public function getFixture(); - - /** - * @dataProvider testEscapeDataProvider - */ - public function testEscape($input, $expectedOutput) - { - $fixture = $this->getFixture(); - - $this->assertEquals($expectedOutput, $fixture->escape($input)); - } - - public function testEscapeDataProvider() - { - return array( - array( - "I should look the same", - "I should look the same" - ), - - array( - "(There) are: ^lots \\ && of spec!al charaters", - "\\(There\\) are\\: \\^lots \\\\ \\&& of spec\\!al charaters" - ) - ); - } - - /** - * @dataProvider testEscapePhraseDataProvider - */ - public function testEscapePhrase($input, $expectedOutput) - { - $fixture = $this->getFixture(); - - $this->assertEquals($expectedOutput, $fixture->escapePhrase($input)); - } - - public function testEscapePhraseDataProvider() - { - return array( - array( - "I'm a simple phrase", - "I'm a simple phrase" - ), - - array( - "I have \"phrase\" characters", - 'I have \\"phrase\\" characters' - ) - ); - } - - /** - * @dataProvider testPhraseDataProvider - */ - public function testPhrase($input, $expectedOutput) - { - $fixture = $this->getFixture(); - - $this->assertEquals($expectedOutput, $fixture->phrase($input)); - } - - public function testPhraseDataProvider() - { - return array( - array( - "I'm a simple phrase", - '"I\'m a simple phrase"' - ), - - array( - "I have \"phrase\" characters", - '"I have \\"phrase\\" characters"' - ) - ); - } - - public function testGetCreateDocumentWithDefaultConstructor() - { - $fixture = $this->getFixture(); - - $this->assertTrue($fixture->getCreateDocuments()); - } - - public function testSetCreateDocuments() - { - $fixture = $this->getFixture(); - - $fixture->setCreateDocuments(false); - - $this->assertFalse($fixture->getCreateDocuments()); - } -} \ No newline at end of file diff --git a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/ServiceTest.php b/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/ServiceTest.php deleted file mode 100644 index 4f0284e0f..000000000 --- a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/Apache/Solr/ServiceTest.php +++ /dev/null @@ -1,1119 +0,0 @@ -<?php -/** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - Neither the name of Servigistics, Inc. nor the names of - * its contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - * @copyright Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com) - * @license http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD - * - * @package Apache - * @subpackage Solr - * @author Donovan Jimenez <djimenez@conduit-it.com> - */ - -/** - * Apache_Solr_Service Unit Test - */ -class Apache_Solr_ServiceTest extends Apache_Solr_ServiceAbstractTest -{ - public function getFixture() - { - return new Apache_Solr_Service(); - } - - public function getMockHttpTransportInterface() - { - return $this->getMock( - 'Apache_Solr_HttpTransport_Interface', - array( - 'getDefaultTimeout', - 'setDefaultTimeout', - 'performGetRequest', - 'performHeadRequest', - 'performPostRequest', - ) - ); - } - - //================================================================// - // ATTEMPT TO MOVE THESE TO ServiceAbstractTest AT SOME POINT // - // Apache_Solr_Service_Balancer will need functions added // - //================================================================// - public function testGetHttpTransportWithDefaultConstructor() - { - $fixture = new Apache_Solr_Service(); - - $httpTransport = $fixture->getHttpTransport(); - - $this->assertInstanceOf('Apache_Solr_HttpTransport_Interface', $httpTransport, 'Default http transport does not implement interface'); - $this->assertInstanceOf('Apache_Solr_HttpTransport_FileGetContents', $httpTransport, 'Default http transport is not URL Wrapper implementation'); - } - - - public function testSetHttpTransport() - { - $newTransport = new Apache_Solr_HttpTransport_Curl(); - $fixture = new Apache_Solr_Service(); - - $fixture->setHttpTransport($newTransport); - $httpTransport = $fixture->getHttpTransport(); - - $this->assertInstanceOf('Apache_Solr_HttpTransport_Interface', $httpTransport); - $this->assertInstanceOf('Apache_Solr_HttpTransport_Curl', $httpTransport); - $this->assertEquals($newTransport, $httpTransport); - - } - - public function testSetHttpTransportWithConstructor() - { - $newTransport = new Apache_Solr_HttpTransport_Curl(); - - $fixture = new Apache_Solr_Service('localhost', 8180, '/solr/', $newTransport); - - $fixture->setHttpTransport($newTransport); - $httpTransport = $fixture->getHttpTransport(); - - $this->assertInstanceOf('Apache_Solr_HttpTransport_Interface', $httpTransport); - $this->assertInstanceOf('Apache_Solr_HttpTransport_Curl', $httpTransport); - $this->assertEquals($newTransport, $httpTransport); - } - - public function testGetCollapseSingleValueArraysWithDefaultConstructor() - { - $fixture = $this->getFixture(); - - $this->assertTrue($fixture->getCollapseSingleValueArrays()); - } - - public function testSetCollapseSingleValueArrays() - { - $fixture = $this->getFixture(); - - $fixture->setCollapseSingleValueArrays(false); - $this->assertFalse($fixture->getCollapseSingleValueArrays()); - } - - public function testGetNamedListTreatmetnWithDefaultConstructor() - { - $fixture = $this->getFixture(); - - $this->assertEquals(Apache_Solr_Service::NAMED_LIST_MAP, $fixture->getNamedListTreatment()); - } - - public function testSetNamedListTreatment() - { - $fixture = $this->getFixture(); - - $fixture->setNamedListTreatment(Apache_Solr_Service::NAMED_LIST_FLAT); - $this->assertEquals(Apache_Solr_Service::NAMED_LIST_FLAT, $fixture->getNamedListTreatment()); - - $fixture->setNamedListTreatment(Apache_Solr_Service::NAMED_LIST_MAP); - $this->assertEquals(Apache_Solr_Service::NAMED_LIST_MAP, $fixture->getNamedListTreatment()); - } - - /** - * @expectedException Apache_Solr_InvalidArgumentException - */ - public function testSetNamedListTreatmentInvalidArgumentException() - { - $fixture = $this->getFixture(); - - $fixture->setNamedListTreatment("broken"); - } - - //================================================================// - // END SECTION OF CODE THAT SHOULD BE MOVED // - // Apache_Solr_Service_Balancer will need functions added // - //================================================================// - - - public function testConstructorDefaultArguments() - { - $fixture = new Apache_Solr_Service(); - - $this->assertInstanceOf('Apache_Solr_Service', $fixture); - } - - public function testGetHostWithDefaultConstructor() - { - $fixture = new Apache_Solr_Service(); - $host = $fixture->getHost(); - - $this->assertEquals("localhost", $host); - } - - public function testSetHost() - { - $newHost = "example.com"; - - $fixture = new Apache_Solr_Service(); - $fixture->setHost($newHost); - $host = $fixture->getHost(); - - $this->assertEquals($newHost, $host); - } - - /** - * @expectedException Apache_Solr_InvalidArgumentException - */ - public function testSetEmptyHost() - { - $fixture = new Apache_Solr_Service(); - - // should throw an invalid argument exception - $fixture->setHost(""); - } - - public function testSetHostWithConstructor() - { - $newHost = "example.com"; - - $fixture = new Apache_Solr_Service($newHost); - $host = $fixture->getHost(); - - $this->assertEquals($newHost, $host); - } - - public function testGetPortWithDefaultConstructor() - { - $fixture = new Apache_Solr_Service(); - $port = $fixture->getPort(); - - $this->assertEquals(8180, $port); - } - - public function testSetPort() - { - $newPort = 12345; - - $fixture = new Apache_Solr_Service(); - $fixture->setPort($newPort); - $port = $fixture->getPort(); - - $this->assertEquals($newPort, $port); - } - - /** - * @expectedException Apache_Solr_InvalidArgumentException - */ - public function testSetPortWithInvalidArgument() - { - $fixture = new Apache_Solr_Service(); - - $fixture->setPort("broken"); - } - - public function testSetPortWithConstructor() - { - $newPort = 12345; - - $fixture = new Apache_Solr_Service('locahost', $newPort); - $port = $fixture->getPort(); - - $this->assertEquals($newPort, $port); - } - - public function testGetPathWithDefaultConstructor() - { - $fixture = new Apache_Solr_Service(); - $path = $fixture->getPath(); - - $this->assertEquals("/solr/", $path); - } - - public function testSetPath() - { - $newPath = "/new/path/"; - - $fixture = new Apache_Solr_Service(); - $fixture->setPath($newPath); - $path = $fixture->getPath(); - - $this->assertEquals($path, $newPath); - } - - public function testSetPathWillAddContainingSlashes() - { - $newPath = "new/path"; - $containedPath = "/{$newPath}/"; - - $fixture = new Apache_Solr_Service(); - $fixture->setPath($newPath); - $path = $fixture->getPath(); - - $this->assertEquals($containedPath, $path, 'setPath did not ensure propertly wrapped with slashes'); - } - - public function testSetPathWithConstructor() - { - $newPath = "/new/path/"; - - $fixture = new Apache_Solr_Service('localhost', 8180, $newPath); - $path = $fixture->getPath(); - - $this->assertEquals($newPath, $path); - } - - - public function testGetDefaultTimeoutCallsThroughToTransport() - { - $fixture = new Apache_Solr_Service(); - - // set a mock transport - $mockTransport = $this->getMockHttpTransportInterface(); - - // setup expected call - $mockTransport->expects($this->once())->method('getDefaultTimeout'); - - $fixture->setHttpTransport($mockTransport); - - $fixture->getDefaultTimeout(); - } - - public function testSetDefaultTimeoutCallsThroughToTransport() - { - $timeout = 12345; - $fixture = new Apache_Solr_Service(); - - // set a mock transport - $mockTransport = $this->getMockHttpTransportInterface(); - - // setup expected call - $mockTransport->expects($this->once())->method('setDefaultTimeout')->with($this->equalTo($timeout)); - - $fixture->setHttpTransport($mockTransport); - $fixture->setDefaultTimeout($timeout); - } - - public function testPing() - { - $expectedUrl = "http://localhost:8180/solr/admin/ping"; - $expectedTimeout = 2; - - // set a mock transport - $mockTransport = $this->getMockHttpTransportInterface(); - - // setup expected call and response - $mockTransport->expects($this->once()) - ->method('performHeadRequest') - ->with($this->equalTo($expectedUrl), $this->equalTo($expectedTimeout)) - ->will($this->returnValue(Apache_Solr_HttpTransport_ResponseTest::get200Response())); - - // call ping - $fixture = new Apache_Solr_service(); - $fixture->setHttpTransport($mockTransport); - $time = $fixture->ping(); - - $this->assertGreaterThan(0, $time); - } - - public function testPingReturnsFalse() - { - $expectedUrl = "http://localhost:8180/solr/admin/ping"; - $expectedTimeout = 2; - - // set a mock transport - $mockTransport = $this->getMockHttpTransportInterface(); - - // setup expected call and response - $mockTransport->expects($this->once()) - ->method('performHeadRequest') - ->with($this->equalTo($expectedUrl), $this->equalTo($expectedTimeout)) - ->will($this->returnValue(Apache_Solr_HttpTransport_ResponseTest::get0Response())); - - // call ping - $fixture = new Apache_Solr_service(); - $fixture->setHttpTransport($mockTransport); - - $this->assertFalse($fixture->ping()); - } - - public function testThreads() - { - $expectedUrl = "http://localhost:8180/solr/admin/threads?wt=json"; - $expectedTimeout = false; - - // set a mock transport - $mockTransport = $this->getMockHttpTransportInterface(); - - // setup expected call and response - $mockTransport->expects($this->once()) - ->method('performGetRequest') - ->with($this->equalTo($expectedUrl), $this->equalTo($expectedTimeout)) - ->will($this->returnValue(Apache_Solr_HttpTransport_ResponseTest::get200Response())); - - // call threads - $fixture = new Apache_Solr_service(); - $fixture->setHttpTransport($mockTransport); - $fixture->threads(); - } - - /** - * @expectedException Apache_Solr_HttpTransportException - */ - public function testThreads404() - { - $expectedUrl = "http://localhost:8180/solr/admin/threads?wt=json"; - $expectedTimeout = false; - - // set a mock transport - $mockTransport = $this->getMockHttpTransportInterface(); - - // setup expected call and response - $mockTransport->expects($this->once()) - ->method('performGetRequest') - ->with($this->equalTo($expectedUrl), $this->equalTo($expectedTimeout)) - ->will($this->returnValue(Apache_Solr_HttpTransport_ResponseTest::get404Response())); - - // call threads - $fixture = new Apache_Solr_service(); - $fixture->setHttpTransport($mockTransport); - $fixture->threads(); - } - - public function testAdd() - { - $postData = "does not have to be valid"; - - $expectedUrl = "http://localhost:8180/solr/update?wt=json"; - $expectedTimeout = false; - $expectedPostData = $postData; - $expectedContentType = "text/xml; charset=UTF-8"; // default for _sendRawPost - - // set a mock transport - $mockTransport = $this->getMockHttpTransportInterface(); - - // setup expected call and response - $mockTransport->expects($this->once()) - ->method('performPostRequest') - ->with($this->equalTo($expectedUrl), $this->equalTo($postData), $this->equalTo($expectedContentType), $this->equalTo($expectedTimeout)) - ->will($this->returnValue(Apache_Solr_HttpTransport_ResponseTest::get200Response())); - - // call add - $fixture = new Apache_Solr_service(); - $fixture->setHttpTransport($mockTransport); - $fixture->add($postData); - } - - /** - * @expectedException Apache_Solr_HttpTransportException - */ - public function testAdd400() - { - $postData = "does not have to be valid"; - - $expectedUrl = "http://localhost:8180/solr/update?wt=json"; - $expectedTimeout = false; - $expectedPostData = $postData; - $expectedContentType = "text/xml; charset=UTF-8"; // default for _sendRawPost - - // set a mock transport - $mockTransport = $this->getMockHttpTransportInterface(); - - // setup expected call and response - $mockTransport->expects($this->once()) - ->method('performPostRequest') - ->with($this->equalTo($expectedUrl), $this->equalTo($postData), $this->equalTo($expectedContentType), $this->equalTo($expectedTimeout)) - ->will($this->returnValue(Apache_Solr_HttpTransport_ResponseTest::get400Response())); - - // call add - $fixture = new Apache_Solr_service(); - $fixture->setHttpTransport($mockTransport); - $fixture->add($postData); - } - - public function testAddDocument() - { - // set a mock transport - $mockTransport = $this->getMockHttpTransportInterface(); - - // setup expected call and response - $mockTransport->expects($this->once()) - ->method('performPostRequest') - ->with( - // url - $this->equalTo('http://localhost:8180/solr/update?wt=json'), - - // raw post - $this->equalTo('<add allowDups="false" overwritePending="true" overwriteCommitted="true"><doc></doc></add>'), - - // content type - $this->equalTo('text/xml; charset=UTF-8'), - - // timeout - $this->equalTo(false) - ) - ->will($this->returnValue(Apache_Solr_HttpTransport_ResponseTest::get200Response())); - - $fixture = new Apache_Solr_service(); - $fixture->setHttpTransport($mockTransport); - - $document = new Apache_Solr_Document(); - - $fixture->addDocument($document); - } - - public function testAddDocumentWithNonDefaultParameters() - { - // set a mock transport - $mockTransport = $this->getMockHttpTransportInterface(); - - // setup expected call and response - $mockTransport->expects($this->once()) - ->method('performPostRequest') - ->with( - // url - $this->equalTo('http://localhost:8180/solr/update?wt=json'), - - // raw post - $this->equalTo('<add allowDups="true" overwritePending="false" overwriteCommitted="false" commitWithin="3600"><doc></doc></add>'), - - // content type - $this->equalTo('text/xml; charset=UTF-8'), - - // timeout - $this->equalTo(false) - ) - ->will($this->returnValue(Apache_Solr_HttpTransport_ResponseTest::get200Response())); - - $fixture = new Apache_Solr_service(); - $fixture->setHttpTransport($mockTransport); - - $document = new Apache_Solr_Document(); - - $fixture->addDocument($document, true, false, false, 3600); - } - - public function testAddDocumentWithFields() - { - // set a mock transport - $mockTransport = $this->getMockHttpTransportInterface(); - - // setup expected call and response - $mockTransport->expects($this->once()) - ->method('performPostRequest') - ->with( - // url - $this->equalTo('http://localhost:8180/solr/update?wt=json'), - - // raw post - $this->equalTo('<add allowDups="false" overwritePending="true" overwriteCommitted="true"><doc><field name="guid">global unique id</field><field name="field">value</field><field name="multivalue">value 1</field><field name="multivalue">value 2</field></doc></add>'), - - // content type - $this->equalTo('text/xml; charset=UTF-8'), - - // timeout - $this->equalTo(false) - ) - ->will($this->returnValue(Apache_Solr_HttpTransport_ResponseTest::get200Response())); - - $fixture = new Apache_Solr_service(); - $fixture->setHttpTransport($mockTransport); - - $document = new Apache_Solr_Document(); - - $document->guid = "global unique id"; - $document->field = "value"; - $document->multivalue = array("value 1", "value 2"); - - $fixture->addDocument($document); - } - - public function testAddDocumentWithFieldBoost() - { - // set a mock transport - $mockTransport = $this->getMockHttpTransportInterface(); - - // setup expected call and response - $mockTransport->expects($this->once()) - ->method('performPostRequest') - ->with( - // url - $this->equalTo('http://localhost:8180/solr/update?wt=json'), - - // raw post - $this->equalTo('<add allowDups="false" overwritePending="true" overwriteCommitted="true"><doc><field name="guid">global unique id</field><field name="field" boost="2">value</field><field name="multivalue" boost="3">value 1</field><field name="multivalue">value 2</field></doc></add>'), - - // content type - $this->equalTo('text/xml; charset=UTF-8'), - - // timeout - $this->equalTo(false) - ) - ->will($this->returnValue(Apache_Solr_HttpTransport_ResponseTest::get200Response())); - - $fixture = new Apache_Solr_service(); - $fixture->setHttpTransport($mockTransport); - - $document = new Apache_Solr_Document(); - - $document->guid = "global unique id"; - - $document->field = "value"; - $document->setFieldBoost('field', 2); - - $document->multivalue = array("value 1", "value 2"); - $document->setFieldBoost('multivalue', 3); - - $fixture->addDocument($document); - } - - public function testAddDocumentWithDocumentBoost() - { - // set a mock transport - $mockTransport = $this->getMockHttpTransportInterface(); - - // setup expected call and response - $mockTransport->expects($this->once()) - ->method('performPostRequest') - ->with( - // url - $this->equalTo('http://localhost:8180/solr/update?wt=json'), - - // raw post - $this->equalTo('<add allowDups="false" overwritePending="true" overwriteCommitted="true"><doc boost="2"><field name="guid">global unique id</field><field name="field">value</field></doc></add>'), - - // content type - $this->equalTo('text/xml; charset=UTF-8'), - - // timeout - $this->equalTo(false) - ) - ->will($this->returnValue(Apache_Solr_HttpTransport_ResponseTest::get200Response())); - - $fixture = new Apache_Solr_service(); - $fixture->setHttpTransport($mockTransport); - - $document = new Apache_Solr_Document(); - $document->setBoost(2); - - $document->guid = "global unique id"; - $document->field = "value"; - - $fixture->addDocument($document); - } - - public function testAddDocuments() - { - // set a mock transport - $mockTransport = $this->getMockHttpTransportInterface(); - - // setup expected call and response - $mockTransport->expects($this->once()) - ->method('performPostRequest') - ->with( - // url - $this->equalTo('http://localhost:8180/solr/update?wt=json'), - - // raw post - $this->equalTo('<add allowDups="false" overwritePending="true" overwriteCommitted="true"><doc></doc><doc></doc></add>'), - - // content type - $this->equalTo('text/xml; charset=UTF-8'), - - // timeout - $this->equalTo(false) - ) - ->will($this->returnValue(Apache_Solr_HttpTransport_ResponseTest::get200Response())); - - $fixture = new Apache_Solr_service(); - $fixture->setHttpTransport($mockTransport); - - $documents = array( - new Apache_Solr_Document(), - new Apache_Solr_Document() - ); - - $fixture->addDocuments($documents); - } - - public function testAddDocumentsWithNonDefaultParameters() - { - // set a mock transport - $mockTransport = $this->getMockHttpTransportInterface(); - - // setup expected call and response - $mockTransport->expects($this->once()) - ->method('performPostRequest') - ->with( - // url - $this->equalTo('http://localhost:8180/solr/update?wt=json'), - - // raw post - $this->equalTo('<add allowDups="true" overwritePending="false" overwriteCommitted="false" commitWithin="3600"><doc></doc><doc></doc></add>'), - - // content type - $this->equalTo('text/xml; charset=UTF-8'), - - // timeout - $this->equalTo(false) - ) - ->will($this->returnValue(Apache_Solr_HttpTransport_ResponseTest::get200Response())); - - $fixture = new Apache_Solr_service(); - $fixture->setHttpTransport($mockTransport); - - $documents = array( - new Apache_Solr_Document(), - new Apache_Solr_Document() - ); - - $fixture->addDocuments($documents, true, false, false, 3600); - } - - public function testCommit() - { - // set a mock transport - $mockTransport = $this->getMockHttpTransportInterface(); - - // setup expected call and response - $mockTransport->expects($this->once()) - ->method('performPostRequest') - ->with( - // url - $this->equalTo('http://localhost:8180/solr/update?wt=json'), - - // raw post - $this->equalTo('<commit expungeDeletes="false" waitFlush="true" waitSearcher="true" />'), - - // content type - $this->equalTo('text/xml; charset=UTF-8'), - - // timeout - $this->equalTo(3600) - ) - ->will($this->returnValue(Apache_Solr_HttpTransport_ResponseTest::get200Response())); - - $fixture = new Apache_Solr_Service(); - $fixture->setHttpTransport($mockTransport); - - $fixture->commit(); - } - - public function testCommitWithNonDefaultParameters() - { - // set a mock transport - $mockTransport = $this->getMockHttpTransportInterface(); - - // setup expected call and response - $mockTransport->expects($this->once()) - ->method('performPostRequest') - ->with( - // url - $this->equalTo('http://localhost:8180/solr/update?wt=json'), - - // raw post - $this->equalTo('<commit expungeDeletes="true" waitFlush="false" waitSearcher="false" />'), - - // content type - $this->equalTo('text/xml; charset=UTF-8'), - - // timeout - $this->equalTo(7200) - ) - ->will($this->returnValue(Apache_Solr_HttpTransport_ResponseTest::get200Response())); - - $fixture = new Apache_Solr_Service(); - $fixture->setHttpTransport($mockTransport); - - $fixture->commit(true, false, false, 7200); - } - - public function testDelete() - { - $postData = "does not have to be valid"; - - $expectedUrl = "http://localhost:8180/solr/update?wt=json"; - $expectedTimeout = 3600; // default for delete - $expectedPostData = $postData; - $expectedContentType = "text/xml; charset=UTF-8"; // default for _sendRawPost - - // set a mock transport - $mockTransport = $this->getMockHttpTransportInterface(); - - // setup expected call and response - $mockTransport->expects($this->once()) - ->method('performPostRequest') - ->with($this->equalTo($expectedUrl), $this->equalTo($postData), $this->equalTo($expectedContentType), $this->equalTo($expectedTimeout)) - ->will($this->returnValue(Apache_Solr_HttpTransport_ResponseTest::get200Response())); - - // call add - $fixture = new Apache_Solr_service(); - $fixture->setHttpTransport($mockTransport); - $fixture->delete($postData); - } - - public function testDeleteById() - { - // set a mock transport - $mockTransport = $this->getMockHttpTransportInterface(); - - // setup expected call and response - $mockTransport->expects($this->once()) - ->method('performPostRequest') - ->will($this->returnValue(Apache_Solr_HttpTransport_ResponseTest::get200Response())); - - $fixture = new Apache_Solr_Service(); - $fixture->setHttpTransport($mockTransport); - - $fixture->deleteById("does not exist"); - } - - public function testDeleteByMultipleIds() - { - // set a mock transport - $mockTransport = $this->getMockHttpTransportInterface(); - - // setup expected call and response - $mockTransport->expects($this->once()) - ->method('performPostRequest') - ->will($this->returnValue(Apache_Solr_HttpTransport_ResponseTest::get200Response())); - - $fixture = new Apache_Solr_Service(); - $fixture->setHttpTransport($mockTransport); - - $fixture->deleteByMultipleIds(array(1, 2, 3)); - } - - public function testDeleteByQuery() - { - // set a mock transport - $mockTransport = $this->getMockHttpTransportInterface(); - - // setup expected call and response - $mockTransport->expects($this->once()) - ->method('performPostRequest') - ->will($this->returnValue(Apache_Solr_HttpTransport_ResponseTest::get200Response())); - - $fixture = new Apache_Solr_Service(); - $fixture->setHttpTransport($mockTransport); - - $fixture->deleteByQuery("*:*"); - } - - public function testExtracts() - { - $extractFile = __FILE__; - - $expectedUrl = "http://localhost:8180/solr/update/extract?resource.name=ServiceTest.php&wt=json&json.nl=map"; - $expectedPostData = file_get_contents($extractFile); - $expectedContentType = 'application/octet-stream'; // default for extract - $expectedTimeout = false; - - // set a mock transport - $mockTransport = $this->getMockHttpTransportInterface(); - - // setup expected call and response - $mockTransport->expects($this->once()) - ->method('performPostRequest') - ->with($this->equalTo($expectedUrl), $this->equalTo($expectedPostData), $this->equalTo($expectedContentType), $this->equalTo($expectedTimeout)) - ->will($this->returnValue(Apache_Solr_HttpTransport_ResponseTest::get200Response())); - - $fixture = new Apache_Solr_Service(); - $fixture->setHttpTransport($mockTransport); - - $fixture->extract($extractFile); - } - - /** - * @expectedException Apache_Solr_InvalidArgumentException - */ - public function testExtractWithInvalidParams() - { - $extractFile = __FILE__; - - // set a mock transport - $mockTransport = $this->getMockHttpTransportInterface(); - - $fixture = new Apache_Solr_Service(); - $fixture->setHttpTransport($mockTransport); - - $fixture->extract($extractFile, "invalid"); - } - - /** - * @expectedException Apache_Solr_InvalidArgumentException - */ - public function testExtractFromStringWithInvalidParams() - { - $extractFileData = "does not matter what it is"; - - // set a mock transport - $mockTransport = $this->getMockHttpTransportInterface(); - - $fixture = new Apache_Solr_Service(); - $fixture->setHttpTransport($mockTransport); - - $fixture->extractFromString($extractFileData, "invalid"); - } - - public function testExtractsWithNullParams() - { - $extractFile = __FILE__; - - $expectedUrl = "http://localhost:8180/solr/update/extract?resource.name=ServiceTest.php&wt=json&json.nl=map"; - $expectedPostData = file_get_contents($extractFile); - $expectedContentType = 'application/octet-stream'; // default for extract - $expectedTimeout = false; - - // set a mock transport - $mockTransport = $this->getMockHttpTransportInterface(); - - // setup expected call and response - $mockTransport->expects($this->once()) - ->method('performPostRequest') - ->with($this->equalTo($expectedUrl), $this->equalTo($expectedPostData), $this->equalTo($expectedContentType), $this->equalTo($expectedTimeout)) - ->will($this->returnValue(Apache_Solr_HttpTransport_ResponseTest::get200Response())); - - $fixture = new Apache_Solr_Service(); - $fixture->setHttpTransport($mockTransport); - - $fixture->extract($extractFile, null); - } - - /** - * @expectedException Apache_Solr_InvalidArgumentException - */ - public function testExtractWithEmptyFile() - { - $extractFile = "iDontExist.txt"; - - // set a mock transport - $mockTransport = $this->getMockHttpTransportInterface(); - - $fixture = new Apache_Solr_Service(); - $fixture->setHttpTransport($mockTransport); - - $fixture->extract($extractFile); - } - - public function testExtractsWithDocument() - { - $extractFile = __FILE__; - - $expectedUrl = "http://localhost:8180/solr/update/extract?resource.name=ServiceTest.php&wt=json&json.nl=map&boost.field=2&literal.field=literal+value"; - $expectedPostData = file_get_contents($extractFile); - $expectedContentType = 'application/octet-stream'; // default for extract - $expectedTimeout = false; - - // set a mock transport - $mockTransport = $this->getMockHttpTransportInterface(); - - // setup expected call and response - $mockTransport->expects($this->once()) - ->method('performPostRequest') - ->with($this->equalTo($expectedUrl), $this->equalTo($expectedPostData), $this->equalTo($expectedContentType), $this->equalTo($expectedTimeout)) - ->will($this->returnValue(Apache_Solr_HttpTransport_ResponseTest::get200Response())); - - $fixture = new Apache_Solr_Service(); - $fixture->setHttpTransport($mockTransport); - - $literals = new Apache_Solr_Document(); - $literals->field = "literal value"; - $literals->setFieldBoost('field', 2); - - $fixture->extract($extractFile, null, $literals); - } - - public function testExtractWithUrlDefers() - { - $extractUrl = "http://example.com"; - - $expectedUrl = "http://localhost:8180/solr/update/extract?resource.name=http%3A%2F%2Fexample.com&wt=json&json.nl=map"; - $expectedPostData = Apache_Solr_HttpTransport_ResponseTest::BODY_200; - $expectedContentType = 'application/octet-stream'; // default for extract - $expectedTimeout = false; - - // set a mock transport - $mockTransport = $this->getMockHttpTransportInterface(); - - // setup expected call and response - $mockTransport->expects($this->once()) - ->method('performGetRequest') - ->with( - $this->equalTo($extractUrl) - ) - ->will($this->returnValue(Apache_Solr_HttpTransport_ResponseTest::get200Response())); - - $mockTransport->expects($this->once()) - ->method('performPostRequest') - ->with( - $this->equalTo($expectedUrl), - $this->equalTo($expectedPostData), - $this->equalTo($expectedContentType), - $this->equalTo($expectedTimeout) - ) - ->will($this->returnValue(Apache_Solr_HttpTransport_ResponseTest::get200Response())); - - $fixture = new Apache_Solr_Service(); - $fixture->setHttpTransport($mockTransport); - - $fixture->extract($extractUrl); - } - - public function testExtractFromUrl() - { - $extractUrl = "http://example.com"; - - $expectedUrl = "http://localhost:8180/solr/update/extract?resource.name=http%3A%2F%2Fexample.com&wt=json&json.nl=map"; - $expectedPostData = Apache_Solr_HttpTransport_ResponseTest::BODY_200; - $expectedContentType = 'application/octet-stream'; // default for extract - $expectedTimeout = false; - - // set a mock transport - $mockTransport = $this->getMockHttpTransportInterface(); - - // setup expected call and response - $mockTransport->expects($this->once()) - ->method('performGetRequest') - ->with( - $this->equalTo($extractUrl) - ) - ->will($this->returnValue(Apache_Solr_HttpTransport_ResponseTest::get200Response())); - - $mockTransport->expects($this->once()) - ->method('performPostRequest') - ->with( - $this->equalTo($expectedUrl), - $this->equalTo($expectedPostData), - $this->equalTo($expectedContentType), - $this->equalTo($expectedTimeout) - ) - ->will($this->returnValue(Apache_Solr_HttpTransport_ResponseTest::get200Response())); - - $fixture = new Apache_Solr_Service(); - $fixture->setHttpTransport($mockTransport); - - $fixture->extractFromUrl($extractUrl); - } - - /** - * @expectedException Apache_Solr_InvalidArgumentException - */ - public function testExtractFromUrlWithInvalidParams() - { - $extractUrl = "http://example.com"; - - // set a mock transport - $mockTransport = $this->getMockHttpTransportInterface(); - - $fixture = new Apache_Solr_Service(); - $fixture->setHttpTransport($mockTransport); - - $fixture->extractFromUrl($extractUrl, "invalid"); - } - - public function testOptimize() - { - // set a mock transport - $mockTransport = $this->getMockHttpTransportInterface(); - - // setup expected call and response - $mockTransport->expects($this->once()) - ->method('performPostRequest') - ->will($this->returnValue(Apache_Solr_HttpTransport_ResponseTest::get200Response())); - - $fixture = new Apache_Solr_Service(); - $fixture->setHttpTransport($mockTransport); - - $fixture->optimize(); - } - - public function testSearch() - { - // set a mock transport - $mockTransport = $this->getMockHttpTransportInterface(); - - // setup expected call and response - $mockTransport->expects($this->once()) - ->method('performGetRequest') - ->will($this->returnValue(Apache_Solr_HttpTransport_ResponseTest::get200Response())); - - $fixture = new Apache_Solr_service(); - $fixture->setHttpTransport($mockTransport); - - $fixture->search("solr"); - } - - /** - * @expectedException Apache_Solr_InvalidArgumentException - */ - public function testSearchWithInvalidParams() - { - // set a mock transport - $mockTransport = $this->getMockHttpTransportInterface(); - - $fixture = new Apache_Solr_service(); - $fixture->setHttpTransport($mockTransport); - - $fixture->search("solr", 0, 10, "invalid"); - - $this->fail("Should have through InvalidArgumentException"); - } - - public function testSearchWithEmptyParams() - { - // set a mock transport - $mockTransport = $this->getMockHttpTransportInterface(); - - // setup expected call and response - $mockTransport->expects($this->once()) - ->method('performGetRequest') - ->will($this->returnValue(Apache_Solr_HttpTransport_ResponseTest::get200Response())); - - $fixture = new Apache_Solr_service(); - $fixture->setHttpTransport($mockTransport); - - $fixture->search("solr", 0, 10, null); - } - - public function testSearchWithPostMethod() - { - // set a mock transport - $mockTransport = $this->getMockHttpTransportInterface(); - - // setup expected call and response - $mockTransport->expects($this->once()) - ->method('performPostRequest') - ->will($this->returnValue(Apache_Solr_HttpTransport_ResponseTest::get200Response())); - - $fixture = new Apache_Solr_service(); - $fixture->setHttpTransport($mockTransport); - - $fixture->search("solr", 0, 10, array(), Apache_Solr_Service::METHOD_POST); - } - - /** - * @expectedException Apache_Solr_InvalidArgumentException - */ - public function testSearchWithInvalidMethod() - { - $fixture = new Apache_Solr_service(); - - $fixture->search("solr", 0, 10, array(), "INVALID METHOD"); - } -} \ No newline at end of file diff --git a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/README b/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/README deleted file mode 100644 index 39ede2e94..000000000 --- a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/README +++ /dev/null @@ -1,20 +0,0 @@ -Use the run.php script included in this directory to run all unit tests for the -Solr PHP Client library. Your system will require phpunit PEAR package - which -you can get install instructions for at: - -http://www.phpunit.de/ - -To generate the code coverage report, you will also need the XDebug pecl package -installed, typically this can be done with a simple: - -pecl install xdebug - -If you need more information on installation, then please see the official website: - -http://www.xdebug.org - -The scripts, configuration, and test files in this directory have been confirmed to -work with the following versions: - -phpunit: 3.3.16 -xdebug: 2.0.4 \ No newline at end of file diff --git a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/phpunit.bootstrap.inc b/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/phpunit.bootstrap.inc deleted file mode 100644 index 237a0ec13..000000000 --- a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/phpunit.bootstrap.inc +++ /dev/null @@ -1,28 +0,0 @@ -<?php - -// set error reporting high -error_reporting(E_ALL | E_STRICT); - -// make sure we see them -ini_set('display_errors', 'On'); - -// make sure current directory and class directories are on include path -// this is necessary for auto load to work -set_include_path( - // distribution files (where the zip / tgz is unpacked) - dirname(dirname(__FILE__)) . PATH_SEPARATOR . - - // test file directory "tests" - dirname(__FILE__) . PATH_SEPARATOR . - - // current include path (for PHPUnit, etc.) - get_include_path() -); - -// set up an autoload for Zend / Pear style class loading -spl_autoload_register( - function($class) - { - include(str_replace("_", DIRECTORY_SEPARATOR, $class) . ".php"); - } -); \ No newline at end of file diff --git a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/phpunit.xml b/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/phpunit.xml deleted file mode 100644 index 05df4133c..000000000 --- a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/phpunit.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<phpunit bootstrap="phpunit.bootstrap.inc" colors="true"> - <logging> - <log type="coverage-html" target="coverage-report" charset="UTF-8"/> - <!--<log type="testdox-text" target="testdox.txt" charset="UTF-8"/>--> - </logging> - <filter> - <whitelist> - <directory suffix=".php">../Apache</directory> - <exclude> - <file>./run.php</file> - </exclude> - </whitelist> - </filter> -</phpunit> diff --git a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/run.php b/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/run.php deleted file mode 100755 index b7445481b..000000000 --- a/wp-content/plugins/solr-for-wordpress/SolrPhpClient/tests/run.php +++ /dev/null @@ -1,42 +0,0 @@ -#! /usr/bin/php -<?php -/** - * Copyright (c) 2007-2010, Conduit Internet Technologies, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - Neither the name of Conduit Internet Technologies, Inc. nor the names of - * its contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -// make sure the working directory is correct (parent directory) -// phpunit will use it to include our configuration files and find -// the following specified test suite -chdir(dirname(__FILE__)); - -// run phpunit - will automatically use ./phpunit.xml for configuration -// that configuration file points to a bootstrap that will include our test suite -passthru("phpunit ."); - -// extra newline so our next prompt isn't stuck appended to the output -echo "\n"; diff --git a/wp-content/plugins/solr-for-wordpress/readme.txt b/wp-content/plugins/solr-for-wordpress/readme.txt deleted file mode 100644 index 47027c20c..000000000 --- a/wp-content/plugins/solr-for-wordpress/readme.txt +++ /dev/null @@ -1,146 +0,0 @@ -=== Solr for WordPress === -Contributors: mattweber -Author URI: http://www.mattweber.org -Plugin URI: https://github.com/mattweber/solr-for-wordpress -Donate link: http://www.mattweber.org -Tags: solr, search, search results, search integration, custom search -Requires at least: 3.0 -Tested up to: 3.2.1 -Stable tag: 0.5.1 - -A WordPress plugin that replaces the default WordPress search with Solr. - -== Description == - -A WordPress plugin that replaces the default WordPress search with Solr. Features include: - -* Index pages and posts -* Enable faceting on fields such as tags, categories, author, and page type. -* Indexing and faceting on custom fields -* Multisite support -* Treat the category facet as a taxonomy -* Add special template tags so you can create your own custom result pages to match your theme. -* Completely replaces default WordPress search, just install and configure. -* Completely integrated into default WordPress theme and search widget. -* Configuration options allow you to select pages to ignore, features to enable/disable, and what type of result information you want output. -* i18n Support -* Multi server/core support - - Note that this plugin requires you to have an instance of Solr using a schema with the following fields: id, permalink, title, content, numcomments, categories, categoriessrch, tags, tagssrch, author, type, and text. The facet fields (categories, tags, author, and type) should be string fields. You can make tagssrch and categoriessrch of any type you want as they are used for general searching. The plugin is distributed with a Solr schema you can use at `solr-for-wordpress/schema.xml`. - - -== Installation == - -1. Upload the `solr-for-wordpress` folder to the `/wp-content/plugins/` directory -2. Activate the plugin through the 'Plugins' menu in WordPress -3. Configure the plugin with the hostname, port, and URI path to your Solr installation. -4. Load all your posts and/or pages via the "Load All Posts" button in the settings page. - -= Custom Theme Integration = -1. Create a new theme file called "s4w_search.php". -2. Insert your markup, use template methods s4w_search_form() and s4w_search_results() to insert the search box and results respectively. -3. Add result styling to your theme css file, see `solr-for-wordpress/template/search.css` for an example. -4. You can use the search widget in your sidebar for search, or use a custom search box that submits the query in the parameter "s". - - -== Frequently Asked Questions == - -= What version of WordPress does Solr for WordPress work with? = - -Solr for WordPress works with WordPress 3.0 and greater. - -= What version of Solr is required. = - -Solr 1.4 or greater. - -= Can I enable/disable specific facets. = - -Yes, from the settings page. Uncheck the "Facet on FIELD" option, for the FIELD you don't want a facet for. - -= Do I need to run my own Solr server to use this plugin? = - -No, there are Solr hosting providers that will setup and manager Solr for you. As long as they allow custom schema's and support the -standard Solr http api, then the plugin should work. Some sites: - -http://www.mysolrserver.com/ -http://www.websolr.com/ -http://powcloud.com/ - -= Can I run a local instance of Solr for testing? = - -Yes, you may grab a copy from the apache website: http://www.apache.org/dist/lucene/solr/ -Since it runs on java solr is platform independent, just make sure you have java install So go ahead and Download the .tgz/.zip file (there is no difference). -1) Extract the files you have downloaded -2) Copy the schema file (schema.xml) from this plugin to the folder you extracted 'apache-solr-*/examples/solr/conf/' (yes overwrite the file there) -3) Open up terminal and then go to where you extracted the files and inside './apache-solr-*/examples' run the command "java -jar start.jar" - -For any further information please the README that comes with solr. - -= What is a taxonomy = - -A taxonomy is a hierarchal facet. This means that your subcategories will be treated as a child to the parent category instead of an individual facet. - -Here is what an example category taxonomy look like: - -` --States ----California -------Los Angeles ----New York -------New York -` - -Here is that same category not treating it as a taxonomy: - -` --States --California --Los Angeles --New York --New York -` - -As you can see, treating it as a taxonomy is much better. - -= I was treating the category as a taxonomy disabled it, now my category facet looks weird = - -You need to delete and re-index your data. - -= How do I know what html tags to style in my custom theme = - -See `solr-for-wordpress/template/search.css` for an example, or view the source of the search results. - -= Can I create a custom search page such as http://www.myblog.com/search/? = - -Yes, it is fairly trivial as well. Follow the steps for custom theme integration. At the top of that page, insert a comment similar to the following: - -<?php -/* -Template Name: Search -*/ -?> - -Login to the WordPress admin GUI, select add new page, set the title of the page to "Search". On the right hand side you will see a drop-down box that says "Template", click that and select "Search". Leave the content of the page blank and publish the page. - -You will have have your "/search/" page. - -= I need the output of this plugin in a different language = - -Solr for WordPress is internationalized. There is supplied .pot file that you can use for translations. See http://codex.wordpress.org/Translating_WordPress for more details. - -= How do I find out the page or post id to exclude? = - -Login to the WordPress admin, select pages, click the page you want to exclude. The post id is what you are looking for, you can find it in the titlebar as the &post= parameter. In this example, the page id is 22, http://www.yourblog.com/wp-admin/page.php?action=edit&post=22. - - -== Screenshots == - -1. Configuration Page -2. Example of results page in default WordPress Theme - -== Credits == - -Dominique Bejean for custom field support and testing. -Eric Pugh multi server support. -Dustin Rue - fixes for batch import and multisite. - diff --git a/wp-content/plugins/solr-for-wordpress/schema.xml b/wp-content/plugins/solr-for-wordpress/schema.xml deleted file mode 100644 index 037742872..000000000 --- a/wp-content/plugins/solr-for-wordpress/schema.xml +++ /dev/null @@ -1,146 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<schema name="wpdata" version="1.1"> - <types> - <fieldType name="string" class="solr.StrField" sortMissingLast="true" omitNorms="true"/> - <fieldType name="boolean" class="solr.BoolField" sortMissingLast="true" omitNorms="true"/> - <fieldType name="integer" class="solr.IntField" omitNorms="true"/> - <fieldType name="long" class="solr.LongField" omitNorms="true"/> - <fieldType name="float" class="solr.FloatField" omitNorms="true"/> - <fieldType name="double" class="solr.DoubleField" omitNorms="true"/> - <fieldType name="sint" class="solr.SortableIntField" sortMissingLast="true" omitNorms="true"/> - <fieldType name="slong" class="solr.SortableLongField" sortMissingLast="true" omitNorms="true"/> - <fieldType name="sfloat" class="solr.SortableFloatField" sortMissingLast="true" omitNorms="true"/> - <fieldType name="sdouble" class="solr.SortableDoubleField" sortMissingLast="true" omitNorms="true"/> - <fieldType name="date" class="solr.DateField" sortMissingLast="true" omitNorms="true"/> - <fieldType name="random" class="solr.RandomSortField" indexed="true" /> - - <fieldType name="text_ws" class="solr.TextField" positionIncrementGap="100"> - <analyzer> - <tokenizer class="solr.WhitespaceTokenizerFactory"/> - </analyzer> - </fieldType> - - <fieldType name="text_lws" class="solr.TextField" positionIncrementGap="100"> - <analyzer> - <tokenizer class="solr.WhitespaceTokenizerFactory"/> - <filter class="solr.LowerCaseFilterFactory"/> - </analyzer> - </fieldType> - - <fieldType name="text" class="solr.TextField" positionIncrementGap="100"> - <analyzer type="index"> - <tokenizer class="solr.WhitespaceTokenizerFactory"/> - <filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="1" catenateNumbers="1" catenateAll="0" splitOnCaseChange="1"/> - <filter class="solr.LowerCaseFilterFactory"/> - <filter class="solr.EnglishPorterFilterFactory" protected="protwords.txt"/> - <filter class="solr.RemoveDuplicatesTokenFilterFactory"/> - </analyzer> - <analyzer type="query"> - <tokenizer class="solr.WhitespaceTokenizerFactory"/> - <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/> - <filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="0" catenateNumbers="0" catenateAll="0" splitOnCaseChange="1"/> - <filter class="solr.LowerCaseFilterFactory"/> - <filter class="solr.EnglishPorterFilterFactory" protected="protwords.txt"/> - <filter class="solr.RemoveDuplicatesTokenFilterFactory"/> - </analyzer> - </fieldType> - - <fieldType name="textTight" class="solr.TextField" positionIncrementGap="100" > - <analyzer> - <tokenizer class="solr.WhitespaceTokenizerFactory"/> - <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="false"/> - <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt"/> - <filter class="solr.WordDelimiterFilterFactory" generateWordParts="0" generateNumberParts="0" catenateWords="1" catenateNumbers="1" catenateAll="0"/> - <filter class="solr.LowerCaseFilterFactory"/> - <filter class="solr.EnglishPorterFilterFactory" protected="protwords.txt"/> - <filter class="solr.RemoveDuplicatesTokenFilterFactory"/> - </analyzer> - </fieldType> - - <fieldType name="textSpell" class="solr.TextField" positionIncrementGap="100" > - <analyzer> - <tokenizer class="solr.StandardTokenizerFactory"/> - <filter class="solr.LowerCaseFilterFactory"/> - <filter class="solr.RemoveDuplicatesTokenFilterFactory"/> - </analyzer> - </fieldType> - - <fieldType name="alphaOnlySort" class="solr.TextField" sortMissingLast="true" omitNorms="true"> - <analyzer> - <tokenizer class="solr.KeywordTokenizerFactory"/> - <filter class="solr.LowerCaseFilterFactory" /> - <filter class="solr.TrimFilterFactory" /> - <filter class="solr.PatternReplaceFilterFactory" pattern="([^a-z])" replacement="" replace="all"/> - </analyzer> - </fieldType> - - <fieldtype name="ignored" stored="false" indexed="false" class="solr.StrField" /> - </types> - - - <fields> - <field name="id" type="string" indexed="true" stored="true" required="true" /> - - <field name="blogid" type="string" indexed="true" stored="true"/> - <field name="blogdomain" type="string" indexed="true" stored="true"/> - <field name="blogpath" type="string" indexed="true" stored="true"/> - <field name="wp" type="string" indexed="true" stored="true"/> - - <field name="permalink" type="string" indexed="true" stored="true"/> - <field name="title" type="text_lws" indexed="true" stored="true"/> - <field name="content" type="text" indexed="true" stored="true"/> - <field name="numcomments" type="integer" indexed="true" stored="true"/> - <field name="comments" type="text" indexed="true" stored="true" multiValued="true"/> - - <field name="categories" type="string" indexed="true" stored="true" multiValued="true"/> - <field name="categoriessrch" type="text_lws" indexed="true" stored="false" multiValued="true"/> - - <field name="tags" type="string" indexed="true" stored="true" multiValued="true"/> - <field name="tagssrch" type="text_lws" indexed="true" stored="false" multiValued="true"/> - - <field name="author" type="string" indexed="true" stored="true"/> - <field name="type" type="string" indexed="true" stored="true"/> - - <!-- Date fields used for sorting and searching --> - <field name="date" type="date" indexed="true" stored="false"/> - <field name="modified" type="date" indexed="true" stored="false"/> - - <!-- Fields used to display the date --> - <field name="displaydate" type="string" indexed="false" stored="true"/> - <field name="displaymodified" type="string" indexed="false" stored="true"/> - - <!-- For spell checking, did you mean? --> - <field name="spell" type="textSpell" indexed="true" stored="true" multiValued="true"/> - - <!-- composite field --> - <field name="text" type="text" indexed="true" stored="false" multiValued="true"/> - - <!-- dynamic fields --> - <dynamicField name="*_str" type="string" indexed="true" stored="true" multiValued="true"/> - <dynamicField name="*_srch" type="text_lws" indexed="true" stored="false" multiValued="true"/> - <dynamicField name="*_taxonomy" type="string" indexed="true" stored="true" multiValued="true"/> - - <dynamicField name="*_i" type="sint" indexed="true" stored="true"/> - <dynamicField name="*_s" type="string" indexed="true" stored="true"/> - <dynamicField name="*_l" type="slong" indexed="true" stored="true"/> - <dynamicField name="*_t" type="text" indexed="true" stored="true"/> - <dynamicField name="*_b" type="boolean" indexed="true" stored="true"/> - <dynamicField name="*_f" type="sfloat" indexed="true" stored="true"/> - <dynamicField name="*_d" type="sdouble" indexed="true" stored="true"/> - <dynamicField name="*_dt" type="date" indexed="true" stored="true"/> - <dynamicField name="random*" type="random" /> - </fields> - - <uniqueKey>id</uniqueKey> - <defaultSearchField>text</defaultSearchField> - <solrQueryParser defaultOperator="OR"/> - <copyField source="title" dest="text"/> - <copyField source="tags" dest="text"/> - <copyField source="categories" dest="text"/> - <copyField source="content" dest="text"/> - <copyField source="tags" dest="tagssrch"/> - <copyField source="categories" dest="categoriessrch"/> - <copyField source="title" dest="spell"/> - <copyField source="content" dest="spell"/> - <copyField source="author" dest="spell"/> -</schema> diff --git a/wp-content/plugins/solr-for-wordpress/screenshot-1.png b/wp-content/plugins/solr-for-wordpress/screenshot-1.png deleted file mode 100644 index a5b74d503895d5bee03a32e56328f55e4b9d70c5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 59183 zcmeAS@N?(olHy`uVBq!ia0y~yV3J{AVD{r+Vqjpny4ER~fq_Xq)7d$|)7e=epeR2r zGbfdSp@MPk<o)@V9Yl`r_hZr3TD4$-mncsdE60)sopcQjMOEMESz@e{cl~+s?1rCA zhwSMxp%oIlKFS*?xYhafyp3RF=4N(kIuw6FaODaor>T|Y?Xql2V)IJN=Udmmzq`A< z+@b9DhreNL4X<4tzkb?M^Z8nr%@<b5o@5qbi<}t?<F9PdR*_8DJzrsCy!?5icxIR8 zHh1PIfeA$_7Pkaq5@Lkc7{7C^bCGJ__)<dbW9_4u1>xRD^gG<8o6IGyv+Pg4V=A5V zPHf|&NMHUFJi_z0zqz2IConrKW7iS?j`|&Wv;U;a3(q(E+wd&yzR>)H%7xR`OlQ}t zRiB^#D_Q$^WBBjJ&ZPP`PnaK^Fic3^WWR0m(PGtJ{`RkXPTloXetlqHd*Pm9W(h0i zH?@6_=f5u8^S$TVKdzj2v*s>1y>-iqFY}oGxyQeWtYEjhAa~-2<lnijaXY*i=dEMB zZr<3+^r7RFW>@wbr3HeoSyMj!T+$)abhEM2_ua}>Mn|jvZ!C(IwNlSZ4w3(oHFfnB zxka1ay3d+da3gk>?~Z$OwAFJYjk`J5TP^iE^fh7KtPi=#j@~!EO`9(CE&9*B|8dz? zS8qSeSru7Ya;m>W{YA)h;eD6me7;VzoqX)sR;@R>h4as@m~*VZGGoHUX0Q28nuYwH zohS24*z_g$?)z5LyR|+l<^I#>(OJL0H>Dl!e4@11$y$B7?dKT3Fwv(>b&N8;OWTF= zzPB?lFmM)lL>4nJa0`PlBg3pY5)2Fq44y8IAr*{o_Oj0qalO8u_syi@a~|gwq)gC} zWONL1ImpnVVach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+q3yNz3;oi>6|8<fI@+xr rx+*1o*X01cvTdc$v;72E{>cZe@`!lE%4x^Iz`)??>gTe~DWM4fp@Lo> diff --git a/wp-content/plugins/solr-for-wordpress/solr-for-wordpress.php b/wp-content/plugins/solr-for-wordpress/solr-for-wordpress.php deleted file mode 100644 index 345d833b8..000000000 --- a/wp-content/plugins/solr-for-wordpress/solr-for-wordpress.php +++ /dev/null @@ -1,1519 +0,0 @@ -<?php -/* -Plugin Name: Solr for WordPress -Plugin URI: http://wordpress.org/extend/plugins/solr-for-wordpress/ -Donate link: http://www.mattweber.org -Description: Indexes, removes, and updates documents in the Solr search engine. -Version: 0.5.1 -Author: Matt Weber -Author URI: http://www.mattweber.org -*/ -/* - Copyright (c) 2011 Matt Weber - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. -*/ - -global $wp_version, $version; - -$version = '0.5.1'; - -$errmsg = __('Solr for WordPress requires WordPress 3.0 or greater. ', 'solr4wp'); -if (version_compare($wp_version, '3.0', '<')) { - exit ($errmsg); -} - -require_once(dirname(__FILE__) . '/SolrPhpClient/Apache/Solr/Service.php'); - -function s4w_get_option() { - $indexall = FALSE; - $option = 'plugin_s4w_settings'; - if (is_multisite()) { - $plugin_s4w_settings = get_site_option($option); - $indexall = $plugin_s4w_settings['s4w_index_all_sites']; - } - - if ($indexall) { - return get_site_option($option); - } else { - return get_option($option); - } -} - -function s4w_update_option($optval) { - $indexall = FALSE; - $option = 'plugin_s4w_settings'; - if (is_multisite()) { - $plugin_s4w_settings = get_site_option($option); - $indexall = $plugin_s4w_settings['s4w_index_all_sites']; - } - - if ($indexall) { - update_site_option($option, $optval); - } else { - update_option($option, $optval); - } -} -/** - * Connect to the solr service - * @param $server_id string/int its either master or array index - * @return solr service object - */ -function s4w_get_solr($server_id = NULL) { - # get the connection options - $plugin_s4w_settings = s4w_get_option(); - //if the provided server_id does not exist use the default id 'master' - if(!$plugin_s4w_settings['s4w_server']['info'][$server_id]['host']) { - $server_id = $plugin_s4w_settings['s4w_server']['type']['update']; - } - $host = $plugin_s4w_settings['s4w_server']['info'][$server_id]['host']; - $port = $plugin_s4w_settings['s4w_server']['info'][$server_id]['port']; - $path = $plugin_s4w_settings['s4w_server']['info'][$server_id]['path']; - # double check everything has been set - if ( ! ($host and $port and $path) ) { - syslog(LOG_ERR,"host, port or path are empty, host:$host, port:$port, path:$path"); - return NULL; - } - - # create the solr service object - $solr = new Apache_Solr_Service($host, $port, $path); - - return $solr; -} - - -/** - * check if the server by pinging it - * @param server if wanting to ping a different - * server than default provide name - * @return boolean - */ -function s4w_ping_server($server_id = NULL) { - $solr = s4w_get_solr($server); - $ping = FALSE; - # if we want to check if the server is alive, ping it - if ($solr->ping()) { - $ping = TRUE; - } - return $ping; -} - -function s4w_build_document( $post_info, $domain = NULL, $path = NULL) { - $doc = NULL; - $plugin_s4w_settings = s4w_get_option(); - $exclude_ids = $plugin_s4w_settings['s4w_exclude_pages']; - $categoy_as_taxonomy = $plugin_s4w_settings['s4w_cat_as_taxo']; - $index_comments = $plugin_s4w_settings['s4w_index_comments']; - $index_custom_fields = $plugin_s4w_settings['s4w_index_custom_fields']; - - if ($post_info) { - - # check if we need to exclude this document - if (is_multisite() && in_array(substr(site_url(),7) . $post_info->ID, (array)$exclude_ids)) { - return NULL; - } else if ( !is_multisite() && in_array($post_info->ID, (array)$exclude_ids) ) { - return NULL; - } - - $doc = new Apache_Solr_Document(); - $auth_info = get_userdata( $post_info->post_author ); - - # wpmu specific info - if (is_multisite()) { - // if we get here we expect that we've "switched" what blog we're running - // as - - if ($domain == NULL) - $domain = $current_blog->domain; - - if ($path == NULL) - $path = $current_blog->path; - - - $blogid = get_blog_id_from_url($domain, $path); - $doc->setField( 'id', $domain . $path . $post_info->ID ); - $doc->setField( 'permalink', get_blog_permalink($blogid, $post_info->ID)); - $doc->setField( 'blogid', $blogid ); - $doc->setField( 'blogdomain', $domain ); - $doc->setField( 'blogpath', $path ); - $doc->setField( 'wp', 'multisite'); - } else { - $doc->setField( 'id', $post_info->ID ); - $doc->setField( 'permalink', get_permalink( $post_info->ID ) ); - $doc->setField( 'wp', 'wp'); - } - - $numcomments = 0; - if ($index_comments) { - $comments = get_comments("status=approve&post_id={$post_info->ID}"); - foreach ($comments as $comment) { - $doc->addField( 'comments', $comment->comment_content ); - $numcomments += 1; - } - } - - $doc->setField( 'title', $post_info->post_title ); - $doc->setField( 'content', strip_tags($post_info->post_content) ); - $doc->setField( 'numcomments', $numcomments ); - $doc->setField( 'author', $auth_info->display_name ); - $doc->setField( 'author_s', get_author_posts_url($auth_info->ID, $auth_info->user_nicename)); - $doc->setField( 'type', $post_info->post_type ); - $doc->setField( 'date', s4w_format_date($post_info->post_date_gmt) ); - $doc->setField( 'modified', s4w_format_date($post_info->post_modified_gmt) ); - $doc->setField( 'displaydate', $post_info->post_date ); - $doc->setField( 'displaymodified', $post_info->post_modified ); - - $categories = get_the_category($post_info->ID); - if ( ! $categories == NULL ) { - foreach( $categories as $category ) { - if ($categoy_as_taxonomy) { - $doc->addField('categories', get_category_parents($category->cat_ID, FALSE, '^^')); - } else { - $doc->addField('categories', $category->cat_name); - } - } - } - - //get all the taxonomy names used by wp - $taxonomies = (array)get_taxonomies(array('_builtin'=>FALSE),'names'); - foreach($taxonomies as $parent) { - $terms = get_the_terms( $post_info->ID, $parent ); - if ((array) $terms === $terms) { - //we are creating *_taxonomy as dynamic fields using our schema - //so lets set up all our taxonomies in that format - $parent = $parent."_taxonomy"; - foreach ($terms as $term) { - $doc->addField($parent, $term->name); - } - } - } - - $tags = get_the_tags($post_info->ID); - if ( ! $tags == NULL ) { - foreach( $tags as $tag ) { - $doc->addField('tags', $tag->name); - } - } - - if (count($index_custom_fields)>0 && count($custom_fields = get_post_custom($post_info->ID))) { - foreach ((array)$index_custom_fields as $field_name ) { - $field = (array)$custom_fields[$field_name]; - foreach ( $field as $key => $value ) { - $doc->addField($field_name . '_str', $value); - $doc->addField($field_name . '_srch', $value); - } - } - } - } else { - // this will fire during blog sign up on multisite, not sure why - _e('Post Information is NULL', 'solr4wp'); - } - return $doc; -} - -function s4w_format_date( $thedate ) { - $datere = '/(\d{4}-\d{2}-\d{2})\s(\d{2}:\d{2}:\d{2})/'; - $replstr = '${1}T${2}Z'; - return preg_replace($datere, $replstr, $thedate); -} - -function s4w_post( $documents, $commit = TRUE, $optimize = FALSE) { - try { - $solr = s4w_get_solr(); - if ( ! $solr == NULL ) { - - if ($documents) { - syslog(LOG_INFO,"posting " . count($documents) . " documents for blog:" . get_bloginfo('wpurl')); - $solr->addDocuments( $documents ); - } - - if ($commit) { - syslog(LOG_INFO,"telling Solr to commit"); - $solr->commit(); - } - - if ($optimize) { - $solr->optimize(); - } - } - else { - syslog(LOG_ERR, "failed to get a solr instance created"); - } - } catch ( Exception $e ) { - syslog(LOG_INFO,"ERROR: " . $e->getMessage()); - //echo $e->getMessage(); - } -} - -function s4w_optimize() { - try { - $solr = s4w_get_solr(); - if ( ! $solr == NULL ) { - $solr->optimize(); - } - } catch ( Exception $e ) { - syslog(LOG_ERR,$e->getMessage()); - } -} - -function s4w_delete( $doc_id ) { - try { - $solr = s4w_get_solr(); - if ( ! $solr == NULL ) { - $solr->deleteById( $doc_id ); - $solr->commit(); - } - } catch ( Exception $e ) { - syslog(LOG_ERR,$e->getMessage()); - } -} - -function s4w_delete_all() { - try { - $solr = s4w_get_solr(); - if ( ! $solr == NULL ) { - $solr->deleteByQuery( '*:*' ); - $solr->commit(); - } - } catch ( Exception $e ) { - echo $e->getMessage(); - } -} - -function s4w_delete_blog($blogid) { - try { - $solr = s4w_get_solr(); - if ( ! $solr == NULL ) { - $solr->deleteByQuery( "blogid:{$blogid}" ); - $solr->commit(); - } - } catch ( Exception $e ) { - echo $e->getMessage(); - } -} - -function s4w_load_blog_all($blogid) { - global $wpdb; - $documents = array(); - $cnt = 0; - $batchsize = 10; - - $bloginfo = get_blog_details($blogid, FALSE); - - if ($bloginfo->public && !$bloginfo->archived && !$bloginfo->spam && !$bloginfo->deleted) { - $postids = $wpdb->get_results("SELECT ID FROM {$wpdb->base_prefix}{$blogid}_posts WHERE post_status = 'publish';"); - for ($idx = 0; $idx < count($postids); $idx++) { - $postid = $ids[$idx]; - $documents[] = s4w_build_document( get_blog_post($blogid, $postid->ID), $bloginfo->domain, $bloginfo->path ); - $cnt++; - if ($cnt == $batchsize) { - s4w_post($documents); - $cnt = 0; - $documents = array(); - } - } - - if ($documents) { - s4w_post($documents); - } - } -} - -function s4w_handle_modified( $post_id ) { - global $current_blog; - $post_info = get_post( $post_id ); - $plugin_s4w_settings = s4w_get_option(); - $index_pages = $plugin_s4w_settings['s4w_index_pages']; - $index_posts = $plugin_s4w_settings['s4w_index_posts']; - - s4w_handle_status_change( $post_id, $post_info ); - - if (($index_pages && $post_info->post_type == 'page') || ($index_posts && $post_info->post_type == 'post')) { - - # make sure this blog is not private or a spam if indexing on a multisite install - if (is_multisite() && ($current_blog->public != 1 || $current_blog->spam == 1 || $current_blog->archived == 1)) { - return; - } - - $docs = array(); - $doc = s4w_build_document( $post_info ); - if ( $doc ) { - $docs[] = $doc; - s4w_post( $docs ); - } - } -} - -function s4w_handle_status_change( $post_id, $post_info = null ) { - global $current_blog; - - if ( ! $post_info ){ - $post_info = get_post( $post_id ); - } - - $plugin_s4w_settings = s4w_get_option(); - $private_page = $plugin_s4w_settings['s4w_private_page']; - $private_post = $plugin_s4w_settings['s4w_private_post']; - - if ( ($private_page && $post_info->post_type == 'page') || ($private_post && $post_info->post_type == 'post') ) { - /** - * We need to check if the status of the post has changed. - * Inline edits won't have the prev_status of original_post_status, - * instead we check of the _inline_edit variable is present in the $_POST variable - */ - if ( ($_POST['prev_status'] == 'publish' || $_POST['original_post_status'] == 'publish' || - ( isset( $_POST['_inline_edit'] ) && !empty( $_POST['_inline_edit']) ) ) && - ($post_info->post_status == 'draft' || $post_info->post_status == 'private') ) { - - if (is_multisite()) { - s4w_delete( $current_blog->domain . $current_blog->path . $post_info->ID ); - } else { - s4w_delete( $post_info->ID ); - } - } - } -} - - -function s4w_handle_delete( $post_id ) { - global $current_blog; - $post_info = get_post( $post_id ); - $plugin_s4w_settings = s4w_get_option(); - $delete_page = $plugin_s4w_settings['s4w_delete_page']; - $delete_post = $plugin_s4w_settings['s4w_delete_post']; - - if ( ($delete_page && $post_info->post_type == 'page') || ($delete_post && $post_info->post_type == 'post') ) { - if (is_multisite()) { - s4w_delete( $current_blog->domain . $current_blog->path . $post_info->ID ); - } else { - s4w_delete( $post_info->ID ); - } - } -} - -function s4w_handle_deactivate_blog($blogid) { - s4w_delete_blog($blogid); -} - -function s4w_handle_activate_blog($blogid) { - s4w_apply_config_to_blog($blogid); - s4w_load_blog_all($blogid); -} - -function s4w_handle_archive_blog($blogid) { - s4w_delete_blog($blogid); -} - -function s4w_handle_unarchive_blog($blogid) { - s4w_apply_config_to_blog($blogid); - s4w_load_blog_all($blogid); -} - -function s4w_handle_spam_blog($blogid) { - s4w_delete_blog($blogid); -} - -function s4w_handle_unspam_blog($blogid) { - s4w_apply_config_to_blog($blogid); - s4w_load_blog_all($blogid); -} - -function s4w_handle_delete_blog($blogid) { - s4w_delete_blog($blogid); -} - -function s4w_handle_new_blog($blogid) { - s4w_apply_config_to_blog($blogid); - s4w_load_blog_all($blogid); -} - -function s4w_load_all_posts($prev) { - global $wpdb, $current_blog, $current_site; - $documents = array(); - $cnt = 0; - $batchsize = 250; - $last = ""; - $found = FALSE; - $end = FALSE; - $percent = 0; - //multisite logic is decided s4w_get_option - $plugin_s4w_settings = s4w_get_option(); - $blog_id = $blog->blog_id; - if ($plugin_s4w_settings['s4w_index_all_sites']) { - - // there is potential for this to run for an extended period of time, depending on the # of blgos - syslog(LOG_ERR,"starting batch import, setting max execution time to unlimited"); - ini_set('memory_limit', '1024M'); - set_time_limit(0); - - // get a list of blog ids - $bloglist = $wpdb->get_col("SELECT * FROM {$wpdb->base_prefix}blogs WHERE spam = 0 AND deleted = 0", 0); - syslog(LOG_INFO,"pushing posts from " . count($bloglist) . " blogs into Solr"); - foreach ($bloglist as $bloginfo) { - - // for each blog we need to import we get their id - // and tell wordpress to switch to that blog - $blog_id = trim($bloginfo); - syslog(LOG_INFO,"switching to blogid $blog_id"); - - // attempt to save some memory by flushing wordpress's cache - wp_cache_flush(); - - // everything just works better if we tell wordpress - // to switch to the blog we're using, this is a multi-site - // specific function - switch_to_blog($blog_id); - - // now we actually gather the blog posts - $postids = $wpdb->get_results("SELECT ID FROM {$wpdb->base_prefix}{$bloginfo}_posts WHERE post_status = 'publish' AND post_type = 'post' ORDER BY ID;"); - $postcount = count($postids); - syslog(LOG_INFO,"building $postcount documents for " . substr(get_bloginfo('wpurl'),7)); - for ($idx = 0; $idx < $postcount; $idx++) { - - $postid = $postids[$idx]->ID; - $last = $postid; - $percent = (floatval($idx) / floatval($postcount)) * 100; - if ($prev && !$found) { - if ($postid === $prev) { - $found = TRUE; - } - - continue; - } - - if ($idx === $postcount - 1) { - $end = TRUE; - } - - // using wpurl is better because it will return the proper - // URL for the blog whether it is a subdomain install or otherwise - $documents[] = s4w_build_document( get_blog_post($blog_id, $postid), substr(get_bloginfo('wpurl'),7), $current_site->path ); - $cnt++; - if ($cnt == $batchsize) { - s4w_post( $documents, false, false); - s4w_post(false, true, false); - wp_cache_flush(); - $cnt = 0; - $documents = array(); - } - } - // post the documents to Solr - // and reset the batch counters - s4w_post( $documents, false, false); - s4w_post(false, true, false); - $cnt = 0; - $documents = array(); - syslog(LOG_INFO,"finished building $postcount documents for " . substr(get_bloginfo('wpurl'),7)); - wp_cache_flush(); - } - - // done importing so lets switch back to the proper blog id - restore_current_blog(); - } else { - $posts = $wpdb->get_results("SELECT ID FROM $wpdb->posts WHERE post_status = 'publish' AND post_type = 'post' ORDER BY ID;" ); - $postcount = count($posts); - for ($idx = 0; $idx < $postcount; $idx++) { - $postid = $posts[$idx]->ID; - $last = $postid; - $percent = (floatval($idx) / floatval($postcount)) * 100; - if ($prev && !$found) { - if ($postid === $prev) { - $found = TRUE; - } - continue; - } - - if ($idx === $postcount - 1) { - $end = TRUE; - } - $documents[] = s4w_build_document( get_post($postid) ); - $cnt++; - if ($cnt == $batchsize) { - s4w_post( $documents, FALSE, FALSE); - $cnt = 0; - $documents = array(); - wp_cache_flush(); - break; - } - } - } - - if ( $documents ) { - s4w_post( $documents , FALSE, FALSE); - } - - if ($end) { - s4w_post(FALSE, TRUE, FALSE); - printf("{\"type\": \"post\", \"last\": \"%s\", \"end\": true, \"percent\": \"%.2f\"}", $last, $percent); - } else { - printf("{\"type\": \"post\", \"last\": \"%s\", \"end\": false, \"percent\": \"%.2f\"}", $last, $percent); - } -} - -function s4w_load_all_pages($prev) { - global $wpdb; - $documents = array(); - $cnt = 0; - $batchsize = 100; - $last = ""; - $found = FALSE; - $end = FALSE; - $percent = 0; - $plugin_s4w_settings = s4w_get_option(); - if ($plugin_s4w_settings['s4w_index_all_sites']) { - $bloglist = $wpdb->get_col("SELECT * FROM {$wpdb->base_prefix}blogs", 0); - foreach ($bloglist as $bloginfo) { - $postids = $wpdb->get_results("SELECT ID FROM {$wpdb->base_prefix}{$bloginfo->blog_id}_posts WHERE post_status = 'publish' AND post_type = 'page' ORDER BY ID;"); - $postcount = count($postids); - for ($idx = 0; $idx < $postcount; $idx++) { - $postid = $postids[$idx]->ID; - $last = $postid; - $percent = (floatval($idx) / floatval($postcount)) * 100; - if ($prev && !$found) { - if ($postid === $prev) { - $found = TRUE; - } - - continue; - } - - if ($idx === $postcount - 1) { - $end = TRUE; - } - - $documents[] = s4w_build_document( get_blog_post($bloginfo->blog_id, $postid), $bloginfo->domain, $bloginfo->path ); - $cnt++; - if ($cnt == $batchsize) { - s4w_post( $documents, FALSE, FALSE); - $cnt = 0; - $documents = array(); - break; - } - } - } - } else { - $pages = $wpdb->get_results("SELECT ID FROM $wpdb->posts WHERE post_status = 'publish' AND post_type = 'page' ORDER BY ID;" ); - $pagecount = count($pages); - for ($idx = 0; $idx < $pagecount; $idx++) { - $pageid = $pages[$idx]->ID; - $last = $pageid; - $percent = (floatval($idx) / floatval($pagecount)) * 100; - if ($prev && !$found) { - if ($pageid === $prev) { - $found = TRUE; - } - - continue; - } - - if ($idx === $pagecount - 1) { - $end = TRUE; - } - - $documents[] = s4w_build_document( get_post($pageid) ); - $cnt++; - if ($cnt == $batchsize) { - s4w_post( $documents, FALSE, FALSE); - $cnt = 0; - $documents = array(); - break; - } - } - } - - if ($documents) { - s4w_post( $documents, FALSE, FALSE); - } - - if ($end) { - s4w_post(FALSE, TRUE, FALSE); - printf("{\"type\": \"page\", \"last\": \"%s\", \"end\": true, \"percent\": \"%.2f\"}", $last, $percent); - } else { - printf("{\"type\": \"page\", \"last\": \"%s\", \"end\": false, \"percent\": \"%.2f\"}", $last, $percent); - } -} - -function s4w_search_form() { - $sort = $_GET['sort']; - $order = $_GET['order']; - $server = $_GET['server']; - - - if ($sort == 'date') { - $sortval = __('<option value="score">Score</option><option value="date" selected="selected">Date</option><option value="modified">Last Modified</option>'); - } else if ($sort == 'modified') { - $sortval = __('<option value="score">Score</option><option value="date">Date</option><option value="modified" selected="selected">Last Modified</option>'); - } else { - $sortval = __('<option value="score" selected="selected">Score</option><option value="date">Date</option><option value="modified">Last Modified</option>'); - } - - if ($order == 'asc') { - $orderval = __('<option value="desc">Descending</option><option value="asc" selected="selected">Ascending</option>'); - } else { - $orderval = __('<option value="desc" selected="selected">Descending</option><option value="asc">Ascending</option>'); - } - //if server id has been defined keep hold of it - if($server) { - $serverval = '<input name="server" type="hidden" value="'.$server.'" />'; - } - $form = __('<form name="searchbox" method="get" id="searchbox" action=""><input type="text" id="qrybox" name="s" value="%s"/><input type="submit" id="searchbtn" /><label for="sortselect" id="sortlabel">Sort By:</label><select name="sort" id="sortselect">%s</select><label for="orderselect" id="orderlabel">Order By:</label><select name="order" id="orderselect">%s</select>%s</form>'); - - printf($form, htmlspecialchars(stripslashes($_GET['s'])), $sortval, $orderval,$serverval); -} - -function s4w_search_results() { - $qry = stripslashes($_GET['s']); - $offset = $_GET['offset']; - $count = $_GET['count']; - $fq = $_GET['fq']; - $sort = $_GET['sort']; - $order = $_GET['order']; - $isdym = $_GET['isdym']; - $server = $_GET['server']; - - $plugin_s4w_settings = s4w_get_option(); - $output_info = $plugin_s4w_settings['s4w_output_info']; - $output_pager = $plugin_s4w_settings['s4w_output_pager']; - $output_facets = $plugin_s4w_settings['s4w_output_facets']; - $results_per_page = $plugin_s4w_settings['s4w_num_results']; - $categoy_as_taxonomy = $plugin_s4w_settings['s4w_cat_as_taxo']; - $dym_enabled = $plugin_s4w_settings['s4w_enable_dym']; - $out = array(); - - if ( ! $qry ) { - $qry = ''; - } - //if server value has been set lets set it up here - // and add it to all the search urls henceforth - if ($server) { - $serverval = '&server='.$server; - } - # set some default values - if ( ! $offset ) { - $offset = 0; - } - - # only use default if not specified in post information - if ( ! $count ) { - $count = $results_per_page; - } - - if ( ! $fq ) { - $fq = ''; - } - - if ( $sort && $order ) { - $sortby = $sort . ' ' . $order; - } else { - $sortby = ''; - $order = ''; - } - - if ( ! $isdym ) { - $isdym = 0; - } - - $fqstr = ''; - $fqitms = split('\|\|', stripslashes($fq)); - $selectedfacets = array(); - foreach ($fqitms as $fqitem) { - if ($fqitem) { - $splititm = split(':', $fqitem, 2); - $selectedfacet = array(); - $selectedfacet['name'] = sprintf(__("%s:%s"), ucwords(preg_replace('/_str$/i', '', $splititm[0])), str_replace("^^", "/", $splititm[1])); - $removelink = ''; - foreach($fqitms as $fqitem2) { - if ($fqitem2 && !($fqitem2 === $fqitem)) { - $splititm2 = split(':', $fqitem2, 2); - $removelink = $removelink . urlencode('||') . $splititm2[0] . ':' . urlencode($splititm2[1]); - } - } - - if ($removelink) { - $selectedfacet['removelink'] = htmlspecialchars(sprintf(__("?s=%s&fq=%s"), urlencode($qry), $removelink)); - } else { - $selectedfacet['removelink'] = htmlspecialchars(sprintf(__("?s=%s"), urlencode($qry))); - } - //if server is set add it on the end of the url - $selectedfacet['removelink'] .=$serverval; - - $fqstr = $fqstr . urlencode('||') . $splititm[0] . ':' . urlencode($splititm[1]); - - $selectedfacets[] = $selectedfacet; - } - } - - if ($qry) { - $results = s4w_query( $qry, $offset, $count, $fqitms, $sortby, $server); - - if ($results) { - $response = $results->response; - $header = $results->responseHeader; - $teasers = get_object_vars($results->highlighting); - $didyoumean = $results->spellcheck->suggestions->collation; - - if ($output_info) { - $out['hits'] = sprintf(__("%d"), $response->numFound); - $out['qtime'] = sprintf(__("%.3f"), $header->QTime/1000); - - if ($didyoumean && !$isdym && $dym_enabled) { - $dymout = array(); - $dymout['term'] = htmlspecialchars($didyoumean); - $dymout['link'] = htmlspecialchars(sprintf(__("?s=%s&isdym=1"), urlencode($didyoumean))); - //if server is set add it on the end of the url - $selectedfacet['removelink'] .=$serverval; - $out['dym'] = $dymout.$serverval; - } - } - - if ($output_pager) { - # calculate the number of pages - $numpages = ceil($response->numFound / $count); - $currentpage = ceil($offset / $count) + 1; - $pagerout = array(); - - if ($numpages == 0) { - $numpages = 1; - } - - foreach (range(1, $numpages) as $pagenum) { - if ( $pagenum != $currentpage ) { - $offsetnum = ($pagenum - 1) * $count; - $pageritm = array(); - $pageritm['page'] = sprintf(__("%d"), $pagenum); - $pagerlink = sprintf(__("?s=%s&offset=%d&count=%d"), urlencode($qry), $offsetnum, $count); - if($fqstr) $pagerlink .= '&fq=' . $fqstr; - $pageritm['link'] = htmlspecialchars($pagerlink); - //if server is set add it on the end of the url - $selectedfacet['removelink'] .=$serverval; - $pagerout[] = $pageritm; - } else { - $pageritm = array(); - $pageritm['page'] = sprintf(__("%d"), $pagenum); - $pageritm['link'] = ""; - $pagerout[] = $pageritm; - } - } - - $out['pager'] = $pagerout; - } - - if ($output_facets) { - # handle facets - $facetout = array(); - - if($results->facet_counts) { - foreach ($results->facet_counts->facet_fields as $facetfield => $facet) { - if ( ! get_object_vars($facet) ) { - continue; - } - - $facetinfo = array(); - $facetitms = array(); - $facetinfo['name'] = ucwords(preg_replace('/_str$/i', '', $facetfield)); - - # categories is a taxonomy - if ($categoy_as_taxonomy && $facetfield == 'categories') { - # generate taxonomy and counts - $taxo = array(); - foreach ($facet as $facetval => $facetcnt) { - $taxovals = explode('^^', rtrim($facetval, '^^')); - $taxo = s4w_gen_taxo_array($taxo, $taxovals); - } - - $facetitms = s4w_get_output_taxo($facet, $taxo, '', $fqstr.$serverval, $facetfield); - - } else { - foreach ($facet as $facetval => $facetcnt) { - $facetitm = array(); - $facetitm['count'] = sprintf(__("%d"), $facetcnt); - $facetitm['link'] = htmlspecialchars(sprintf(__('?s=%s&fq=%s:%s%s', 'solr4wp'), urlencode($qry), $facetfield, urlencode('"' . $facetval . '"'), $fqstr)); - //if server is set add it on the end of the url - $facetitm['link'] .=$serverval; - $facetitm['name'] = $facetval; - $facetitms[] = $facetitm; - } - } - - $facetinfo['items'] = $facetitms; - $facetout[$facetfield] = $facetinfo; - } - } - - $facetout['selected'] = $selectedfacets; - $out['facets'] = $facetout; - } - - $resultout = array(); - - if ($response->numFound != 0) { - foreach ( $response->docs as $doc ) { - $resultinfo = array(); - $docid = strval($doc->id); - $resultinfo['permalink'] = $doc->permalink; - $resultinfo['title'] = $doc->title; - $resultinfo['author'] = $doc->author; - $resultinfo['authorlink'] = htmlspecialchars($doc->author_s); - $resultinfo['numcomments'] = $doc->numcomments; - $resultinfo['date'] = $doc->displaydate; - - if ($doc->numcomments === 0) { - $resultinfo['comment_link'] = $doc->permalink . "#respond"; - } else { - $resultinfo['comment_link'] = $doc->permalink . "#comments"; - } - - $resultinfo['score'] = $doc->score; - $resultinfo['id'] = $docid; - $docteaser = $teasers[$docid]; - if ($docteaser->content) { - $resultinfo['teaser'] = sprintf(__("...%s..."), implode("...", $docteaser->content)); - } else { - $words = split(' ', $doc->content); - $teaser = implode(' ', array_slice($words, 0, 30)); - $resultinfo['teaser'] = sprintf(__("%s..."), $teaser); - } - $resultout[] = $resultinfo; - } - } - $out['results'] = $resultout; - } - } else { - $out['hits'] = "0"; - } - - # pager and results count helpers - $out['query'] = htmlspecialchars($qry); - $out['offset'] = strval($offset); - $out['count'] = strval($count); - $out['firstresult'] = strval($offset + 1); - $out['lastresult'] = strval(min($offset + $count, $out['hits'])); - $out['sortby'] = $sortby; - $out['order'] = $order; - $out['sorting'] = array( - 'scoreasc' => htmlspecialchars(sprintf('?s=%s&fq=%s&sort=score&order=asc%s', urlencode($qry), stripslashes($fq), $serverval)), - 'scoredesc' => htmlspecialchars(sprintf('?s=%s&fq=%s&sort=score&order=desc%s', urlencode($qry), stripslashes($fq), $serverval)), - 'dateasc' => htmlspecialchars(sprintf('?s=%s&fq=%s&sort=date&order=asc%s', urlencode($qry), stripslashes($fq), $serverval)), - 'datedesc' => htmlspecialchars(sprintf('?s=%s&fq=%s&sort=date&order=desc%s', urlencode($qry), stripslashes($fq), $serverval)), - 'modifiedasc' => htmlspecialchars(sprintf('?s=%s&fq=%s&sort=modified&order=asc%s', urlencode($qry), stripslashes($fq), $serverval)), - 'modifieddesc' => htmlspecialchars(sprintf('?s=%s&fq=%s&sort=modified&order=desc%s', urlencode($qry), stripslashes($fq), $serverval)), - 'commentsasc' => htmlspecialchars(sprintf('?s=%s&fq=%s&sort=numcomments&order=asc%s', urlencode($qry), stripslashes($fq), $serverval)), - 'commentsdesc' => htmlspecialchars(sprintf('?s=%s&fq=%s&sort=numcomments&order=desc%s', urlencode($qry), stripslashes($fq), $serverval)) - ); - - return $out; -} - -function s4w_print_facet_items($items, $pre = "<ul>", $post = "</ul>", $before = "<li>", $after = "</li>", - $nestedpre = "<ul>", $nestedpost = "</ul>", $nestedbefore = "<li>", $nestedafter = "</li>") { - if (!$items) { - return; - } - printf(__("%s\n"), $pre); - foreach ($items as $item) { - printf(__("%s<a href=\"%s\">%s (%s)</a>%s\n"), $before, $item["link"], $item["name"], $item["count"], $after); - $item_items = isset($item["items"]) ? true : false; - - if ($item_items) { - s4w_print_facet_items($item["items"], $nestedpre, $nestedpost, $nestedbefore, $nestedafter, - $nestedpre, $nestedpost, $nestedbefore, $nestedafter); - } - } - printf(__("%s\n"), $post); -} - -function s4w_get_output_taxo($facet, $taxo, $prefix, $fqstr, $field) { - $qry = stripslashes($_GET['s']); - - if (count($taxo) == 0) { - return; - } else { - $facetitms = array(); - foreach ($taxo as $taxoname => $taxoval) { - $newprefix = $prefix . $taxoname . '^^'; - $facetvars = get_object_vars($facet); - $facetitm = array(); - $facetitm['count'] = sprintf(__("%d"), $facetvars[$newprefix]); - $facetitm['link'] = htmlspecialchars(sprintf(__('?s=%s&fq=%s:%s%s', 'solr4wp'), $qry, $field, urlencode('"' . $newprefix . '"'), $fqstr)); - $facetitm['name'] = $taxoname; - $outitms = s4w_get_output_taxo($facet, $taxoval, $newprefix, $fqstr, $field); - if ($outitms) { - $facetitm['items'] = $outitms; - } - $facetitms[] = $facetitm; - } - - return $facetitms; - } -} - -function s4w_gen_taxo_array($in, $vals) { - if (count($vals) == 1) { - if ( ! $in[$vals[0]]) { - $in[$vals[0]] = array(); - } - return $in; - } else { - $in[$vals[0]] = s4w_gen_taxo_array($in[$vals[0]], array_slice($vals, 1)); - return $in; - } -} - -/** - * Query the required server - * passes all parameters to the appropriate function based on the server name - * This allows for extensible server/core based query functions. - * TODO allow for similar theme/output function - */ -function s4w_query( $qry, $offset, $count, $fq, $sortby, $server = NULL) { - //NOTICE: does this needs to be cached to stop the db being hit to grab the options everytime search is being done. - $plugin_s4w_settings = s4w_get_option(); - //if no server has been provided use the default server - if(!$server) { - $server = $plugin_s4w_settings['s4w_server']['type']['search']; - } - $solr = s4w_get_solr($server); - if (!function_exists($function = 's4w_'.$server.'_query')) { - $function = 's4w_master_query'; - } - - return $function($solr, $qry, $offset, $count, $fq, $sortby, $plugin_s4w_settings); -} - -function s4w_master_query($solr, $qry, $offset, $count, $fq, $sortby, &$plugin_s4w_settings) { - $response = NULL; - $facet_fields = array(); - $number_of_tags = $plugin_s4w_settings['s4w_max_display_tags']; - - if ($plugin_s4w_settings['s4w_facet_on_categories']) { - $facet_fields[] = 'categories'; - } - - $facet_on_tags = $plugin_s4w_settings['s4w_facet_on_tags']; - if ($facet_on_tags) { - $facet_fields[] = 'tags'; - } - - if ($plugin_s4w_settings['s4w_facet_on_author']) { - $facet_fields[] = 'author'; - } - - if ($plugin_s4w_settings['s4w_facet_on_type']) { - $facet_fields[] = 'type'; - } - - - $facet_on_custom_taxonomy = $plugin_s4w_settings['s4w_facet_on_taxonomy']; - if (count($facet_on_custom_taxonomy)) { - $taxonomies = (array)get_taxonomies(array('_builtin'=>FALSE),'names'); - foreach($taxonomies as $parent) { - $facet_fields[] = $parent."_taxonomy"; - } - } - - $facet_on_custom_fields = $plugin_s4w_settings['s4w_facet_on_custom_fields']; - if (count($facet_on_custom_fields)) { - foreach ( $facet_on_custom_fields as $field_name ) { - $facet_fields[] = $field_name . '_str'; - } - } - - if ( $solr ) { - $params = array(); - $params['defType'] = 'dismax'; - $params['qf'] = 'tagssrch^5 title^10 categoriessrch^5 content^3.5 comments^1.5'; // TODO : Add "_srch" custom fields ? - $params['pf'] = 'title^15 text^10'; - $params['facet'] = 'true'; - $params['facet.field'] = $facet_fields; - $params['facet.mincount'] = '1'; - $params['fq'] = $fq; - $params['fl'] = '*,score'; - $params['hl'] = 'on'; - $params['hl.fl'] = 'content'; - $params['hl.snippets'] = '3'; - $params['hl.fragsize'] = '50'; - $params['sort'] = $sortby; - $params['spellcheck.onlyMorePopular'] = 'true'; - $params['spellcheck.extendedResults'] = 'false'; - $params['spellcheck.collate'] = 'true'; - $params['spellcheck.count'] = '1'; - $params['spellcheck'] = 'true'; - - if ($facet_on_tags) { - $params['f.tags.facet.limit'] = $number_of_tags; - } - - try { - $response = $solr->search($qry, $offset, $count, $params); - if ( ! $response->getHttpStatus() == 200 ) { - $response = NULL; - } - } - catch(Exception $e) { - syslog(LOG_ERR, "failed to query solr for " . print_r($qry, true) . print_r($params,true)); - $response = NULL; - } - } - - return $response; -} - -function s4w_options_init() { - - $method = $_POST['method']; - if ($method === "load") { - $type = $_POST['type']; - $prev = $_POST['prev']; - - if ($type === 'post' ) { - s4w_load_all_posts($prev); - exit; - } else if ($type === 'page') { - s4w_load_all_pages($prev); - exit; - } else { - return; - } - } - register_setting('s4w-options-group', 'plugin_s4w_settings', 's4w_sanitise_options' ); -} - -/** - * Sanitises the options values - * @param $options array of s4w settings options - * @return $options sanitised values - */ -function s4w_sanitise_options($options) { - $options['s4w_solr_host'] = wp_filter_nohtml_kses($options['s4w_solr_host']); - $options['s4w_solr_port'] = absint($options['s4w_solr_port']); - $options['s4w_solr_path'] = wp_filter_nohtml_kses($options['s4w_solr_path']); - $options['s4w_solr_update_host'] = wp_filter_nohtml_kses($options['s4w_solr_update_host']); - $options['s4w_solr_update_port'] = absint($options['s4w_solr_update_port']); - $options['s4w_solr_update_path'] = wp_filter_nohtml_kses($options['s4w_solr_update_path']); - $options['s4w_index_pages'] = absint($options['s4w_index_pages']); - $options['s4w_index_posts'] = absint($options['s4w_index_posts']); - $options['s4w_index_comments'] = absint($options['s4w_index_comments']); - $options['s4w_delete_page'] = absint($options['s4w_delete_page']); - $options['s4w_delete_post'] = absint($options['s4w_delete_post']); - $options['s4w_private_page'] = absint($options['s4w_private_page']); - $options['s4w_private_post'] = absint($options['s4w_private_post']); - $options['s4w_output_info'] = absint($options['s4w_output_info']); - $options['s4w_output_pager'] = absint($options['s4w_output_pager']); - $options['s4w_output_facets'] = absint($options['s4w_output_facets']); - $options['s4w_exclude_pages'] = s4w_filter_str2list($options['s4w_exclude_pages']); - $options['s4w_num_results'] = absint($options['s4w_num_results']); - $options['s4w_cat_as_taxo'] = absint($options['s4w_cat_as_taxo']); - $options['s4w_max_display_tags'] = absint($options['s4w_max_display_tags']); - $options['s4w_facet_on_categories'] = absint($options['s4w_facet_on_categories']); - $options['s4w_facet_on_tags'] = absint($options['s4w_facet_on_tags'] ); - $options['s4w_facet_on_author'] = absint($options['s4w_facet_on_author']); - $options['s4w_facet_on_type'] = absint($options['s4w_facet_on_type']); - $options['s4w_index_all_sites'] = absint($options['s4w_index_all_sites']); - $options['s4w_enable_dym'] = absint($options['s4w_enable_dym'] ); - $options['s4w_connect_type'] = wp_filter_nohtml_kses($options['s4w_connect_type']); - $options['s4w_index_custom_fields'] = s4w_filter_str2list($options['s4w_index_custom_fields']); - $options['s4w_facet_on_custom_fields'] = s4w_filter_str2list($options['s4w_facet_on_custom_fields']); - return $options; -} - -function s4w_filter_str2list_numeric($input) { - $final = array(); - if ($input != "") { - foreach( split(',', $input) as $val ) { - $val = trim($val); - if ( is_numeric($val) ) { - $final[] = $val; - } - } - } - - return $final; -} - -function s4w_filter_str2list($input) { - $final = array(); - if ($input != "") { - foreach( split(',', $input) as $val ) { - $final[] = trim($val); - } - } - - return $final; -} - -function s4w_filter_list2str($input) { - if (!is_array($input)) { - return ""; - } - - $outval = implode(',', $input); - if (!$outval) { - $outval = ""; - } - - return $outval; -} - -function s4w_add_pages() { - $addpage = FALSE; - - if (is_multisite() && is_site_admin()) { - $plugin_s4w_settings = s4w_get_option(); - $indexall = $plugin_s4w_settings['s4w_index_all_sites']; - if (($indexall && is_main_blog()) || !$indexall) { - $addpage = TRUE; - } - } else if (!is_multisite() && is_admin()) { - $addpage = TRUE; - } - - if ($addpage) { - add_options_page('Solr Options', 'Solr Options', 8, __FILE__, 's4w_options_page'); - } -} - -function s4w_options_page() { - if ( file_exists ( dirname(__FILE__) . '/solr-options-page.php' )) { - include( dirname(__FILE__) . '/solr-options-page.php' ); - } else { - _e("<p>Couldn't locate the options page.</p>", 'solr4wp'); - } -} - -function s4w_admin_head() { - // include our default css - if (file_exists(dirname(__FILE__) . '/template/search.css')) { - printf(__("<link rel=\"stylesheet\" href=\"%s\" type=\"text/css\" media=\"screen\" />\n"), plugins_url('/template/search.css', __FILE__)); - } -?> -<script type="text/javascript"> - var $j = jQuery.noConflict(); - - function switch1() { - if ($j('#solrconnect_single').is(':checked')) { - $j('#solr_admin_tab2').css('display', 'block'); - $j('#solr_admin_tab2_btn').addClass('solr_admin_on'); - $j('#solr_admin_tab3').css('display', 'none'); - $j('#solr_admin_tab3_btn').removeClass('solr_admin_on'); - } - if ($j('#solrconnect_separated').is(':checked')) { - $j('#solr_admin_tab2').css('display', 'none'); - $j('#solr_admin_tab2_btn').removeClass('solr_admin_on'); - $j('#solr_admin_tab3').css('display', 'block'); - $j('#solr_admin_tab3_btn').addClass('solr_admin_on'); - } - } - - - function doLoad($type, $prev) { - if ($prev == null) { - $j.post("options-general.php?page=solr-for-wordpress/solr-for-wordpress.php", {method: "load", type: $type}, handleResults, "json"); - } else { - $j.post("options-general.php?page=solr-for-wordpress/solr-for-wordpress.php", {method: "load", type: $type, prev: $prev}, handleResults, "json"); - } - } - - function handleResults(data) { - $j('#percentspan').text(data.percent + "%"); - if (!data.end) { - doLoad(data.type, data.last); - } else { - $j('#percentspan').remove(); - enableAll(); - } - } - - function disableAll() { - $j('[name=s4w_postload]').attr('disabled','disabled'); - $j('[name=s4w_deleteall]').attr('disabled','disabled'); - $j('[name=s4w_init_blogs]').attr('disabled','disabled'); - $j('[name=s4w_optimize]').attr('disabled','disabled'); - $j('[name=s4w_pageload]').attr('disabled','disabled'); - $j('[name=s4w_ping]').attr('disabled','disabled'); - $j('#settingsbutton').attr('disabled','disabled'); - } - - function enableAll() { - $j('[name=s4w_postload]').removeAttr('disabled'); - $j('[name=s4w_deleteall]').removeAttr('disabled'); - $j('[name=s4w_init_blogs]').removeAttr('disabled'); - $j('[name=s4w_optimize]').removeAttr('disabled'); - $j('[name=s4w_pageload]').removeAttr('disabled'); - $j('[name=s4w_ping]').removeAttr('disabled'); - $j('#settingsbutton').removeAttr('disabled'); - } - - $percentspan = '<span style="font-size:1.2em;font-weight:bold;margin:20px;padding:20px" id="percentspan">0%</span>'; - - $j(document).ready(function() { - switch1(); - $j('[name=s4w_postload]').click(function() { - $j(this).after($percentspan); - disableAll(); - doLoad("post", null); - $j(this).preventDefault(); - }); - - $j('[name=s4w_pageload]').click(function() { - $j(this).after($percentspan); - disableAll(); - doLoad("page", null); - $j(this).preventDefault(); - }); - }); - -</script> <?php -} - -function s4w_default_head() { - // include our default css - if (file_exists(dirname(__FILE__) . '/template/search.css')) { - printf(__("<link rel=\"stylesheet\" href=\"%s\" type=\"text/css\" media=\"screen\" />\n"), plugins_url('/template/search.css', __FILE__)); - } -} - -function s4w_autosuggest_head() { - if (file_exists(dirname(__FILE__) . '/template/autocomplete.css')) { - printf(__("<link rel=\"stylesheet\" href=\"%s\" type=\"text/css\" media=\"screen\" />\n"), plugins_url('/template/autocomplete.css', __FILE__)); - } -?> -<script type="text/javascript"> - jQuery(document).ready(function($) { - $("#s").suggest("?method=autocomplete",{}); - $("#qrybox").suggest("?method=autocomplete",{}); - }); -</script> -<?php -} - -function s4w_template_redirect() { - wp_enqueue_script('suggest'); - - // not a search page; don't do anything and return - // thanks to the Better Search plugin for the idea: http://wordpress.org/extend/plugins/better-search/ - $search = stripos($_SERVER['REQUEST_URI'], '?s='); - $autocomplete = stripos($_SERVER['REQUEST_URI'], '?method=autocomplete'); - - if ( ($search || $autocomplete) == FALSE ) { - return; - } - - if ($autocomplete) { - $q = stripslashes($_GET['q']); - $limit = $_GET['limit']; - - s4w_autocomplete($q, $limit); - exit; - } - - // If there is a template file then we use it - if (file_exists(TEMPLATEPATH . '/s4w_search.php')) { - // use theme file - include_once(TEMPLATEPATH . '/s4w_search.php'); - } else if (file_exists(dirname(__FILE__) . '/template/s4w_search.php')) { - // use plugin supplied file - add_action('wp_head', 's4w_default_head'); - include_once(dirname(__FILE__) . '/template/s4w_search.php'); - } else { - // no template files found, just continue on like normal - // this should get to the normal WordPress search results - return; - } - - exit; -} - -function s4w_mlt_widget() { - register_widget('s4w_MLTWidget'); -} - -class s4w_MLTWidget extends WP_Widget { - - function s4w_MLTWidget() { - $widget_ops = array('classname' => 'widget_s4w_mlt', 'description' => __( "Displays a list of pages similar to the page being viewed") ); - $this->WP_Widget('mlt', __('Similar'), $widget_ops); - } - - function widget( $args, $instance ) { - - extract($args); - $title = apply_filters('widget_title', empty($instance['title']) ? __('Similar') : $instance['title']); - $count = empty($instance['count']) ? 5 : $instance['count']; - if (!is_numeric($count)) { - $count = 5; - } - - $showauthor = $instance['showauthor']; - - $solr = s4w_get_solr(); - $response = NULL; - - if ((!is_single() && !is_page()) || !$solr) { - return; - } - - $params = array(); - $qry = 'permalink:' . $solr->escape(get_permalink()); - $params['fl'] = 'title,permalink,author'; - $params['mlt'] = 'true'; - $params['mlt.count'] = $count; - $params['mlt.fl'] = 'title,content'; - - $response = $solr->search($qry, 0, 1, $params); - if ( ! $response->getHttpStatus() == 200 ) { - return; - } - - echo $before_widget; - if ( $title ) - echo $before_title . $title . $after_title; - - $mltresults = $response->moreLikeThis; - foreach ($mltresults as $mltresult) { - $docs = $mltresult->docs; - echo "<ul>"; - foreach($docs as $doc) { - if ($showauthor) { - $author = " by {$doc->author}"; - } - echo "<li><a href=\"{$doc->permalink}\" title=\"{$doc->title}\">{$doc->title}</a>{$author}</li>"; - } - echo "</ul>"; - } - - echo $after_widget; - } - - function update( $new_instance, $old_instance ) { - $instance = $old_instance; - $new_instance = wp_parse_args( (array) $new_instance, array( 'title' => '', 'count' => 5, 'showauthor' => 0) ); - $instance['title'] = strip_tags($new_instance['title']); - $cnt = strip_tags($new_instance['count']); - $instance['count'] = is_numeric($cnt) ? $cnt : 5; - $instance['showauthor'] = $new_instance['showauthor'] ? 1 : 0; - - return $instance; - } - - function form( $instance ) { - $instance = wp_parse_args( (array) $instance, array( 'title' => '', 'count' => 5, 'showauthor' => 0) ); - $title = strip_tags($instance['title']); - $count = strip_tags($instance['count']); - $showauthor = $instance['showauthor'] ? 'checked="checked"' : ''; -?> - <p> - <label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title:'); ?></label> - <input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo esc_attr($title); ?>" /> - </p> - <p> - <label for="<?php echo $this->get_field_id('count'); ?>"><?php _e('Count:'); ?></label> - <input class="widefat" id="<?php echo $this->get_field_id('count'); ?>" name="<?php echo $this->get_field_name('count'); ?>" type="text" value="<?php echo esc_attr($count); ?>" /> - </p> - <p> - <label for="<?php echo $this->get_field_id('showauthor'); ?>"><?php _e('Show Author?:'); ?></label> - <input class="checkbox" type="checkbox" <?php echo $showauthor; ?> id="<?php echo $this->get_field_id('showauthor'); ?>" name="<?php echo $this->get_field_name('showauthor'); ?>" /> - </p> -<?php - } -} - -function s4w_autocomplete($q, $limit) { - $solr = s4w_get_solr(); - $response = NULL; - - if (!$solr) { - return; - } - - $params = array(); - $params['terms'] = 'true'; - $params['terms.fl'] = 'spell'; - $params['terms.lower'] = $q; - $params['terms.prefix'] = $q; - $params['terms.lower.incl'] = 'false'; - $params['terms.limit'] = $limit; - $params['qt'] = '/terms'; - - $response = $solr->search($q, 0, $limit, $params); - if ( ! $response->getHttpStatus() == 200 ) { - return; - } - - $terms = get_object_vars($response->terms->spell); - foreach($terms as $term => $count) { - printf("%s\n", $term); - } -} - -// copies config settings from the main blog -// to all of the other blogs -function s4w_copy_config_to_all_blogs() { - global $wpdb; - - $blogs = $wpdb->get_results("SELECT blog_id FROM $wpdb->blogs WHERE spam = 0 AND deleted = 0"); - - $plugin_s4w_settings = s4w_get_option(); - foreach($blogs as $blog) { - switch_to_blog($blog->blog_id); - wp_cache_flush(); - syslog(LOG_INFO,"pushing config to {$blog->blog_id}"); - s4w_update_option($plugin_s4w_settings); - } - - wp_cache_flush(); - restore_current_blog(); -} - -function s4w_apply_config_to_blog($blogid) { - syslog(LOG_ERR,"applying config to blog with id $blogid"); - if (!is_multisite()) - return; - - wp_cache_flush(); - $plugin_s4w_settings = s4w_get_option(); - switch_to_blog($blogid); - wp_cache_flush(); - s4w_update_option($plugin_s4w_settings); - restore_current_blog(); - wp_cache_flush(); -} - -add_action( 'template_redirect', 's4w_template_redirect', 1 ); -add_action( 'publish_post', 's4w_handle_modified' ); -add_action( 'publish_page', 's4w_handle_modified' ); -add_action( 'save_post', 's4w_handle_modified' ); -add_action( 'delete_post', 's4w_handle_delete' ); -add_action( 'admin_menu', 's4w_add_pages'); -add_action( 'admin_init', 's4w_options_init'); -add_action( 'widgets_init', 's4w_mlt_widget'); -add_action( 'wp_head', 's4w_autosuggest_head'); -add_action( 'admin_head', 's4w_admin_head'); - -if (is_multisite()) { - add_action( 'deactivate_blog', 's4w_handle_deactivate_blog'); - add_action( 'activate_blog', 's4w_handle_activate_blog'); - add_action( 'archive_blog', 's4w_handle_archive_blog'); - add_action( 'unarchive_blog', 's4w_handle_unarchive_blog'); - add_action( 'make_spam_blog', 's4w_handle_spam_blog'); - add_action( 'unspam_blog', 's4w_handle_unspam_blog'); - add_action( 'delete_blog', 's4w_handle_delete_blog'); - add_action( 'wpmu_new_blog', 's4w_handle_new_blog'); -} - -?> diff --git a/wp-content/plugins/solr-for-wordpress/solr-for-wordpress.pot b/wp-content/plugins/solr-for-wordpress/solr-for-wordpress.pot deleted file mode 100644 index 994c0655c..000000000 --- a/wp-content/plugins/solr-for-wordpress/solr-for-wordpress.pot +++ /dev/null @@ -1,292 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR Matt Weber -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: Solr for WordPress 0.2.0\n" -"Report-Msgid-Bugs-To: http://wordpress.org/tag/solr-for-wordpress\n" -"POT-Creation-Date: 2009-05-13 10:15-0700\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <LL@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=CHARSET\n" -"Content-Transfer-Encoding: 8bit\n" - -#: solr-for-wordpress.php:36 -msgid "Solr for WordPress requires WordPress 2.7 or greater. " -msgstr "" - -#: solr-for-wordpress.php:108 -msgid "Post Information is NULL" -msgstr "" - -#: solr-for-wordpress.php:215 -#, php-format -msgid "" -"<form name=\"searchbox\" method=\"get\" id=\"searchbox\" action=\"\"><input " -"type=\"text\" id=\"qrybox\" name=\"s\" value=\"%s\"/><input type=\"submit\" " -"id=\"searchbtn\" /></form>" -msgstr "" - -#: solr-for-wordpress.php:262 -#, php-format -msgid "" -"<div id=\"resultinfo\"><p>Found <em id=\"resultcnt\">%d</em> results for <em " -"id=\"resultqry\">%s</em> in <em id=\"qrytime\">%.3f</em> seconds.</p></" -"div><div id=\"infoclear\"></div>" -msgstr "" - -#: solr-for-wordpress.php:275 -msgid "<div id=\"resultpager\"><ul>" -msgstr "" - -#: solr-for-wordpress.php:279 -#, php-format -msgid "<li><a href=\"?s=%s&offset=%d&count=%d\">%d</a></li>" -msgstr "" - -#: solr-for-wordpress.php:282 -#, php-format -msgid "<li>%d</li>" -msgstr "" - -#: solr-for-wordpress.php:285 -msgid "</ul></div><div id=\"pagerclear\"></div>" -msgstr "" - -#: solr-for-wordpress.php:290 -msgid "<div id=\"facets\"><ul class=\"facets\">" -msgstr "" - -#: solr-for-wordpress.php:299 -#, php-format -msgid "<li class=\"facet\"><h3>%s</h3><ul class=\"facetitems\">" -msgstr "" - -#: solr-for-wordpress.php:314 solr-for-wordpress.php:364 -#, php-format -msgid "?s=%s&fq=%s:%s%s" -msgstr "" - -#: solr-for-wordpress.php:315 solr-for-wordpress.php:365 -#, php-format -msgid "<li class=\"facetitem\"><a href=\"%s\">%s</a> (%d)</li>" -msgstr "" - -#: solr-for-wordpress.php:318 solr-for-wordpress.php:370 -msgid "</ul></li>" -msgstr "" - -#: solr-for-wordpress.php:323 -msgid "</ul></div><div id=\"facetclear\"></div>" -msgstr "" - -#: solr-for-wordpress.php:324 -msgid "<div id=\"results\">" -msgstr "" - -#: solr-for-wordpress.php:327 -msgid "<div id=\"noresults\">No Results Found</div>" -msgstr "" - -#: solr-for-wordpress.php:331 -msgid "<div class=\"result\">" -msgstr "" - -#: solr-for-wordpress.php:332 -#, php-format -msgid "" -"<h2><a href=\"%s\">%s</a></h2><h3>by <em id=\"resultauthor\">%s</em> has a " -"score of <em id=\"resultscore\">%f</em></h3>" -msgstr "" - -#: solr-for-wordpress.php:337 -#, php-format -msgid "<p>...%s...</p></div>" -msgstr "" - -#: solr-for-wordpress.php:341 -#, php-format -msgid "<p>%s...</p></div>" -msgstr "" - -#: solr-for-wordpress.php:345 -msgid "</div><div id=\"resultsclear\"></div>" -msgstr "" - -#: solr-for-wordpress.php:358 -msgid "<li><ul class=\"facetchildren\">" -msgstr "" - -#: solr-for-wordpress.php:493 -msgid "<p>Couldn't locate the options page.</p>" -msgstr "" - -#: solr-options-page.php:60 -msgid "Ping Success!" -msgstr "" - -#: solr-options-page.php:64 -msgid "Ping Failed!" -msgstr "" - -#: solr-options-page.php:70 -msgid "Pages Loaded!" -msgstr "" - -#: solr-options-page.php:75 -msgid "Posts Loaded!" -msgstr "" - -#: solr-options-page.php:80 -msgid "All Indexed Pages Deleted!" -msgstr "" - -#: solr-options-page.php:86 -msgid "Solr For WordPress" -msgstr "" - -#: solr-options-page.php:89 -msgid "Connection Information" -msgstr "" - -#: solr-options-page.php:92 -msgid "Solr Host" -msgstr "" - -#: solr-options-page.php:97 -msgid "Solr Port" -msgstr "" - -#: solr-options-page.php:102 -msgid "Solr Path" -msgstr "" - -#: solr-options-page.php:107 -msgid "Indexing Options" -msgstr "" - -#: solr-options-page.php:110 -msgid "Index Pages" -msgstr "" - -#: solr-options-page.php:112 -msgid "Index Posts" -msgstr "" - -#: solr-options-page.php:117 -msgid "Remove Page on Delete" -msgstr "" - -#: solr-options-page.php:119 -msgid "Remove Post on Delete" -msgstr "" - -#: solr-options-page.php:124 -msgid "Remove Page on Status Change" -msgstr "" - -#: solr-options-page.php:126 -msgid "Remove Post on Status Change" -msgstr "" - -#: solr-options-page.php:131 -msgid "Excludes (comma-separated integer ids)" -msgstr "" - -#: solr-options-page.php:136 -msgid "Result Options" -msgstr "" - -#: solr-options-page.php:139 -msgid "Output Result Info" -msgstr "" - -#: solr-options-page.php:141 -msgid "Output Result Pager" -msgstr "" - -#: solr-options-page.php:146 -msgid "Output Facets" -msgstr "" - -#: solr-options-page.php:148 -msgid "Category Facet as Taxonomy" -msgstr "" - -#: solr-options-page.php:153 -msgid "Categories as Facet" -msgstr "" - -#: solr-options-page.php:155 -msgid "Tags as Facet" -msgstr "" - -#: solr-options-page.php:160 -msgid "Author as Facet" -msgstr "" - -#: solr-options-page.php:162 -msgid "Type as Facet" -msgstr "" - -#: solr-options-page.php:167 -msgid "Number of Results Per Page" -msgstr "" - -#: solr-options-page.php:172 -msgid "Max Number of Tags to Display" -msgstr "" - -#: solr-options-page.php:180 -msgid "Save Changes" -msgstr "" - -#: solr-options-page.php:186 -msgid "Actions" -msgstr "" - -#: solr-options-page.php:189 -msgid "Check Server Settings" -msgstr "" - -#: solr-options-page.php:190 solr-options-page.php:195 -#: solr-options-page.php:200 solr-options-page.php:205 -msgid "Execute" -msgstr "" - -#: solr-options-page.php:194 -msgid "Load All Pages" -msgstr "" - -#: solr-options-page.php:199 -msgid "Load All Posts" -msgstr "" - -#: solr-options-page.php:204 -msgid "Delete All" -msgstr "" - -#. Plugin Name of an extension -msgid "Solr for WordPress" -msgstr "" - -#. Plugin URI of an extension -msgid "https://launchpad.net/solr4wordpress" -msgstr "" - -#. Description of an extension -msgid "Indexes, removes, and updates documents in the Solr search engine." -msgstr "" - -#. Author of an extension -msgid "Matt Weber" -msgstr "" - -#. Author URI of an extension -msgid "http://www.mattweber.org" -msgstr "" diff --git a/wp-content/plugins/solr-for-wordpress/solr-options-page.php b/wp-content/plugins/solr-for-wordpress/solr-options-page.php deleted file mode 100644 index b3bbedaa8..000000000 --- a/wp-content/plugins/solr-for-wordpress/solr-options-page.php +++ /dev/null @@ -1,407 +0,0 @@ -<?php -/* - Copyright (c) 2009 Matt Weber - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. -*/ - -//get the plugin settings -$s4w_settings = s4w_get_option('plugin_s4w_settings'); -#set defaults if not initialized -if ($s4w_settings['s4w_solr_initialized'] != 1) { - - $options['s4w_index_all_sites'] = 0; - $options['s4w_server']['info']['single']= array('host'=>'localhost','port'=>8983, 'path'=>'/solr'); - $options['s4w_server']['info']['master']= array('host'=>'localhost','port'=>8983, 'path'=>'/solr'); - $options['s4w_server']['type']['search'] = 'master'; - $options['s4w_server']['type']['update'] = 'master'; - - $options['s4w_index_pages'] = 1; - $options['s4w_index_posts'] = 1; - $options['s4w_delete_page'] = 1; - $options['s4w_delete_post'] = 1; - $options['s4w_private_page'] = 1; - $options['s4w_private_post'] = 1; - $options['s4w_output_info'] = 1; - $options['s4w_output_pager'] = 1; - $options['s4w_output_facets'] = 1; - $options['s4w_exclude_pages'] = array(); - $options['s4w_exclude_pages'] = ''; - $options['s4w_num_results'] = 5; - $options['s4w_cat_as_taxo'] = 1; - $options['s4w_solr_initialized'] = 1; - $options['s4w_max_display_tags'] = 10; - $options['s4w_facet_on_categories'] = 1; - $options['s4w_facet_on_taxonomy'] = 1; - $options['s4w_facet_on_tags'] = 1; - $options['s4w_facet_on_author'] = 1; - $options['s4w_facet_on_type'] = 1; - $options['s4w_enable_dym'] = 1; - $options['s4w_index_comments'] = 1; - $options['s4w_connect_type'] = 'solr'; - $options['s4w_index_custom_fields'] = array(); - $options['s4w_facet_on_custom_fields'] = array(); - $options['s4w_index_custom_fields'] = ''; - $options['s4w_facet_on_custom_fields'] = ''; - - //update existing settings from multiple option record to a single array - //if old options exist, update to new system - $delete_option_function = 'delete_option'; - if (is_multisite()) { - $indexall = get_site_option('s4w_index_all_sites'); - $delete_option_function = 'delete_site_option'; - } - //find each of the old options function - //update our new array and delete the record. - foreach($options as $key => $value ) { - if( $existing = get_option($key)) { - $options[$key] = $existing; - $indexall = FALSE; - //run the appropriate delete options function - $delete_option_function($key); - } - } - - $s4w_settings = $options; - //save our options array - s4w_update_option($options); -} - -wp_reset_vars(array('action')); - -# save form settings if we get the update action -# we do saving here instead of using options.php because we need to use -# s4w_update_option instead of update option. -# As it stands we have 27 options instead of making 27 insert calls (which is what update_options does) -# Lets create an array of all our options and save it once. -if ($_POST['action'] == 'update') { - //lets loop through our setting fields $_POST['settings'] - foreach ($s4w_settings as $option => $old_value ) { - $value = $_POST['settings'][$option]; - - switch ($option) { - case 's4w_solr_initialized': - $value = trim($old_value); - break; - case 's4w_server': - //remove empty server entries - $s_value = &$value['info']; - - foreach ($s_value as $key => $v) { - //lets rename the array_keys - if(!$v['host']) unset($s_value[$key]); - } - break; - - } - if ( !is_array($value) ) $value = trim($value); - $value = stripslashes_deep($value); - $s4w_settings[$option] = $value; - } - // if we are in single server mode set the server types to master - // and configure the master server to the values of the single server - if ($s4w_settings['s4w_connect_type'] =='solr_single'){ - $s4w_settings['s4w_server']['info']['master']= $s4w_settings['s4w_server']['info']['single']; - $s4w_settings['s4w_server']['type']['search'] = 'master'; - $s4w_settings['s4w_server']['type']['update'] = 'master'; - } - // if this is a multi server setup we steal the master settings - // and stuff them into the single server settings in case the user - // decides to change it later - else { - $s4w_settings['s4w_server']['info']['single']= $s4w_settings['s4w_server']['info']['master']; - } - //lets save our options array - s4w_update_option($s4w_settings); - - //we need to make call for the options again - //as we need them to come out in an a sanitised format - //otherwise fields that need to run s4w_filter_list2str will come up with nothin - $s4w_settings = s4w_get_option('plugin_s4w_settings'); - - ?> - <div id="message" class="updated fade"><p><strong><?php _e('Success!', 'solr4wp') ?></strong></p></div> - <?php -} - -# checks if we need to check the checkbox -function s4w_checkCheckbox( $fieldValue ) { - if( $fieldValue == '1'){ - echo 'checked="checked"'; - } -} - -function s4w_checkConnectOption($optionType, $connectType) { - if ( $optionType === $connectType ) { - echo 'checked="checked"'; - } -} - - - -# check for any POST settings -if ($_POST['s4w_ping']) { - if (s4w_ping_server()) { -?> -<div id="message" class="updated fade"><p><strong><?php _e('Ping Success!', 'solr4wp') ?></strong></p></div> -<?php - } else { -?> - <div id="message" class="updated fade"><p><strong><?php _e('Ping Failed!', 'solr4wp') ?></strong></p></div> -<?php - } -} else if ($_POST['s4w_deleteall']) { - s4w_delete_all(); -?> - <div id="message" class="updated fade"><p><strong><?php _e('All Indexed Pages Deleted!', 'solr4wp') ?></strong></p></div> -<?php -} else if ($_POST['s4w_optimize']) { - s4w_optimize(); -?> - <div id="message" class="updated fade"><p><strong><?php _e('Index Optimized!', 'solr4wp') ?></strong></p></div> -<?php -} else if ($_POST['s4w_init_blogs']) { - s4w_copy_config_to_all_blogs(); - } ?> - <div id="message" class="updated fade"><p><strong><?php _e('Solr for Wordpress Configured for All Blogs!', 'solr4wp') ?></strong></p></div> - - -<div class="wrap"> -<h2><?php _e('Solr For WordPress', 'solr4wp') ?></h2> - -<form method="post" action="options-general.php?page=solr-for-wordpress/solr-for-wordpress.php"> -<h3><?php _e('Configure Solr', 'solr4wp') ?></h3> - -<div class="solr_admin clearfix"> - <div class="solr_adminR"> - <div class="solr_adminR2" id="solr_admin_tab2"> - <label><?php _e('Solr Host', 'solr4wp') ?></label> - <input name="settings[s4w_server][type][update]" type="hidden" value="master" /> - <input name="settings[s4w_server][type][search]" type="hidden" value="master" /> - <p><input type="text" name="settings[s4w_server][info][single][host]" value="<?php echo $s4w_settings['s4w_server']['info']['single']['host']?>" /></p> - <label><?php _e('Solr Port', 'solr4wp') ?></label> - <p><input type="text" name="settings[s4w_server][info][single][port]" value="<?php echo $s4w_settings['s4w_server']['info']['single']['port']?>" /></p> - <label><?php _e('Solr Path', 'solr4wp') ?></label> - <p><input type="text" name="settings[s4w_server][info][single][path]" value="<?php echo $s4w_settings['s4w_server']['info']['single']['path']?>" /></p> - </div> - <div class="solr_adminR2" id="solr_admin_tab3"> - <table> - <tr> - <?php - //we are working with multiserver setup so lets - //lets provide an extra fields for extra host on the fly by appending an empty array - //this will always give a count of current servers+1 - $serv_count = count($s4w_settings['s4w_server']['info']); - $s4w_settings['s4w_server']['info'][$serv_count] = array('host'=>'','port'=>'', 'path'=>''); - foreach ($s4w_settings['s4w_server']['info'] as $server_id => $server) { - if ($server_id == "single") - continue; - //lets set serverIDs - $new_id =(is_numeric($server_id)) ? 'slave_'.$server_id : $server_id ; - ?> - <td> - <label><?php _e('ServerID', 'solr4wp') ?>: <strong><?php echo $new_id; ?></strong></label> - <p>Update Server: <input name="settings[s4w_server][type][update]" type="radio" value="<?php echo $new_id?>" <?php s4w_checkConnectOption($s4w_settings['s4w_server']['type']['update'], $new_id); ?> /></p> - <p>Search Server: <input name="settings[s4w_server][type][search]" type="radio" value="<?php echo $new_id?>" <?php s4w_checkConnectOption($s4w_settings['s4w_server']['type']['search'], $new_id); ?> /></p> - <label><?php _e('Solr Host', 'solr4wp') ?></label> - <p><input type="text" name="settings[s4w_server][info][<?php echo $new_id ?>][host]" value="<?php echo $server['host'] ?>" /></p> - <label><?php _e('Solr Port', 'solr4wp') ?></label> - <p><input type="text" name="settings[s4w_server][info][<?php echo $new_id ?>][port]" value="<?php echo $server['port'] ?>" /></p> - <label><?php _e('Solr Path', 'solr4wp') ?></label> - <p><input type="text" name="settings[s4w_server][info][<?php echo $new_id ?>][path]" value="<?php echo $server['path'] ?>" /></p> - </td> - <?php - } - ?> - </tr> - </table> - </div> - </div> - <ol> - <li id="solr_admin_tab1_btn" class="solr_admin_tab1"> - </li> - <li id="solr_admin_tab2_btn" class="solr_admin_tab2"> - <h4><input id="solrconnect_single" name="settings[s4w_connect_type]" type="radio" value="solr_single" <?php s4w_checkConnectOption($s4w_settings['s4w_connect_type'], 'solr_single'); ?> onclick="switch1();" />Single Solr Server</h4> - <ol> - <li>Download, install and configure your own <a href="http://lucene.apache.org/solr/">Apache Solr</a> instance</li> - </ol> - </li> - <li id="solr_admin_tab3_btn" class="solr_admin_tab3"> - <h4><input id="solrconnect_separated" name="settings[s4w_connect_type]" type="radio" value="solr_separated" <?php s4w_checkConnectOption($s4w_settings['s4w_connect_type'], 'solr_separated'); ?> onclick="switch1();" />Separated Solr Servers</h4> - <ol> - <li>Separate URL's for updates and searches.</li> - </ol> - </li> - </ol> -</div> -<hr /> -<h3><?php _e('Indexing Options', 'solr4wp') ?></h3> -<table class="form-table"> - <tr valign="top"> - <th scope="row" style="width:200px;"><?php _e('Index Pages', 'solr4wp') ?></th> - <td style="width:10px;float:left;"><input type="checkbox" name="settings[s4w_index_pages]" value="1" <?php echo s4w_checkCheckbox($s4w_settings['s4w_index_pages']); ?> /></td> - <th scope="row" style="width:200px;float:left;margin-left:20px;"><?php _e('Index Posts', 'solr4wp') ?></th> - <td style="width:10px;float:left;"><input type="checkbox" name="settings[s4w_index_posts]" value="1" <?php echo s4w_checkCheckbox($s4w_settings['s4w_index_posts']); ?> /></td> - </tr> - - <tr valign="top"> - <th scope="row" style="width:200px;"><?php _e('Remove Page on Delete', 'solr4wp') ?></th> - <td style="width:10px;float:left;"><input type="checkbox" name="settings[s4w_delete_page]" value="1" <?php echo s4w_checkCheckbox($s4w_settings['s4w_delete_page']); ?> /></td> - <th scope="row" style="width:200px;float:left;margin-left:20px;"><?php _e('Remove Post on Delete', 'solr4wp') ?></th> - <td style="width:10px;float:left;"><input type="checkbox" name="settings[s4w_delete_post]" value="1" <?php echo s4w_checkCheckbox($s4w_settings['s4w_delete_post']); ?> /></td> - </tr> - - <tr valign="top"> - <th scope="row" style="width:200px;"><?php _e('Remove Page on Status Change', 'solr4wp') ?></th> - <td style="width:10px;float:left;"><input type="checkbox" name="settings[s4w_private_page]" value="1" <?php echo s4w_checkCheckbox($s4w_settings['s4w_private_page']); ?> /></td> - <th scope="row" style="width:200px;float:left;margin-left:20px;"><?php _e('Remove Post on Status Change', 'solr4wp') ?></th> - <td style="width:10px;float:left;"><input type="checkbox" name="settings[s4w_private_post]" value="1" <?php echo s4w_checkCheckbox($s4w_settings['s4w_private_post']); ?> /></td> - </tr> - - <tr valign="top"> - <th scope="row" style="width:200px;"><?php _e('Index Comments', 'solr4wp') ?></th> - <td style="width:10px;float:left;"><input type="checkbox" name="settings[s4w_index_comments]" value="1" <?php echo s4w_checkCheckbox($s4w_settings['s4w_index_comments']); ?> /></td> - </tr> - - <?php - //is this a multisite installation - if (is_multisite() && is_main_site()) { - ?> - - <tr valign="top"> - <th scope="row" style="width:200px;"><?php _e('Index all Sites', 'solr4wp') ?></th> - <td style="width:10px;float:left;"><input type="checkbox" name="settings[s4w_index_all_sites]" value="1" <?php echo s4w_checkCheckbox($s4w_settings['s4w_index_all_sites']); ?> /></td> - </tr> - <?php - } - ?> - <tr valign="top"> - <th scope="row"><?php _e('Index custom fields (comma separated names list)') ?></th> - <td><input type="text" name="settings[s4w_index_custom_fields]" value="<?php print( s4w_filter_list2str($s4w_settings['s4w_index_custom_fields'], 'solr4wp')); ?>" /></td> - </tr> - <tr valign="top"> - <th scope="row"><?php _e('Excludes Posts or Pages (comma separated ids list)') ?></th> - <td><input type="text" name="settings[s4w_exclude_pages]" value="<?php print(s4w_filter_list2str($s4w_settings['s4w_exclude_pages'], 'solr4wp')); ?>" /></td> - </tr> -</table> -<hr /> -<h3><?php _e('Result Options', 'solr4wp') ?></h3> -<table class="form-table"> - <tr valign="top"> - <th scope="row" style="width:200px;"><?php _e('Output Result Info', 'solr4wp') ?></th> - <td style="width:10px;float:left;"><input type="checkbox" name="settings[s4w_output_info]" value="1" <?php echo s4w_checkCheckbox($s4w_settings['s4w_output_info']); ?> /></td> - <th scope="row" style="width:200px;float:left;margin-left:20px;"><?php _e('Output Result Pager', 'solr4wp') ?></th> - <td style="width:10px;float:left;"><input type="checkbox" name="settings[s4w_output_pager]" value="1" <?php echo s4w_checkCheckbox($s4w_settings['s4w_output_pager']); ?> /></td> - </tr> - - <tr valign="top"> - <th scope="row" style="width:200px;"><?php _e('Output Facets', 'solr4wp') ?></th> - <td style="width:10px;float:left;"><input type="checkbox" name="settings[s4w_output_facets]" value="1" <?php echo s4w_checkCheckbox($s4w_settings['s4w_output_facets']); ?> /></td> - <th scope="row" style="width:200px;float:left;margin-left:20px;"><?php _e('Category Facet as Taxonomy', 'solr4wp') ?></th> - <td style="width:10px;float:left;"><input type="checkbox" name="settings[s4w_cat_as_taxo]" value="1" <?php echo s4w_checkCheckbox($s4w_settings['s4w_cat_as_taxo']); ?> /></td> - </tr> - - <tr valign="top"> - <th scope="row" style="width:200px;"><?php _e('Categories as Facet', 'solr4wp') ?></th> - <td style="width:10px;float:left;"><input type="checkbox" name="settings[s4w_facet_on_categories]" value="1" <?php echo s4w_checkCheckbox($s4w_settings['s4w_facet_on_categories']); ?> /></td> - <th scope="row" style="width:200px;float:left;margin-left:20px;"><?php _e('Tags as Facet', 'solr4wp') ?></th> - <td style="width:10px;float:left;"><input type="checkbox" name="settings[s4w_facet_on_tags]" value="1" <?php echo s4w_checkCheckbox($s4w_settings['s4w_facet_on_tags']); ?> /></td> - </tr> - - <tr valign="top"> - <th scope="row" style="width:200px;"><?php _e('Author as Facet', 'solr4wp') ?></th> - <td style="width:10px;float:left;"><input type="checkbox" name="settings[s4w_facet_on_author]" value="1" <?php echo s4w_checkCheckbox($s4w_settings['s4w_facet_on_author']); ?> /></td> - <th scope="row" style="width:200px;float:left;margin-left:20px;"><?php _e('Type as Facet', 'solr4wp') ?></th> - <td style="width:10px;float:left;"><input type="checkbox" name="settings[s4w_facet_on_type]" value="1" <?php echo s4w_checkCheckbox($s4w_settings['s4w_facet_on_type']); ?> /></td> - </tr> - - <tr valign="top"> - <th scope="row" style="width:200px;"><?php _e('Taxonomy as Facet', 'solr4wp') ?></th> - <td style="width:10px;float:left;"><input type="checkbox" name="settings[s4w_facet_on_taxonomy]" value="1" <?php echo s4w_checkCheckbox($s4w_settings['s4w_facet_on_taxonomy']); ?> /></td> - </tr> - - <tr valign="top"> - <th scope="row"><?php _e('Custom fields as Facet (comma separated ordered names list)') ?></th> - <td><input type="text" name="settings[s4w_facet_on_custom_fields]" value="<?php print( s4w_filter_list2str($s4w_settings['s4w_facet_on_custom_fields'], 'solr4wp')); ?>" /></td> - </tr> - - <tr valign="top"> - <th scope="row" style="width:200px;"><?php _e('Enable Spellchecking', 'solr4wp') ?></th> - <td style="width:10px;float:left;"><input type="checkbox" name="settings[s4w_enable_dym]" value="1" <?php echo s4w_checkCheckbox($s4w_settings['s4w_enable_dym']); ?> /></td> - </tr> - - <tr valign="top"> - <th scope="row"><?php _e('Number of Results Per Page', 'solr4wp') ?></th> - <td><input type="text" name="settings[s4w_num_results]" value="<?php _e($s4w_settings['s4w_num_results'], 'solr4wp'); ?>" /></td> - </tr> - - <tr valign="top"> - <th scope="row"><?php _e('Max Number of Tags to Display', 'solr4wp') ?></th> - <td><input type="text" name="settings[s4w_max_display_tags]" value="<?php _e($s4w_settings['s4w_max_display_tags'], 'solr4wp'); ?>" /></td> - </tr> -</table> -<hr /> -<?php settings_fields('s4w-options-group'); ?> - -<p class="submit"> -<input type="hidden" name="action" value="update" /> -<input id="settingsbutton" type="submit" class="button-primary" value="<?php _e('Save Changes', 'solr4wp') ?>" /> -</p> - -</form> -<hr /> -<form method="post" action="options-general.php?page=solr-for-wordpress/solr-for-wordpress.php"> -<h3><?php _e('Actions', 'solr4wp') ?></h3> -<table class="form-table"> - <tr valign="top"> - <th scope="row"><?php _e('Check Server Settings', 'solr4wp') ?></th> - <td><input type="submit" class="button-primary" name="s4w_ping" value="<?php _e('Execute', 'solr4wp') ?>" /></td> - </tr> - - <?php if(is_multisite()) { ?> - <tr valign="top"> - <th scope="row"><?php _e('Push Solr Configuration to All Blogs', 'solr4wp') ?></th> - <td><input type="submit" class="button-primary" name="s4w_init_blogs" value="<?php _e('Execute', 'solr4wp') ?>" /></td> - </tr> - <?php } ?> - - - <tr valign="top"> - <th scope="row"><?php _e('Load All Pages', 'solr4wp') ?></th> - <td><input type="submit" class="button-primary" name="s4w_pageload" value="<?php _e('Execute', 'solr4wp') ?>" /></td> - </tr> - - <tr valign="top"> - <th scope="row"><?php _e('Load All Posts', 'solr4wp') ?></th> - <td><input type="submit" class="button-primary" name="s4w_postload" value="<?php _e('Execute', 'solr4wp') ?>" /></td> - </tr> - - <tr valign="top"> - <th scope="row"><?php _e('Optimize Index', 'solr4wp') ?></th> - <td><input type="submit" class="button-primary" name="s4w_optimize" value="<?php _e('Execute', 'solr4wp') ?>" /></td> - </tr> - - <tr valign="top"> - <th scope="row"><?php _e('Delete All', 'solr4wp') ?></th> - <td><input type="submit" class="button-primary" name="s4w_deleteall" value="<?php _e('Execute', 'solr4wp') ?>" /></td> - </tr> -</table> -</form> - -</div> diff --git a/wp-content/plugins/solr-for-wordpress/template/autocomplete.css b/wp-content/plugins/solr-for-wordpress/template/autocomplete.css deleted file mode 100644 index 1346245d0..000000000 --- a/wp-content/plugins/solr-for-wordpress/template/autocomplete.css +++ /dev/null @@ -1,27 +0,0 @@ -.ac_results { - border: 1px solid gray; - background-color: white; - padding: 0; - margin: 0; - list-style: none; - position: absolute; - z-index: 10000; - display: none; -} - -.ac_results li { - padding: 2px 5px; - white-space: nowrap; - color: #101010; - text-align: left; -} - -.ac_over { - cursor: pointer; - background-color: #F0F0B8; -} - -.ac_match { - text-decoration: underline; - color: black; -} \ No newline at end of file diff --git a/wp-content/plugins/solr-for-wordpress/template/s4w_search.php b/wp-content/plugins/solr-for-wordpress/template/s4w_search.php deleted file mode 100644 index 70f5755fc..000000000 --- a/wp-content/plugins/solr-for-wordpress/template/s4w_search.php +++ /dev/null @@ -1,182 +0,0 @@ -<?php -/* -Template Name: Search -*/ -?> - -<?php get_header(); ?> -<div id="content"> - -<div class="solr clearfix"> - -<?php - $results = s4w_search_results(); - if (!isset($results['results']) || $results['results'] === NULL) { - echo "<div class='solr_noresult'><h2>Sorry, search is unavailable right now</h2><p>Try again later?</p></div>"; - } - else { - ?> - - <div class="solr1 clearfix"> - <div class="solr_search"> - <?php if ($results['qtime']) { - printf("<label class='solr_response'>Response time: <span id=\"qrytime\">{$results['qtime']}</span> s</label>"); - } - - //if server id has been defined keep hold of it - $server = $_GET['server']; - if($server) { - $serverval = '<input name="server" type="hidden" value="'.$server.'" />'; - } - - ?> - - <form name="searchbox" method="get" id="searchbox" action=""> - <input id="qrybox" name="s" type="text" class="solr_field" value="<?php echo $results['query'] ?>"/> - <?php echo $serverval; ?> - <input id="searchbtn" type="submit" value="Search" /> - </form> - </div> - - <?php if($results['dym']) { - printf("<div class='solr_suggest'>Did you mean: <a href='%s'>%s</a> ?</div>", $results['dym']['link'], $results['dym']['term']); - } ?> - - </div> - - <div class="solr2"> - - <div class="solr_results_header clearfix"> - <div class="solr_results_headerL"> - - <?php if ($results['hits'] && $results['query'] && $results['qtime']) { - if ($results['firstresult'] === $results['lastresult']) { - printf("Displaying result %s of <span id='resultcnt'>%s</span> hits", $results['firstresult'], $results['hits']); - } else { - printf("Displaying results %s-%s of <span id='resultcnt'>%s</span> hits", $results['firstresult'], $results['lastresult'], $results['hits']); - } - } ?> - - </div> - <div class="solr_results_headerR"> - <ol class="solr_sort2"> - <li class="solr_sort_drop"><a href="<?php echo $results['sorting']['scoredesc'] ?>">Relevance<span></span></a></li> - <li><a href="<?php echo $results['sorting']['datedesc'] ?>">Newest</a></li> - <li><a href="<?php echo $results['sorting']['dateasc'] ?>">Oldest</a></li> - <li><a href="<?php echo $results['sorting']['commentsdesc'] ?>">Most Comments</a></li> - <li><a href="<?php echo $results['sorting']['commentsasc'] ?>">Least Comments</a></li> - </ol> - <div class="solr_sort">Sort by:</div> - </div> - </div> - - <div class="solr_results"> - -<?php - - - if ($results['hits'] === "0") { - printf("<div class='solr_noresult'> - <h2>Sorry, no results were found.</h2> - <h3>Perhaps you mispelled your search query, or need to try using broader search terms.</h3> - <p>For example, instead of searching for 'Apple iPhone 3.0 3GS', try something simple like 'iPhone'.</p> - </div>\n"); - } else { - printf("<ol>\n"); - foreach($results['results'] as $result) { - printf("<li onclick=\"window.location='%s'\">\n", $result['permalink']); - printf("<h2><a href='%s'>%s</a></h2>\n", $result['permalink'], $result['title']); - printf("<p>%s <a href='%s'>(comment match)</a></p>\n", $result['teaser'], $result['comment_link']); - printf("<label> By <a href='%s'>%s</a> in %s %s - <a href='%s'>%s comments</a></label>\n", - $result['authorlink'], - $result['author'], - get_the_category_list( ', ', '', $result['id']), - date('m/d/Y', strtotime($result['date'])), - $result['comment_link'], - $result['numcomments']); - printf("</li>\n"); - } - printf("</ol>\n"); - } ?> - - <?php if ($results['pager']) { - printf("<div class='solr_pages'>"); - $itemlinks = array(); - $pagecnt = 0; - $pagemax = 10; - $next = ''; - $prev = ''; - $found = false; - foreach($results['pager'] as $pageritm) { - if ($pageritm['link']) { - if ($found && $next === '') { - $next = $pageritm['link']; - } else if ($found == false) { - $prev = $pageritm['link']; - } - - $itemlinks[] = sprintf("<a href='%s'>%s</a>", $pageritm['link'], $pageritm['page']); - } else { - $found = true; - $itemlinks[] = sprintf("<a class='solr_pages_on' href='%s'>%s</a>", $pageritm['link'], $pageritm['page']); - } - - $pagecnt += 1; - if ($pagecnt == $pagemax) { - break; - } - } - - if ($prev !== '') { - printf("<a href='%s'>Previous</a>", $prev); - } - - foreach ($itemlinks as $itemlink) { - echo $itemlink; - } - - if ($next !== '') { - printf("<a href='%s'>Next</a>", $next); - } - - printf("</div>\n"); - } ?> - - - </div> - </div> - - <div class="solr3"> - <ul class="solr_facets"> - - <li class="solr_active"> - <ol> - <?php if ($results['facets']['selected']) { - foreach( $results['facets']['selected'] as $selectedfacet) { - printf("<li><span></span><a href=\"%s\">%s<b>x</b></a></li>", $selectedfacet['removelink'], $selectedfacet['name']); - } - } ?> - </ol> - </li> - - <?php if ($results['facets'] && $results['hits'] != 1) { - foreach($results['facets'] as $facet) { - if (sizeof($facet["items"]) > 1) { #don't display facets with only 1 value - printf("<li>\n<h3>%s</h3>\n", $facet['name']); - s4w_print_facet_items($facet["items"], "<ol>", "</ol>", "<li>", "</li>", - "<li><ol>", "</ol></li>", "<li>", "</li>"); - printf("</li>\n"); - } - } - } ?> - - </ul> - </div> - -</div> - -</div> -<?php - - } - get_footer(); ?> diff --git a/wp-content/plugins/solr-for-wordpress/template/search.css b/wp-content/plugins/solr-for-wordpress/template/search.css deleted file mode 100644 index 0c0b1b4e0..000000000 --- a/wp-content/plugins/solr-for-wordpress/template/search.css +++ /dev/null @@ -1,379 +0,0 @@ -#content { - width: auto !important; -} - -*+ html clearfix { - display: inline-block !important; -} -*+ html ul,ol { - list-style-position: outside !important; -} - - -.solr * { - line-height: 1 !important; - padding: 0 !important; - margin: 0 !important; - text-align: left !important; -} -.solr ol, .solr ul, .solr ol li, .solr ul li { - background: none !important; - list-style-type: none !important; - overflow: hidden !important; /* IE7 */ -} -.solr h2 {font-size:16px !important;} -.solr h3 {font-size:14px !important;} -.solr { - font-size: 12px !important; - line-height: 1 !important; - margin: 0 !important; - padding: 20px !important; - width: auto !important; -} -div.solr1 { - border-bottom: 1px solid #cccccc !important; - padding: 0 0 6px !important; -} -div.solr_search { - clear: both !important; - padding: 0 0 12px !important; -} -div.solr_search input { - font-size: 18px !important; -} -.solr_field { - border: 1px solid #b7b7b7 !important; - border-top: 2px solid #999999 !important; - padding: 3px !important; - margin: 0 8px 0 0 !important; - width: 330px !important; -} -ol.solr_auto { - background: #ffffff !important; - border: 1px solid #b7b7b7 !important; - width: 336px !important; - padding: 6px 0 !important; - position: absolute !important; - clear: both !important; /* IE6 */ - z-index: 100 !important; -} -.solr_auto li { - padding: 2px 8px !important; -} -.solr_auto li:hover { - background: #efffb0 !important; -} -div.solr_suggest { - padding: 0 0 5px !important; -} -label.solr_response { - font-size: 10px !important; - color: #666666 !important; - float: right !important; - position: relative !important; - top: 13px !important; -} -div.solr3 { - float: left !important; - padding: 18px 2% 0 0 !important; - width: 23% !important; -} -.solr_active span { - border-top: 4px solid #ffffff !important; - border-left: 5px solid #999999 !important; - border-bottom: 4px solid #ffffff !important; - font-size: 0 !important; - line-height: 0 !important; - width: 0 !important; - margin: 0 4px 0 0 !important; - position: relative !important; - bottom: 4px !important; - zoom: 1 !important; /* IE7 */ -} -.solr_active b { - font-family: Arial, Verdana, Helvetica, sans-serif !important; - font-weight: bold !important; - color: #999999 !important; -} -.solr_active a { - text-decoration: none !important; -} -.solr_facets ol li { - padding: 3px 0 3px !important; -} -.solr_facets ol li ol { - padding: 3px 0 0 10px !important; -} -.solr_facets h3 { - padding: 10px 0 3px !important; -} -.solr_active ol li { - padding: 3px 0 !important; -} -.solr_active a { - color: #000000 !important; -} -div.solr2 { - float: right !important; - padding: 8px 0 0 !important; - width: 70% !important; -} -div.solr_results_header { - font-size: 10px !important; - color: #666666 !important; - padding: 0 0 4px !important; -} -div.solr_results_headerL { - width: 60% !important; - float: left !important; - padding: 0 0 0 12px !important; -} -div.solr_results_headerR { - width: 35% !important; - font-weight: bold !important; - float: right !important; -} -.solr_sort { - margin: 4px 4px 0 0 !important; - float: right !important; -} -ol.solr_sort2 { - background: #ffffff !important; - text-decoration: none !important; - border: 1px solid #cccccc !important; - padding: 2px 0 1px !important; - float: right !important; -} -.solr_sort2 li { - display: block !important; /* FF3 */ - padding: 2px 2px 2px 4px !important; -} -.solr_sort2 li:hover { - background: #efffb0 !important; -} -.solr_sort2 a { - text-decoration: none !important; -} -.solr_sort_drop span { - border-top: 4px solid #999999 !important; - border-right: 4px solid #ffffff !important; - border-left: 5px solid #ffffff !important; - font-size: 0 !important; - line-height: 0 !important; - width: 0 !important; - margin: 0 0 0 2px !important; - position: relative !important; - bottom: 1px !important; - zoom: 1 !important; /* IE7 */ -} - -.solr_results ol { - font-size: 12px !important; - padding: 0 0 14px !important; - clear: both !important; /* IE7 */ -} -.solr_results li { - border-bottom: 1px solid #e6e6e6 !important; - padding: 14px 12px !important; -} -.solr_results li:hover { - background: #efffb0 !important; -} -.solr_results img { - height: 50px !important; - border: 1px solid #cccccc !important; - float: right !important; - display: block; - margin: 0 0 0 5px !important; -} -.solr_results h2 { - font-weight: normal !important; - line-height: 1.1 !important; - padding: 0 0 5px !important; -} -.solr_results label { - font-size: 10px !important; - color: #666666 !important; - padding: 5px 0 0 !important; - display: block !important; -} -.solr_pages { - font-size: 14px !important; - font-weight: bold !important; - text-align: right !important; -} -.solr_pages a { - margin: 0 0 0 5px !important; -} -.solr_pages_on { - color: #000000 !important; -} -div.solr_noresult { - padding: 20px 5% 40px 0 !important; -} -.solr_noresult h2 { - font-weight: normal !important; - line-height: 1.2 !important; - padding: 0 0 14px !important; -} -.solr_noresult h3 { - font-weight: normal !important; - line-height: 1.2 !important; - padding: 0 0 14px !important; -} -.solr_noresult p { - font-weight: normal !important; - line-height: 1.2 !important; -} - - -.solr_HL { - background: #efffb0 !important; -} - -.solr_admin { - font-size: 14px; - color: #464646; - min-width: 800px; - padding: 0 0 20px; -} -.solr_admin h4 { - font-family: Georgia; - font-size: 20px; - font-style: italic; - font-weight: normal; - margin: 0; -} -.solr_admin h4 input { - margin-right: 3px; -} -.solr_admin h5 { - font-size: 14px; - padding: 0 0 12px; -} -.solr_admin ol { - list-style-type: none; - width: 35%; - float: right; - position: relative; - left: 1px; - margin-left: 0; -} -.solr_admin li { - color: #999999; - background: #eeeeee; - padding: 12px; - margin-bottom: 0; -} -.solr_admin ol li ol { - width: auto; - float: none; - left: 0; - padding: 5px 0 0 32px; -} - -.solr_admin ol li ol li { - font-size: 12px; - line-height: 1.2; - background: none; - list-style-type: disc; - list-style-position: outside; - padding: 1px 0; -} - -.solr_admin_tab1 { - border: 1px solid #cccccc; - -moz-border-radius-topleft:6px; - -webkit-border-top-left-radius:6px; -} - -.solr_admin_tab2 { - border-right: 1px solid #cccccc; - border-bottom: 1px solid #cccccc; - border-left: 1px solid #cccccc; - -moz-border-radius-bottomleft:6px; - -webkit-border-bottom-left-radius:6px; -} - -.solr_admin_tab2 h4 { - font-size: 18px; -} - -.solr_admin_tab3 { - border-right: 1px solid #cccccc; - border-bottom: 1px solid #cccccc; - border-left: 1px solid #cccccc; - -moz-border-radius-bottomleft:6px; - -webkit-border-bottom-left-radius:6px; -} - -.solr_admin_tab3 h4 { - font-size: 18px; -} -.solr_adminR { - background: #ffffff; - float: right; - width: 65%; -} - -li.solr_admin_on { - color: #464646; - background: #ffffff; - border-right: 1px solid #eeeeee; -} - -li.solr_admin_on li { - color: #464646; -} - -.solr_adminR1, .solr_adminR2 { - border: 1px solid #cccccc; - -moz-border-radius-topright:6px; - -moz-border-radius-bottomright:6px; - -moz-border-radius-bottomleft:6px; - -webkit-border-top-right-radius:6px; - -webkit-border-bottom-right-radius:6px; - -webkit-border-bottom-left-radius:6px; - padding: 24px 32px; -} -.solr_adminR2 { - display: none; -} -.solr_adminR label { - display: block; - padding: 0 0 2px 3px; -} -.solr_adminR span { - font-size: 11px; - font-weight: bold; - color: #00CC00; - font: block; - padding: 0 0 2px 3px; -} -span.solr_admin_warning { - color: #FF9900; -} -.solr_adminR p { - padding: 0 0 10px; -} -.solr_adminR input[type=text] { - width: 220px; -} - -/*CLEARFIX*/ -.clearfix:after { - content: " "; - display: block; - height: 0; - clear: both; - visibility: hidden; - font-size: 0; -} -.clearfix { - display: block;/*the holly hack for a bug in IE6 for Windows*/ -} -* html .clearfix {height: 1%;}/* Hides from IE-mac \*/ -/* END CLEARFIX*/ -.clear { - clear: both; -} -- GitLab