diff --git a/profiles/wcm_base/CHANGELOG.txt b/profiles/wcm_base/CHANGELOG.txt index 0540fd0c97bf48a86c33c7600cf25b1002bf036e..dd1fb4cc9e9d6088224ecb3e03e74cd90633fe2c 100644 --- a/profiles/wcm_base/CHANGELOG.txt +++ b/profiles/wcm_base/CHANGELOG.txt @@ -1,3 +1,9 @@ +WCM Base 7.x-1.x, 2016-11-22 +---------------------------- +- WCM Base: Updated Panopoly to 1.41. +- WCM Tile Panes: Added centered icon style to textarea tile panes. +- WCM URL Aliases: Patched Redirect module to reproduce Global Redirect functions. + WCM Base 7.x-1.x, 2016-11-17 ---------------------------- - WCM Base: Updated Drupal core to 7.52. diff --git a/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/Document.php b/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/Document.php index 7b9784a70c9827f9dae1a3ee1a905694f0f5b01b..0d439ea8e5ab8a3ecd308d803106b82c5432d843 100644 --- a/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/Document.php +++ b/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/Document.php @@ -1,39 +1,38 @@ <?php /** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. + * Copyright (c) 2007-2013, PTC 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 PTC 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. * - * 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 $ + * @copyright Copyright 2007-2013 PTC Inc. (http://ptc.com) + * @license https://raw.github.com/PTCInc/solr-php-client/master/COPYING 3-Clause BSD * * @package Apache * @subpackage Solr - * @author Donovan Jimenez <djimenez@conduit-it.com> + * @author Donovan Jimenez */ /** @@ -60,12 +59,12 @@ class Apache_Solr_Document implements IteratorAggregate /** * SVN Revision meta data for this class */ - const SVN_REVISION = '$Revision: 54 $'; + const SVN_REVISION = '$Revision$'; /** * SVN ID meta data for this class */ - const SVN_ID = '$Id: Document.php 54 2011-02-04 16:29:18Z donovan.jimenez $'; + const SVN_ID = '$Id$'; /** * Document boost value diff --git a/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/Exception.php b/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/Exception.php index e6bc4f4b6bcbae8e0bc148d4012f2ca07222ecec..28c30bac0124c08ee68c15a2bb6ef5db03934f20 100644 --- a/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/Exception.php +++ b/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/Exception.php @@ -1,39 +1,38 @@ <?php /** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. + * Copyright (c) 2007-2013, PTC 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 PTC 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. * - * 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 $ + * @copyright Copyright 2007-2013 PTC Inc. (http://ptc.com) + * @license https://raw.github.com/PTCInc/solr-php-client/master/COPYING 3-Clause BSD * * @package Apache * @subpackage Solr - * @author Donovan Jimenez <djimenez@conduit-it.com> + * @author Donovan Jimenez */ class Apache_Solr_Exception extends Exception @@ -41,10 +40,10 @@ class Apache_Solr_Exception extends Exception /** * SVN Revision meta data for this class */ - const SVN_REVISION = '$Revision: 54 $'; + const SVN_REVISION = '$Revision$'; /** * SVN ID meta data for this class */ - const SVN_ID = '$Id: Exception.php 54 2011-02-04 16:29:18Z donovan.jimenez $'; + const SVN_ID = '$Id$'; } \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/HttpTransport/Abstract.php b/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/HttpTransport/Abstract.php index cf9f76d38ac1a6fe0c39d84d95521baa493a1815..16ecda607494fb07c4cded7c68de537f87d4990b 100644 --- a/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/HttpTransport/Abstract.php +++ b/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/HttpTransport/Abstract.php @@ -1,39 +1,38 @@ <?php /** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. + * Copyright (c) 2007-2013, PTC 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 PTC 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. * - * 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: $ + * @copyright Copyright 2007-2013 PTC Inc. (http://ptc.com) + * @license https://raw.github.com/PTCInc/solr-php-client/master/COPYING 3-Clause BSD * * @package Apache * @subpackage Solr - * @author Timo Schmidt <timo.schmidt@aoemedia.de>, Donovan Jimenez <djimenez@conduit-it.com> + * @author Timo Schmidt <timo.schmidt@aoemedia.de>, Donovan Jimenez */ /** @@ -48,7 +47,7 @@ abstract class Apache_Solr_HttpTransport_Abstract implements Apache_Solr_HttpTra * @var float */ private $_defaultTimeout = false; - + /** * Get the current default timeout setting (initially the default_socket_timeout ini setting) * in seconds diff --git a/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/HttpTransport/Curl.php b/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/HttpTransport/Curl.php index 7cb7743e693533738110952096ac191d13e5cd5d..6b4dc1e8ba5f160c6c7f2f2f53fcfefac2399def 100644 --- a/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/HttpTransport/Curl.php +++ b/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/HttpTransport/Curl.php @@ -1,39 +1,38 @@ <?php /** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. + * Copyright (c) 2007-2013, PTC 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 PTC 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. * - * 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: $ + * @copyright Copyright 2007-2013 PTC Inc. (http://ptc.com) + * @license https://raw.github.com/PTCInc/solr-php-client/master/COPYING 3-Clause BSD * * @package Apache * @subpackage Solr - * @author Timo Schmidt <timo.schmidt@aoemedia.de>, Donovan Jimenez <djimenez@conduit-it.com> + * @author Timo Schmidt <timo.schmidt@aoemedia.de>, Donovan Jimenez */ // Require Apache_Solr_HttpTransport_Abstract @@ -90,6 +89,15 @@ class Apache_Solr_HttpTransport_Curl extends Apache_Solr_HttpTransport_Abstract // close our curl session curl_close($this->_curl); } + + public function setAuthenticationCredentials($username, $password) + { + // add the options to our curl handle + curl_setopt_array($this->_curl, array( + CURLOPT_USERPWD => $username . ":" . $password, + CURLOPT_HTTPAUTH => CURLAUTH_BASIC + )); + } public function performGetRequest($url, $timeout = false) { diff --git a/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/HttpTransport/CurlNoReuse.php b/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/HttpTransport/CurlNoReuse.php index 14549588ee77428e05d9fc85e5b4a93c30657ad8..3220eddaa8840502c263c847ead02424cc1f5712 100644 --- a/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/HttpTransport/CurlNoReuse.php +++ b/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/HttpTransport/CurlNoReuse.php @@ -1,39 +1,38 @@ <?php /** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. + * Copyright (c) 2007-2013, PTC 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 PTC 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. * - * 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: $ + * @copyright Copyright 2007-2013 PTC Inc. (http://ptc.com) + * @license https://raw.github.com/PTCInc/solr-php-client/master/COPYING 3-Clause BSD * * @package Apache * @subpackage Solr - * @author Timo Schmidt <timo.schmidt@aoemedia.de>, Donovan Jimenez <djimenez@conduit-it.com> + * @author Timo Schmidt <timo.schmidt@aoemedia.de>, Donovan Jimenez */ // Require Apache_Solr_HttpTransport_Abstract @@ -55,6 +54,14 @@ class Apache_Solr_HttpTransport_CurlNoReuse extends Apache_Solr_HttpTransport_Ab * SVN ID meta data for this class */ const SVN_ID = '$Id:$'; + + private $_authString = false; + + public function setAuthenticationCredentials($username, $password) + { + // this is how curl wants it for the CURLOPT_USERPWD + $this->_authString = $username . ":" . $password; + } public function performGetRequest($url, $timeout = false) { @@ -84,6 +91,15 @@ class Apache_Solr_HttpTransport_CurlNoReuse extends Apache_Solr_HttpTransport_Ab // set the timeout CURLOPT_TIMEOUT => $timeout )); + + // set auth if appropriate + if ($this->_authString !== false) + { + curl_setopt_array($curl, array( + CURLOPT_USERPWD => $this->_authString, + CURLOPT_HTTPAUTH => CURLAUTH_BASIC + )); + } // make the request $responseBody = curl_exec($curl); @@ -130,6 +146,15 @@ class Apache_Solr_HttpTransport_CurlNoReuse extends Apache_Solr_HttpTransport_Ab CURLOPT_TIMEOUT => $timeout )); + // set auth if appropriate + if ($this->_authString !== false) + { + curl_setopt_array($curl, array( + CURLOPT_USERPWD => $this->_authString, + CURLOPT_HTTPAUTH => CURLAUTH_BASIC + )); + } + // make the request $responseBody = curl_exec($curl); @@ -181,6 +206,15 @@ class Apache_Solr_HttpTransport_CurlNoReuse extends Apache_Solr_HttpTransport_Ab CURLOPT_TIMEOUT => $timeout )); + // set auth if appropriate + if ($this->_authString !== false) + { + curl_setopt_array($curl, array( + CURLOPT_USERPWD => $this->_authString, + CURLOPT_HTTPAUTH => CURLAUTH_BASIC + )); + } + // make the request $responseBody = curl_exec($curl); diff --git a/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/HttpTransport/FileGetContents.php b/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/HttpTransport/FileGetContents.php index 5e01775cd5076dc515e06a43934b29ad360d9cce..7cd9687af93f02883706c39e0efe796de48d4464 100644 --- a/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/HttpTransport/FileGetContents.php +++ b/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/HttpTransport/FileGetContents.php @@ -1,39 +1,38 @@ <?php /** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. + * Copyright (c) 2007-2013, PTC 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 PTC 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. * - * 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: $ + * @copyright Copyright 2007-2013 PTC Inc. (http://ptc.com) + * @license https://raw.github.com/PTCInc/solr-php-client/master/COPYING 3-Clause BSD * * @package Apache * @subpackage Solr - * @author Donovan Jimenez <djimenez@conduit-it.com> + * @author Donovan Jimenez */ // Require Apache_Solr_HttpTransport_Abstract @@ -61,6 +60,15 @@ class Apache_Solr_HttpTransport_FileGetContents extends Apache_Solr_HttpTranspor */ private $_getContext, $_headContext, $_postContext; + /** + * For POST operations, we're already using the Header context value for + * specifying the content type too, so we have to keep our computed + * authorization header around + * + * @var string + */ + private $_authHeader = ""; + /** * Initializes our reuseable get and post stream contexts */ @@ -70,6 +78,20 @@ class Apache_Solr_HttpTransport_FileGetContents extends Apache_Solr_HttpTranspor $this->_headContext = stream_context_create(); $this->_postContext = stream_context_create(); } + + public function setAuthenticationCredentials($username, $password) + { + // compute the Authorization header + $this->_authHeader = "Authorization: Basic " . base64_encode($username . ":" . $password); + + // set it now for get and head contexts + stream_context_set_option($this->_getContext, 'http', 'header', $this->_authHeader); + stream_context_set_option($this->_headContext, 'http', 'header', $this->_authHeader); + + // for post, it'll be set each time, so add an \r\n so it can be concatenated + // with the Content-Type + $this->_authHeader .= "\r\n"; + } public function performGetRequest($url, $timeout = false) { @@ -87,7 +109,7 @@ class Apache_Solr_HttpTransport_FileGetContents extends Apache_Solr_HttpTranspor // 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 @@ -136,8 +158,8 @@ class Apache_Solr_HttpTransport_FileGetContents extends Apache_Solr_HttpTranspor // set HTTP method 'method' => 'POST', - // Add our posted content type - 'header' => "Content-Type: $contentType", + // Add our posted content type (and auth header - see setAuthentication) + 'header' => "{$this->_authHeader}Content-Type: {$contentType}", // the posted content 'content' => $rawPost, diff --git a/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/HttpTransport/Interface.php b/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/HttpTransport/Interface.php index 090fc27abba990c28d9c8403bc0fa7ef57ec8896..1ca59d90a5d2ad3463415a90a9c9337e2f9a8ae9 100644 --- a/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/HttpTransport/Interface.php +++ b/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/HttpTransport/Interface.php @@ -1,39 +1,38 @@ <?php /** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. + * Copyright (c) 2007-2013, PTC 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 PTC 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. * - * 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: $ + * @copyright Copyright 2007-2013 PTC Inc. (http://ptc.com) + * @license https://raw.github.com/PTCInc/solr-php-client/master/COPYING 3-Clause BSD * * @package Apache * @subpackage Solr - * @author Timo Schmidt <timo.schmidt@aoemedia.de>, Donovan Jimenez <djimenez@conduit-it.com> + * @author Timo Schmidt <timo.schmidt@aoemedia.de>, Donovan Jimenez */ // require Apache_Solr_HttpTransport_Response @@ -59,7 +58,17 @@ interface Apache_Solr_HttpTransport_Interface * @param float $timeout */ public function setDefaultTimeout($timeout); - + + /** + * Set authentication credentials to pass along with the requests. + * + * These will be used to perform HTTP Basic authentication. + * + * @param string $username + * @param string $password + */ + public function setAuthenticationCredentials($username, $password); + /** * Perform a GET HTTP operation with an optional timeout and return the response * contents, use getLastResponseHeaders to retrieve HTTP headers diff --git a/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/HttpTransport/Response.php b/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/HttpTransport/Response.php index 3f113aee887a2c5aae12a5ac2d3a1826f29b0607..f65bca403ed4b9d0f0fd2c2e84823a952b7b004c 100644 --- a/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/HttpTransport/Response.php +++ b/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/HttpTransport/Response.php @@ -1,39 +1,38 @@ <?php /** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. + * Copyright (c) 2007-2013, PTC 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 PTC 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. * - * 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: $ + * @copyright Copyright 2007-2013 PTC Inc. (http://ptc.com) + * @license https://raw.github.com/PTCInc/solr-php-client/master/COPYING 3-Clause BSD * * @package Apache * @subpackage Solr - * @author Donovan Jimenez <djimenez@conduit-it.com> + * @author Donovan Jimenez */ /** diff --git a/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/HttpTransportException.php b/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/HttpTransportException.php index 83c0001b19ca727ae98606bf98f01c6ac9bc177f..642b7b64b81de9bd8f878994d813853ea7e5b9cc 100644 --- a/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/HttpTransportException.php +++ b/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/HttpTransportException.php @@ -1,39 +1,38 @@ <?php /** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. + * Copyright (c) 2007-2013, PTC 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 PTC 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. * - * 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 $ + * @copyright Copyright 2007-2013 PTC Inc. (http://ptc.com) + * @license https://raw.github.com/PTCInc/solr-php-client/master/COPYING 3-Clause BSD * * @package Apache * @subpackage Solr - * @author Donovan Jimenez <djimenez@conduit-it.com> + * @author Donovan Jimenez */ class Apache_Solr_HttpTransportException extends Apache_Solr_Exception @@ -41,12 +40,12 @@ class Apache_Solr_HttpTransportException extends Apache_Solr_Exception /** * SVN Revision meta data for this class */ - const SVN_REVISION = '$Revision: 54 $'; + const SVN_REVISION = '$Revision$'; /** * SVN ID meta data for this class */ - const SVN_ID = '$Id: HttpTransportException.php 54 2011-02-04 16:29:18Z donovan.jimenez $'; + const SVN_ID = '$Id$'; /** * Response for which exception was generated diff --git a/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/InvalidArgumentException.php b/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/InvalidArgumentException.php index 273f3d064aa870687107a613925b38e331cd960f..46c157022719ac5186abbf778b572a1680dd5b6f 100644 --- a/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/InvalidArgumentException.php +++ b/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/InvalidArgumentException.php @@ -1,39 +1,38 @@ <?php /** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. + * Copyright (c) 2007-2013, PTC 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 PTC 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. * - * 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 $ + * @copyright Copyright 2007-2013 PTC Inc. (http://ptc.com) + * @license https://raw.github.com/PTCInc/solr-php-client/master/COPYING 3-Clause BSD * * @package Apache * @subpackage Solr - * @author Donovan Jimenez <djimenez@conduit-it.com> + * @author Donovan Jimenez */ class Apache_Solr_InvalidArgumentException extends Apache_Solr_Exception @@ -41,10 +40,10 @@ class Apache_Solr_InvalidArgumentException extends Apache_Solr_Exception /** * SVN Revision meta data for this class */ - const SVN_REVISION = '$Revision: 54 $'; + const SVN_REVISION = '$Revision$'; /** * SVN ID meta data for this class */ - const SVN_ID = '$Id: InvalidArgumentException.php 54 2011-02-04 16:29:18Z donovan.jimenez $'; + const SVN_ID = '$Id$'; } \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/NoServiceAvailableException.php b/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/NoServiceAvailableException.php index eead73206d7bd0a4121e498a7960244eaa691291..7ea67f27305083b5089f176b3ec03fa9c3309db5 100644 --- a/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/NoServiceAvailableException.php +++ b/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/NoServiceAvailableException.php @@ -1,39 +1,38 @@ <?php /** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. + * Copyright (c) 2007-2013, PTC 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 PTC 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. * - * 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 $ + * @copyright Copyright 2007-2013 PTC Inc. (http://ptc.com) + * @license https://raw.github.com/PTCInc/solr-php-client/master/COPYING 3-Clause BSD * * @package Apache * @subpackage Solr - * @author Donovan Jimenez <djimenez@conduit-it.com> + * @author Donovan Jimenez */ class Apache_Solr_NoServiceAvailableException extends Apache_Solr_Exception @@ -41,10 +40,10 @@ class Apache_Solr_NoServiceAvailableException extends Apache_Solr_Exception /** * SVN Revision meta data for this class */ - const SVN_REVISION = '$Revision: 54 $'; + const SVN_REVISION = '$Revision$'; /** * SVN ID meta data for this class */ - const SVN_ID = '$Id: NoServiceAvailableException.php 54 2011-02-04 16:29:18Z donovan.jimenez $'; + const SVN_ID = '$Id$'; } \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/ParserException.php b/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/ParserException.php index 29283dbcda3f3d24c2a57034ba4d5af56550b7f3..43e25787922af83da985325d6062f0f2586db86e 100644 --- a/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/ParserException.php +++ b/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/ParserException.php @@ -1,39 +1,38 @@ <?php /** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. + * Copyright (c) 2007-2013, PTC 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 PTC 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. * - * 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 $ + * @copyright Copyright 2007-2013 PTC Inc. (http://ptc.com) + * @license https://raw.github.com/PTCInc/solr-php-client/master/COPYING 3-Clause BSD * * @package Apache * @subpackage Solr - * @author Donovan Jimenez <djimenez@conduit-it.com> + * @author Donovan Jimenez */ class Apache_Solr_ParserException extends Apache_Solr_Exception @@ -41,10 +40,10 @@ class Apache_Solr_ParserException extends Apache_Solr_Exception /** * SVN Revision meta data for this class */ - const SVN_REVISION = '$Revision: 54 $'; + const SVN_REVISION = '$Revision$'; /** * SVN ID meta data for this class */ - const SVN_ID = '$Id: ParserException.php 54 2011-02-04 16:29:18Z donovan.jimenez $'; + const SVN_ID = '$Id$'; } \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/Response.php b/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/Response.php index 1a35e56887818240cf9d04b26a91e92d858e77bb..59ed0871d5f9d640aada021aa715f9d7c05abfdd 100644 --- a/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/Response.php +++ b/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/Response.php @@ -1,39 +1,38 @@ <?php /** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. + * Copyright (c) 2007-2013, PTC 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 PTC 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. * - * 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 $ + * @copyright Copyright 2007-2013 PTC Inc. (http://ptc.com) + * @license https://raw.github.com/PTCInc/solr-php-client/master/COPYING 3-Clause BSD * * @package Apache * @subpackage Solr - * @author Donovan Jimenez <djimenez@conduit-it.com> + * @author Donovan Jimenez */ require_once(dirname(__FILE__) . '/ParserException.php'); @@ -50,12 +49,12 @@ class Apache_Solr_Response /** * SVN Revision meta data for this class */ - const SVN_REVISION = '$Revision: 54 $'; + const SVN_REVISION = '$Revision$'; /** * SVN ID meta data for this class */ - const SVN_ID = '$Id: Response.php 54 2011-02-04 16:29:18Z donovan.jimenez $'; + const SVN_ID = '$Id$'; /** * Holds the raw response used in construction diff --git a/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/Service.php b/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/Service.php index ea9ae3767fd0543a452b90eea79a07656a6ab86f..fa52bdd7c0d0d69832cc0c9e217cb2eb45becd0d 100644 --- a/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/Service.php +++ b/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/Service.php @@ -1,39 +1,38 @@ <?php /** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. + * Copyright (c) 2007-2013, PTC 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 PTC 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. * - * 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 $ + * @copyright Copyright 2007-2013 PTC Inc. (http://ptc.com) + * @license https://raw.github.com/PTCInc/solr-php-client/master/COPYING 3-Clause BSD * * @package Apache * @subpackage Solr - * @author Donovan Jimenez <djimenez@conduit-it.com> + * @author Donovan Jimenez */ // See Issue #1 (http://code.google.com/p/solr-php-client/issues/detail?id=1) @@ -51,49 +50,48 @@ 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: + * Example Usage (see also http://code.google.com/p/solr-php-client/wiki/ExampleUsage): * <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 :) + * $solr->deleteByQuery('*:*'); //deletes ALL documents - be careful :) * - * $document = new Apache_Solr_Document(); - * $document->id = uniqid(); //or something else suitably unique + * $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.'; + * $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 + * $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 + * $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')); - * } + * //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 $'; + const SVN_REVISION = '$Revision$'; /** * SVN ID meta data for this class */ - const SVN_ID = '$Id: Service.php 59 2011-02-08 20:38:59Z donovan.jimenez $'; + const SVN_ID = '$Id$'; + + /** + * SVN HeadURL meta data for this class + */ + const SVN_URL = '$HeadURL$'; /** * Response writer we'll request - JSON. See http://code.google.com/p/solr-php-client/issues/detail?id=6#c1 for reasoning @@ -118,6 +116,7 @@ class Apache_Solr_Service const PING_SERVLET = 'admin/ping'; const UPDATE_SERVLET = 'update'; const SEARCH_SERVLET = 'select'; + const SYSTEM_SERVLET = 'admin/system'; const THREADS_SERVLET = 'admin/threads'; const EXTRACT_SERVLET = 'update/extract'; @@ -126,7 +125,7 @@ class Apache_Solr_Service * * @var string */ - protected $_host, $_port, $_path; + protected $_protocol, $_host, $_port, $_path; /** * Whether {@link Apache_Solr_Response} objects should create {@link Apache_Solr_Document}s in @@ -165,7 +164,7 @@ class Apache_Solr_Service * * @var string */ - protected $_pingUrl, $_updateUrl, $_searchUrl, $_threadsUrl; + protected $_pingUrl, $_updateUrl, $_searchUrl, $_systemUrl, $_threadsUrl; /** * Keep track of whether our URLs have been constructed @@ -231,12 +230,14 @@ class Apache_Solr_Service * @param string $port * @param string $path * @param Apache_Solr_HttpTransport_Interface $httpTransport + * @param string $protocol */ - public function __construct($host = 'localhost', $port = 8180, $path = '/solr/', $httpTransport = false) + public function __construct($host = 'localhost', $port = 8180, $path = '/solr/', $httpTransport = false, $protocol = 'http') { $this->setHost($host); $this->setPort($port); $this->setPath($path); + $this->setProtocol($protocol); $this->_initUrls(); @@ -274,7 +275,7 @@ class Apache_Solr_Service $queryString = ''; } - return 'http://' . $this->_host . ':' . $this->_port . $this->_path . $servlet . $queryString; + return $this->_protocol . '://' . $this->_host . ':' . $this->_port . $this->_path . $servlet . $queryString; } /** @@ -286,6 +287,7 @@ class Apache_Solr_Service $this->_extractUrl = $this->_constructUrl(self::EXTRACT_SERVLET); $this->_pingUrl = $this->_constructUrl(self::PING_SERVLET); $this->_searchUrl = $this->_constructUrl(self::SEARCH_SERVLET); + $this->_systemUrl = $this->_constructUrl(self::SYSTEM_SERVLET, array('wt' => self::SOLR_WRITER)); $this->_threadsUrl = $this->_constructUrl(self::THREADS_SERVLET, array('wt' => self::SOLR_WRITER )); $this->_updateUrl = $this->_constructUrl(self::UPDATE_SERVLET, array('wt' => self::SOLR_WRITER )); @@ -458,7 +460,46 @@ class Apache_Solr_Service { $path = trim($path, '/'); - $this->_path = '/' . $path . '/'; + if (strlen($path) > 0) + { + $this->_path = '/' . $path . '/'; + } + else + { + $this->_path = '/'; + } + + if ($this->_urlsInited) + { + $this->_initUrls(); + } + } + + /** + * Get the current protocol. + * + * @return string + */ + public function getProtocol() + { + return $this->_protocol; + } + + /** + * Set the protocol used. If empty will fallback to 'http'. + * + * @param string $protcol + */ + public function setProtocol($protocol) + { + if (empty($protocol)) + { + throw new Apache_Solr_InvalidArgumentException('Protocl parameter is empty'); + } + else + { + $this->_protocol = $protocol; + } if ($this->_urlsInited) { @@ -559,6 +600,17 @@ class Apache_Solr_Service { $this->getHttpTransport()->setDefaultTimeout($timeout); } + + /** + * Convenience method to set authentication credentials on the current HTTP transport implementation + * + * @param string $username + * @param string $password + */ + public function setAuthenticationCredentials($username, $password) + { + $this->getHttpTransport()->setAuthenticationCredentials($username, $password); + } /** * Set how NamedLists should be formatted in the response data. This mainly effects @@ -641,6 +693,18 @@ class Apache_Solr_Service return false; } } + + /** + * Call the /admin/system servlet and retrieve system information about Solr + * + * @return Apache_Solr_Response + * + * @throws Apache_Solr_HttpTransportException If an error occurs during the service call + */ + public function system() + { + return $this->_sendRawGet($this->_systemUrl); + } /** * Call the /admin/threads servlet and retrieve information about all threads in the @@ -751,8 +815,8 @@ class Apache_Solr_Service foreach ($document as $key => $value) { - $key = htmlspecialchars($key, ENT_QUOTES, 'UTF-8'); $fieldBoost = $document->getFieldBoost($key); + $key = htmlspecialchars($key, ENT_QUOTES, 'UTF-8'); if (is_array($value)) { @@ -1178,4 +1242,4 @@ class Apache_Solr_Service throw new Apache_Solr_InvalidArgumentException("Unsupported method '$method', please use the Apache_Solr_Service::METHOD_* constants"); } } -} \ No newline at end of file +} diff --git a/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/Service/Balancer.php b/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/Service/Balancer.php index cad57e52b7941af95857511a927b545ad83f6cd5..1a8c0c983dbbee104cf492bdfc6ea0b56d2de009 100644 --- a/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/Service/Balancer.php +++ b/profiles/wcm_base/libraries/SolrPhpClient/Apache/Solr/Service/Balancer.php @@ -1,45 +1,43 @@ <?php /** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. + * Copyright (c) 2007-2013, PTC 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 PTC 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. * - * 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 $ + * @copyright Copyright 2007-2013 PTC Inc. (http://ptc.com) + * @license https://raw.github.com/PTCInc/solr-php-client/master/COPYING 3-Clause BSD * * @package Apache * @subpackage Solr - * @author Donovan Jimenez <djimenez@conduit-it.com>, Dan Wolfe + * @author Donovan Jimenez, 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'); /** @@ -53,12 +51,17 @@ class Apache_Solr_Service_Balancer /** * SVN Revision meta data for this class */ - const SVN_REVISION = '$Revision: 54 $'; + const SVN_REVISION = '$Revision$'; /** * SVN ID meta data for this class */ - const SVN_ID = '$Id: Balancer.php 54 2011-02-04 16:29:18Z donovan.jimenez $'; + const SVN_ID = '$Id$'; + + /** + * SVN HeadURL meta data for this class + */ + const SVN_URL = '$HeadURL$'; protected $_createDocuments = true; diff --git a/profiles/wcm_base/libraries/SolrPhpClient/COPYING b/profiles/wcm_base/libraries/SolrPhpClient/COPYING index 01522fb133c6375a628c07b8211508234498f61d..499af4bcba76f6f851bffa16a2d644e113295f14 100644 --- a/profiles/wcm_base/libraries/SolrPhpClient/COPYING +++ b/profiles/wcm_base/libraries/SolrPhpClient/COPYING @@ -1,4 +1,4 @@ -Copyright (c) 2007-2011, Servigistics, Inc. +Copyright (c) 2007-2013, PTC Inc. All rights reserved. Redistribution and use in source and binary forms, with or without @@ -9,9 +9,9 @@ modification, are permitted provided that the following conditions are met: * 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. + * Neither the name of PTC 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 diff --git a/profiles/wcm_base/libraries/SolrPhpClient/ChangeLog b/profiles/wcm_base/libraries/SolrPhpClient/ChangeLog deleted file mode 100644 index 030e40d5baebcdce11473f3921dda40e8eab20bc..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/ChangeLog +++ /dev/null @@ -1,342 +0,0 @@ -2011-02-08 20:38 donovan.jimenez - - * Apache/Solr/Service.php, tests/Apache/Solr/ServiceTest.php: See - issue #59 - Adding service extractFromUrl method. This will use - the configured HTTP transport to request the resource. extract - has been modified to detect a file path that starts with http / - https and to defer to extractFromUrl instead. Also, moved - checking for params parameter to the top of method bodies so we - can fail earlier rather than after we've gotten a file / url's - content. - -2011-02-08 19:28 donovan.jimenez - - * Apache/Solr/Service.php, tests/Apache/Solr/ServiceTest.php: See - issue #43 - Changing optimize parameter of service's commit - method to its correct name: expungeDeletes. Also harded php unit - tests around commit. - - thanks to Liam O'Boyle and Olivier Ricordeau for patches for this - commit and the previous one for issue #51 - -2011-02-08 19:11 donovan.jimenez - - * Apache/Solr/Service.php, tests/Apache/Solr/ServiceTest.php: See - issue #51 - adding commitWithin parameter to addDocument and - addDocuments. Also hardened php unit tests for this functions - -2011-02-04 16:29 donovan.jimenez - - * Apache/Solr/Document.php, Apache/Solr/Exception.php, - Apache/Solr/HttpTransport/Abstract.php, - Apache/Solr/HttpTransport/Curl.php, - Apache/Solr/HttpTransport/CurlNoReuse.php, - Apache/Solr/HttpTransport/FileGetContents.php, - Apache/Solr/HttpTransport/Interface.php, - Apache/Solr/HttpTransport/Response.php, - Apache/Solr/HttpTransportException.php, - Apache/Solr/InvalidArgumentException.php, - Apache/Solr/NoServiceAvailableException.php, - Apache/Solr/ParserException.php, Apache/Solr/Response.php, - Apache/Solr/Service.php, Apache/Solr/Service/Balancer.php, - COPYING, tests/Apache/Solr/DocumentTest.php, - tests/Apache/Solr/HttpTransport/AbstractTest.php, - tests/Apache/Solr/HttpTransport/CurlNoReuseTest.php, - tests/Apache/Solr/HttpTransport/CurlTest.php, - tests/Apache/Solr/HttpTransport/FileGetContentsTest.php, - tests/Apache/Solr/HttpTransport/ResponseTest.php, - tests/Apache/Solr/HttpTransportExceptionTest.php, - tests/Apache/Solr/ResponseTest.php, - tests/Apache/Solr/Service/BalancerTest.php, - tests/Apache/Solr/ServiceAbstractTest.php, - tests/Apache/Solr/ServiceTest.php: Updating licence and copyright - texts in sources to reflect transition from Conduit IT to - Servigistics - -2010-11-02 20:16 donovan.jimenez - - * Apache/Solr/Service.php, Apache/Solr/Service/Balancer.php, - tests/Apache/Solr/ServiceAbstractTest.php, - tests/Apache/Solr/ServiceTest.php: See issue #55 - * Adding an Apache_Solr_Service::extractFromString method - * Adding Apache_Solr_Service_Balancer::extract and - Apache_Solr_Service_Balancer::extractFromString methods - -2010-10-21 15:23 donovan.jimenez - - * ., Apache/Solr/HttpTransport, - Apache/Solr/HttpTransport/Abstract.php, - Apache/Solr/HttpTransport/Curl.php, - Apache/Solr/HttpTransport/CurlNoReuse.php, - Apache/Solr/HttpTransport/FileGetContents.php, - Apache/Solr/HttpTransport/Interface.php, - Apache/Solr/HttpTransport/Response.php, Apache/Solr/Response.php, - Apache/Solr/Service.php, Apache/Solr/Service/Balancer.php, - COPYING, tests/Apache/Solr/DocumentTest.php, - tests/Apache/Solr/HttpTransport, - tests/Apache/Solr/HttpTransport/AbstractTest.php, - tests/Apache/Solr/HttpTransport/CurlNoReuseTest.php, - tests/Apache/Solr/HttpTransport/CurlTest.php, - tests/Apache/Solr/HttpTransport/FileGetContentsTest.php, - tests/Apache/Solr/HttpTransport/ResponseTest.php, - tests/Apache/Solr/HttpTransportExceptionTest.php, - tests/Apache/Solr/ResponseTest.php, - tests/Apache/Solr/Service/BalancerTest.php, - tests/Apache/Solr/Service/TestAll.php, - tests/Apache/Solr/ServiceAbstractTest.php, - tests/Apache/Solr/ServiceTest.php, tests/Apache/Solr/TestAll.php, - tests/phpunit.bootstrap.inc, tests/phpunit.xml, tests/run.php: - Merging the http_requests branch into trunk - - See issue #49 - Service can now have the way it makes HTTP - requests plugged in. - The only requirement is that the plugin implement the new - Apache_Solr_HttpTransport_Interface. There are initial - implementations for using - file_get_contents (what was used previously) and for using the - curl module. Much - thanks to Timo Schmidt for submitting an initial patch. - - If the user does not specifically provide a transport interface - instance, the - file get contents implementation will be used by default. - - There is a compatibility breaking change on the - Apache_Solr_Response - constructor. The Signature has changed. - - The getDefaultTimeout and setDefaultTimeout methods on the - Apache_Solr_Service - class are now deprecated. They simple pass through to the active - transport's - methods of the same name, and I'd rather the user manage it - there. - - Additionally, I have cleaned up and expanded the existing unit - tests - had to - change tests related to the breaking change, and added new ones - for the new - classes as well as expanding existing ones. They should now all - pass. curl tests - should only run if the curl module is enabled. file get contents - tests should - only run if allow_url_fopen is enabled. transport tests do rely - on an internet - connection at this time. - -2010-09-07 14:44 donovan.jimenez - - * Apache/Solr/Document.php: See issue #48, doing an isset check as - part of the magic get. Return null if not. - -2010-09-07 14:34 donovan.jimenez - - * Apache/Solr/Service.php: See issue #47, adding missing argument - to getFieldBoost call in Apache_Solr_Service::extract method - -2010-07-08 22:35 donovan.jimenez - - * Apache/Solr/Service.php: See issue #37 - adding a getter / - setting for the default timeout value. Still initially populated - with the default_socket_timeout ini setting - -2010-07-08 22:21 donovan.jimenez - - * Apache/Solr/Service.php: See issue #42 - Adding missing require - once for ParserException - -2010-04-24 00:44 donovan.jimenez - - * Apache/Solr/HttpTransportException.php, Apache/Solr/Service.php: - See issue #38 - Adding support for Solr Cell (tika) extraction - handler. Thanks to Liam O'Boyle for original patch. - -2010-03-22 23:10 donovan.jimenez - - * Apache/Solr/Service.php: See Issue #39 - send charset for POST - form encoded data so that the servlet container for solr will - interpret data correctly (will usually default to latin1) - -2010-03-22 23:06 donovan.jimenez - - * Apache/Solr/Service.php: Resolving Issue #40 - when using php - with all error output or using a code analyzer, the - http_response_header variable looks as though it won't be - initialized before being used. Initializing it to null to - alleviate the emitted warning. - -2010-03-10 00:28 donovan.jimenez - - * tests, tests/Apache, tests/Apache/Solr, - tests/Apache/Solr/DocumentTest.php, - tests/Apache/Solr/ResponseTest.php, tests/Apache/Solr/Service, - tests/Apache/Solr/Service/BalancerTest.php, - tests/Apache/Solr/Service/TestAll.php, - tests/Apache/Solr/ServiceTest.php, tests/Apache/Solr/TestAll.php, - tests/README, tests/phpunit.bootstrap.inc, tests/phpunit.xml, - tests/run.php: Adding some very dusty unit tests. They are not - complete, and some recent API changes may not be reflected in - them, but they are a start. - -2010-02-20 00:01 donovan.jimenez - - * Apache/Solr/Service/Balancer.php: See Issue #34 - synchronizing - Apache_Solr_Service_Balancer public methods with changes in - Apache_Solr_Service. Specifically, adding some missing optional - timeout parameters and adding the new deleteByMultipleIds method - -2010-02-19 23:47 donovan.jimenez - - * Apache/Solr/Response.php: See Issue #35 - implementing __isset - magic method on Apache_Solr_Response - -2010-02-19 23:36 donovan.jimenez - - * Apache/Solr/Document.php, Apache/Solr/Exception.php, - Apache/Solr/HttpTransportException.php, - Apache/Solr/InvalidArgumentException.php, - Apache/Solr/NoServiceAvailableException.php, - Apache/Solr/ParserException.php, Apache/Solr/Response.php, - Apache/Solr/Service.php, Apache/Solr/Service/Balancer.php: See - Issue #36 - fix usage of generic exceptions, thanks to dennis - vierkant for the patch. - -2009-12-10 03:51 donovan.jimenez - - * Apache/Solr/Service.php: Fixes issue #28 - Fixes typo in - setNamedListTreatment function name. Thanks to alex dunae - -2009-12-10 03:49 donovan.jimenez - - * Apache/Solr/Response.php: Fixes issue #27 - when parsing the JSON - data, add a check for null so we can throw an exception if the - response seems to be invalid. Thanks to thomas rabaix for the - suggestion. - -2009-11-21 02:07 donovan.jimenez - - * Apache/Solr/Service.php: see issue #23 - removing unused (by Sorl - JSON writer) and incorrect (version did not track with Solr - version) version parameter from all requests - -2009-11-21 02:02 donovan.jimenez - - * Apache/Solr/Service.php: Fixes #26 - Do a php version check - against 5.1.3 to determine whether brackets will be url encoded - by http_build_query function. Depending on the result of the - version check use the proper regex for fixing up the query string - before passing it to Solr - -2009-11-09 22:46 donovan.jimenez - - * Apache/Solr/Service.php: Fixes #20 - in previous fix, used - stream_context_set_params when I should have used - stream_context_set_option - -2009-11-09 22:08 donovan.jimenez - - * Apache/Solr/Service.php: Fixes #20 - Reusing a get and post - context for each request instead of creating a new stream context - for each. PHP does not provide a function to delete created - stream contexts and does not appear to clean them up when they go - out of scope, which leads to high memory usage when many solr - requests were issued (typically in indexing usage) - -2009-11-09 21:32 donovan.jimenez - - * Apache/Solr/Service.php: Fixes #21 - Adding method to delete by - multiple IDs. Thanks to pwolanin - -2009-08-12 14:08 donovan.jimenez - - * Apache/Solr/Response.php: The split function is deprecated as of - PHP 5.3. Furthermore, since none of my split's were using a regex - it is better to use explode anyway. Fixes #19 - -2009-08-04 18:23 donovan.jimenez - - * Apache/Solr/Response.php, Apache/Solr/Service.php: Removed todo's - about investigating Serialized PHP and PHP output writer usage. - I've made the decision to stick to usage of JSON output writer - until it can be proven that the other output writers are more - stable or provide a substantially faster implementation. Closes - issue #6 - -2009-08-04 17:53 donovan.jimenez - - * Apache/Solr/Document.php, Apache/Solr/Response.php, - Apache/Solr/Service.php, Apache/Solr/Service/Balancer.php: Adding - useful SVN metadata constants to each Apache_Solr class by svn - keyword substitution. Fixes issue #16 - -2009-08-04 17:14 donovan.jimenez - - * Apache/Solr/Service.php: Fixes issue #5 - Applying patch (with - minor changes) from mkalkbrenner to replace all control - characters in Apache_Solr_Document keys / values with spaces to - avoid an exception from Solr's XML Parser. - -2009-07-20 14:14 donovan.jimenez - - * Apache/Solr/Service.php: See issue #14 - * adding timeout parameters to all delete functions - -2009-05-11 14:51 donovan.jimenez - - * Apache/Solr/Service.php: See issue #8 - * Adding the ability to specify the HTTP method used for sending - a search query (GET or POST) - -2009-03-12 03:46 donovan.jimenez - - * Apache/Solr/Service.php: See - http://code.google.com/p/solr-php-client/issues/detail?id=4 - * Reworking Service::ping() to just use file_get_contents URL - wrappers like we do for other GET's and POST operations - * Reworked Service::_sendRawGet() and Service::_sendRawPost() to - create a new stream context each time. Used for controlled - request timeouts, headers, and POST information - -2009-01-29 00:49 donovan.jimenez - - * Apache/Solr/Document.php: See - http://code.google.com/p/solr-php-client/issues/detail?id=2 - - Attempting to fix null vs. false boost parameter value issue by - always casting to float value first. - - Needs tested. - -2009-01-28 17:11 donovan.jimenez - - * Apache/Solr/Service.php, Apache/Solr/Service/Balancer.php: See - http://code.google.com/p/solr-php-client/issues/detail?id=1 - - Changed require_once statements that expected the Solr Client - library to be on the include path into statements that use the - __FILE__ magic constant to do them as absolute paths. This should - get rid of the requirement for the user to change their include - path configuration or add the library to the include path at - runtime. - - Provided as a convenience for the user. - - -2009-01-22 04:01 donovan.jimenez - - * Apache/Solr/Document.php, Apache/Solr/Response.php, - Apache/Solr/Service.php, Apache/Solr/Service/Balancer.php, - COPYING: Updating license to New BSD for google code hosting. - Also updating copyright message - -2009-01-21 23:50 donovan.jimenez - - * Apache, Apache/Solr, Apache/Solr/Document.php, - Apache/Solr/Response.php, Apache/Solr/Service, - Apache/Solr/Service.php, Apache/Solr/Service/Balancer.php: - Importing Solr PHP client from last released zip file - -2008-11-26 00:26 - - * .: Initial directory structure. - diff --git a/profiles/wcm_base/libraries/SolrPhpClient/README.md b/profiles/wcm_base/libraries/SolrPhpClient/README.md new file mode 100644 index 0000000000000000000000000000000000000000..7edf13bedcef64f333f9aa561c711db2cc48c2c7 --- /dev/null +++ b/profiles/wcm_base/libraries/SolrPhpClient/README.md @@ -0,0 +1,15 @@ +# Solr PHP Client + +A purely PHP library for indexing and searching documents against an Apache Solr installation. + +This project was formerly maintained at [http://code.google.com/p/solr-php-client](http://code.google.com/p/solr-php-client). Previous issues and downloads are still available for viewing there. + +## Need Help? + +Try starting with the [FAQ](https://github.com/PTCInc/solr-php-client/wiki/FAQ) and [Example Usage](https://github.com/PTCInc/solr-php-client/wiki/Example-Usage). + +Also, feel free to search and ask questions on the google mailing list: [php-solr-client@googlegroups.com](mailto:php-solr-client@googlegroups.com) / [Group Page](https://groups.google.com/forum/?fromgroups#!forum/php-solr-client) + +## License + +Code is released under a 3-Clause BSD license, see [COPYING](https://github.com/PTCInc/solr-php-client/blob/master/COPYING) for full text. \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/composer.json b/profiles/wcm_base/libraries/SolrPhpClient/composer.json new file mode 100644 index 0000000000000000000000000000000000000000..e775aeff04522bf86ed43b68f1ea4d268c7ccc24 --- /dev/null +++ b/profiles/wcm_base/libraries/SolrPhpClient/composer.json @@ -0,0 +1,17 @@ +{ + "name": "ptcinc/solr-php-client", + "description": "A purely PHP library for indexing and searching documents against an Apache Solr installation", + "keywords": ["php", "solr", "client"], + "license": "BSD-3-Clause", + "authors": [ + { + "name": "Donovan Jimenez", + "homepage": "https://github.com/djimenez" + } + ], + "autoload": { + "psr-0": { + "Apache_Solr_": "" + } + } +} diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_Document.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_Document.html deleted file mode 100644 index dd3ec0b33e08b21e108bc01d59e42a6abb20c4f9..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_Document.html +++ /dev/null @@ -1,901 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>Docs For Class Apache_Solr_Document</title> - <link rel="stylesheet" href="../../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <div class="page-body"> -<h2 class="class-name">Class Apache_Solr_Document</h2> - -<a name="sec-description"></a> -<div class="info-box"> - <div class="info-box-title">Description</div> - <div class="nav-bar"> - <span class="disabled">Description</span> | - <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) - | <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) - - <a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>) - - </div> - <div class="info-box-body"> - <p class="implements"> - Implements interfaces: - <ul> - <li>IteratorAggregate (internal interface)</li> </ul> - </p> - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">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:</p> -<p class="description"><p>$document->title = 'Something'; echo $document->title; ... </code></p><p>Additionally, the field values can be iterated with foreach</p><p><div class="src-code"><ol><li><div class="src-line"> <span class="src-key">foreach </span><span class="src-sym">(</span><span class="src-var">$document </span><span class="src-key">as </span><span class="src-var">$fieldName </span>=> <span class="src-var">$fieldValue</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"> <span class="src-sym">{</span></div></li> -<li><div class="src-line"> ...</div></li> -<li><div class="src-line"> <span class="src-sym">}</span></div></li> -</ol></div></p></p> - <p class="notes"> - Located in <a class="field" href="_Document.php.html">/Document.php</a> (line <span class="field"><a href="../../__filesource/fsource_Apache_Solr_Document.php.html#a58">58</a></span>) - </p> - - - <pre></pre> - - </div> -</div> - - - <a name="sec-const-summary"></a> - <div class="info-box"> - <div class="info-box-title">Class Constant Summary</span></div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <span class="disabled">Constants</span> (<a href="#sec-consts">details</a>) - <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) - - | - | - <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) - - </div> - <div class="info-box-body"> - <div class="const-summary"> - <div class="const-title"> - <img src="../../media/images/Constant.png" alt=" " /> - <a href="#SVN_ID" title="details" class="const-name">SVN_ID</a> = <span class="var-type"> '$Id: Document.php 54 2011-02-04 16:29:18Z donovan.jimenez $'</span> - - </div> - <div class="const-title"> - <img src="../../media/images/Constant.png" alt=" " /> - <a href="#SVN_REVISION" title="details" class="const-name">SVN_REVISION</a> = <span class="var-type"> '$Revision: 54 $'</span> - - </div> - </div> - </div> - </div> - - <a name="sec-var-summary"></a> - <div class="info-box"> - <div class="info-box-title">Variable Summary</span></div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <span class="disabled">Vars</span> (<a href="#sec-vars">details</a>) - | - <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) - - <a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>) - - </div> - <div class="info-box-body"> - <div class="var-summary"> - <div class="var-title"> - <span class="var-type">float</span> - <a href="#$_documentBoost" title="details" class="var-name">$_documentBoost</a> - </div> - <div class="var-title"> - <span class="var-type">array</span> - <a href="#$_fieldBoosts" title="details" class="var-name">$_fieldBoosts</a> - </div> - <div class="var-title"> - <span class="var-type">array</span> - <a href="#$_fields" title="details" class="var-name">$_fields</a> - </div> - </div> - </div> - </div> - - <a name="sec-method-summary"></a> - <div class="info-box"> - <div class="info-box-title">Method Summary</span></div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>) - - <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) - - | - <span class="disabled">Methods</span> (<a href="#sec-methods">details</a>) - </div> - <div class="info-box-body"> - <div class="method-summary"> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#addField" title="details" class="method-name">addField</a> - (<span class="var-type">string</span> <span class="var-name">$key</span>, <span class="var-type">mixed</span> <span class="var-name">$value</span>, [<span class="var-type">mixed</span> <span class="var-name">$boost</span> = <span class="var-default">false</span>]) - </div> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#clear" title="details" class="method-name">clear</a> - () - </div> - - <div class="method-definition"> - <span class="method-result">mixed</span> - <a href="#getBoost" title="details" class="method-name">getBoost</a> - () - </div> - - <div class="method-definition"> - <span class="method-result">mixed</span> - <a href="#getField" title="details" class="method-name">getField</a> - (<span class="var-type">string</span> <span class="var-name">$key</span>) - </div> - - <div class="method-definition"> - <span class="method-result">float</span> - <a href="#getFieldBoost" title="details" class="method-name">getFieldBoost</a> - (<span class="var-type">string</span> <span class="var-name">$key</span>) - </div> - - <div class="method-definition"> - <span class="method-result">array</span> - <a href="#getFieldBoosts" title="details" class="method-name">getFieldBoosts</a> - () - </div> - - <div class="method-definition"> - <span class="method-result">array</span> - <a href="#getFieldNames" title="details" class="method-name">getFieldNames</a> - () - </div> - - <div class="method-definition"> - <span class="method-result">array</span> - <a href="#getFieldValues" title="details" class="method-name">getFieldValues</a> - () - </div> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#getIterator" title="details" class="method-name">getIterator</a> - () - </div> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#setBoost" title="details" class="method-name">setBoost</a> - (<span class="var-type">mixed</span> <span class="var-name">$boost</span>) - </div> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#setField" title="details" class="method-name">setField</a> - (<span class="var-type">string</span> <span class="var-name">$key</span>, <span class="var-type">mixed</span> <span class="var-name">$value</span>, [<span class="var-type">mixed</span> <span class="var-name">$boost</span> = <span class="var-default">false</span>]) - </div> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#setFieldBoost" title="details" class="method-name">setFieldBoost</a> - (<span class="var-type">string</span> <span class="var-name">$key</span>, <span class="var-type">mixed</span> <span class="var-name">$boost</span>) - </div> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#setMultiValue" title="details" class="method-name">setMultiValue</a> - (<span class="var-type">string</span> <span class="var-name">$key</span>, <span class="var-type">string</span> <span class="var-name">$value</span>, [<span class="var-type">mixed</span> <span class="var-name">$boost</span> = <span class="var-default">false</span>]) - </div> - - <div class="method-definition"> - <span class="method-result">mixed</span> - <a href="#__get" title="details" class="method-name">__get</a> - (<span class="var-type">string</span> <span class="var-name">$key</span>) - </div> - - <div class="method-definition"> - <span class="method-result">boolean</span> - <a href="#__isset" title="details" class="method-name">__isset</a> - (<span class="var-type">string</span> <span class="var-name">$key</span>) - </div> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#__set" title="details" class="method-name">__set</a> - (<span class="var-type">string</span> <span class="var-name">$key</span>, <span class="var-type">mixed</span> <span class="var-name">$value</span>) - </div> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#__unset" title="details" class="method-name">__unset</a> - (<span class="var-type">string</span> <span class="var-name">$key</span>) - </div> - </div> - </div> - </div> - - <a name="sec-vars"></a> - <div class="info-box"> - <div class="info-box-title">Variables</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>) - - - <a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>) - - | - <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) - - </div> - <div class="info-box-body"> - -<a name="var$_documentBoost" id="$_documentBoost"><!-- --></A> -<div class="evenrow"> - - <div class="var-header"> - <span class="var-title"> - <span class="var-type">float</span> - <span class="var-name">$_documentBoost</span> - = <span class="var-default"> false</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Document.php.html#a75">75</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Document boost value</p> - <ul class="tags"> - <li><span class="field">access:</span> protected</li> - </ul> - - - - - -</div> -<a name="var$_fieldBoosts" id="$_fieldBoosts"><!-- --></A> -<div class="oddrow"> - - <div class="var-header"> - <span class="var-title"> - <span class="var-type">array</span> - <span class="var-name">$_fieldBoosts</span> - = <span class="var-default">array()</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Document.php.html#a89">89</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Document field boost values, indexed by name</p> - <ul class="tags"> - <li><span class="field">var:</span> array of floats</li> - <li><span class="field">access:</span> protected</li> - </ul> - - - - - -</div> -<a name="var$_fields" id="$_fields"><!-- --></A> -<div class="evenrow"> - - <div class="var-header"> - <span class="var-title"> - <span class="var-type">array</span> - <span class="var-name">$_fields</span> - = <span class="var-default">array()</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Document.php.html#a82">82</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Document field values, indexed by name</p> - <ul class="tags"> - <li><span class="field">access:</span> protected</li> - </ul> - - - - - -</div> - - </div> - </div> - - <a name="sec-methods"></a> - <div class="info-box"> - <div class="info-box-title">Methods</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) - <a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>) - - <a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>) - - </div> - <div class="info-box-body"> - <A NAME='method_detail'></A> -<a name="methodaddField" id="addField"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">addField</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Document.php.html#a154">154</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Add a value to a multi-valued field</p> -<p class="description"><p>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.</p><p><div class="src-code"><ol><li><div class="src-line"> <span class="src-var">$doc </span>= <span class="src-key">new </span><span class="src-id"><a href="../../Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a></span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"> </div></li> -<li><div class="src-line"> <span class="src-var">$doc</span><span class="src-sym">-></span><a href="../../Apache/Solr/Apache_Solr_Document.html#methodaddField">addField</a><span class="src-sym">(</span><span class="src-str">'foo'</span><span class="src-sym">, </span><span class="src-str">'bar'</span><span class="src-sym">, </span><span class="src-num">2.0</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"> <span class="src-var">$doc</span><span class="src-sym">-></span><a href="../../Apache/Solr/Apache_Solr_Document.html#methodaddField">addField</a><span class="src-sym">(</span><span class="src-str">'foo'</span><span class="src-sym">, </span><span class="src-str">'baz'</span><span class="src-sym">, </span><span class="src-num">3.0</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"> </div></li> -<li><div class="src-line"> <span class="src-comm">// resultant field boost will be 6!</span></div></li> -<li><div class="src-line"> echo <span class="src-var">$doc</span><span class="src-sym">-></span><a href="../../Apache/Solr/Apache_Solr_Document.html#methodgetFieldBoost">getFieldBoost</a><span class="src-sym">(</span><span class="src-str">'foo'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -</ol></div></p></p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - addField - </span> - (<span class="var-type">string</span> <span class="var-name">$key</span>, <span class="var-type">mixed</span> <span class="var-name">$value</span>, [<span class="var-type">mixed</span> <span class="var-name">$boost</span> = <span class="var-default">false</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$key</span> </li> - <li> - <span class="var-type">mixed</span> - <span class="var-name">$value</span> </li> - <li> - <span class="var-type">mixed</span> - <span class="var-name">$boost</span><span class="var-description">: Use false for default boost, else cast to float that should be > 0 or will be treated as false</span> </li> - </ul> - - - </div> -<a name="methodclear" id="clear"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">clear</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Document.php.html#a94">94</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Clear all boosts and fields from this document</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - clear - </span> - () - </div> - - - - </div> -<a name="methodgetBoost" id="getBoost"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">getBoost</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Document.php.html#a107">107</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Get current document boost</p> - <ul class="tags"> - <li><span class="field">return:</span> will be false for default, or else a float</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">mixed</span> - <span class="method-name"> - getBoost - </span> - () - </div> - - - - </div> -<a name="methodgetField" id="getField"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">getField</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Document.php.html#a202">202</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Get field information</p> - <ul class="tags"> - <li><span class="field">return:</span> associative array of info if field exists, false otherwise</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">mixed</span> - <span class="method-name"> - getField - </span> - (<span class="var-type">string</span> <span class="var-name">$key</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$key</span> </li> - </ul> - - - </div> -<a name="methodgetFieldBoost" id="getFieldBoost"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">getFieldBoost</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Document.php.html#a237">237</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Get the currently set field boost for a document field</p> - <ul class="tags"> - <li><span class="field">return:</span> currently set field boost, false if one is not set</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">float</span> - <span class="method-name"> - getFieldBoost - </span> - (<span class="var-type">string</span> <span class="var-name">$key</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$key</span> </li> - </ul> - - - </div> -<a name="methodgetFieldBoosts" id="getFieldBoosts"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">getFieldBoosts</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Document.php.html#a267">267</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Return current field boosts, indexed by field name</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">array</span> - <span class="method-name"> - getFieldBoosts - </span> - () - </div> - - - - </div> -<a name="methodgetFieldNames" id="getFieldNames"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">getFieldNames</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Document.php.html#a277">277</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Get the names of all fields in this document</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">array</span> - <span class="method-name"> - getFieldNames - </span> - () - </div> - - - - </div> -<a name="methodgetFieldValues" id="getFieldValues"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">getFieldValues</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Document.php.html#a287">287</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Get the values of all fields in this document</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">array</span> - <span class="method-name"> - getFieldValues - </span> - () - </div> - - - - </div> -<a name="methodgetIterator" id="getIterator"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">getIterator</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Document.php.html#a302">302</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">IteratorAggregate implementation function. Allows usage:</p> -<p class="description"><p><div class="src-code"><ol><li><div class="src-line"> <span class="src-key">foreach </span><span class="src-sym">(</span><span class="src-var">$document </span><span class="src-key">as </span><span class="src-var">$key </span>=> <span class="src-var">$value</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"> <span class="src-sym">{</span></div></li> -<li><div class="src-line"> ...</div></li> -<li><div class="src-line"> <span class="src-sym">}</span></div></li> -</ol></div></p></p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - getIterator - </span> - () - </div> - - - <hr class="separator" /> - <div class="notes">Implementation of:</div> - <dl> - <dt>IteratorAggregate::getIterator</dt> - </dl> - - </div> -<a name="methodsetBoost" id="setBoost"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">setBoost</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Document.php.html#a117">117</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Set document boost factor</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - setBoost - </span> - (<span class="var-type">mixed</span> <span class="var-name">$boost</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">mixed</span> - <span class="var-name">$boost</span><span class="var-description">: Use false for default boost, else cast to float that should be > 0 or will be treated as false</span> </li> - </ul> - - - </div> -<a name="methodsetField" id="setField"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">setField</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Document.php.html#a225">225</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">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.</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - setField - </span> - (<span class="var-type">string</span> <span class="var-name">$key</span>, <span class="var-type">mixed</span> <span class="var-name">$value</span>, [<span class="var-type">mixed</span> <span class="var-name">$boost</span> = <span class="var-default">false</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$key</span> </li> - <li> - <span class="var-type">mixed</span> - <span class="var-name">$value</span> </li> - <li> - <span class="var-type">mixed</span> - <span class="var-name">$boost</span><span class="var-description">: Use false for default boost, else cast to float that should be > 0 or will be treated as false</span> </li> - </ul> - - - </div> -<a name="methodsetFieldBoost" id="setFieldBoost"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">setFieldBoost</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Document.php.html#a248">248</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Set the field boost for a document field</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - setFieldBoost - </span> - (<span class="var-type">string</span> <span class="var-name">$key</span>, <span class="var-type">mixed</span> <span class="var-name">$boost</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$key</span><span class="var-description">: field name for the boost</span> </li> - <li> - <span class="var-type">mixed</span> - <span class="var-name">$boost</span><span class="var-description">: Use false for default boost, else cast to float that should be > 0 or will be treated as false</span> </li> - </ul> - - - </div> -<a name="methodsetMultiValue" id="setMultiValue"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">setMultiValue</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Document.php.html#a191">191</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Handle the array manipulation for a multi-valued field</p> - <ul class="tags"> - <li><span class="field">deprecated:</span> Use addField(...) instead</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - setMultiValue - </span> - (<span class="var-type">string</span> <span class="var-name">$key</span>, <span class="var-type">string</span> <span class="var-name">$value</span>, [<span class="var-type">mixed</span> <span class="var-name">$boost</span> = <span class="var-default">false</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$key</span> </li> - <li> - <span class="var-type">string</span> - <span class="var-name">$value</span> </li> - <li> - <span class="var-type">mixed</span> - <span class="var-name">$boost</span><span class="var-description">: Use false for default boost, else cast to float that should be > 0 or will be treated as false</span> </li> - </ul> - - - </div> -<a name="method__get" id="__get"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">__get</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Document.php.html#a315">315</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Magic get for field values</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">mixed</span> - <span class="method-name"> - __get - </span> - (<span class="var-type">string</span> <span class="var-name">$key</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$key</span> </li> - </ul> - - - </div> -<a name="method__isset" id="__isset"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">__isset</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Document.php.html#a348">348</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Magic isset for fields values. Do not call directly. Allows usage:</p> -<p class="description"><p><div class="src-code"><ol><li><div class="src-line"> isset<span class="src-sym">(</span><span class="src-var">$document</span><span class="src-sym">-></span><span class="src-id">some_field</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -</ol></div></p></p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">boolean</span> - <span class="method-name"> - __isset - </span> - (<span class="var-type">string</span> <span class="var-name">$key</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$key</span> </li> - </ul> - - - </div> -<a name="method__set" id="__set"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">__set</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Document.php.html#a333">333</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">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.</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - __set - </span> - (<span class="var-type">string</span> <span class="var-name">$key</span>, <span class="var-type">mixed</span> <span class="var-name">$value</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$key</span> </li> - <li> - <span class="var-type">mixed</span> - <span class="var-name">$value</span> </li> - </ul> - - - </div> -<a name="method__unset" id="__unset"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">__unset</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Document.php.html#a362">362</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Magic unset for field values. Do not call directly. Allows usage:</p> -<p class="description"><p><div class="src-code"><ol><li><div class="src-line"> unset<span class="src-sym">(</span><span class="src-var">$document</span><span class="src-sym">-></span><span class="src-id">some_field</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -</ol></div></p></p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - __unset - </span> - (<span class="var-type">string</span> <span class="var-name">$key</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$key</span> </li> - </ul> - - - </div> - - </div> - </div> - - <a name="sec-consts"></a> - <div class="info-box"> - <div class="info-box-title">Class Constants</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-var-summary">Constants</a> (<span class="disabled">details</span>) - - - <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) - | - <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) - - </div> - <div class="info-box-body"> - <a name="constSVN_ID" id="SVN_ID"><!-- --></A> -<div class="evenrow"> - - <div class="const-header"> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name">SVN_ID</span> - = <span class="const-default"> '$Id: Document.php 54 2011-02-04 16:29:18Z donovan.jimenez $'</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Document.php.html#a68">68</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">SVN ID meta data for this class</p> - - -</div> -<a name="constSVN_REVISION" id="SVN_REVISION"><!-- --></A> -<div class="oddrow"> - - <div class="const-header"> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name">SVN_REVISION</span> - = <span class="const-default"> '$Revision: 54 $'</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Document.php.html#a63">63</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">SVN Revision meta data for this class</p> - - -</div> - - </div> - </div> - - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:13 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </div></body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_Exception.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_Exception.html deleted file mode 100644 index 1ff8e678951e9625053cd1c99d3484358f7afcdc..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_Exception.html +++ /dev/null @@ -1,269 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>Docs For Class Apache_Solr_Exception</title> - <link rel="stylesheet" href="../../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <div class="page-body"> -<h2 class="class-name">Class Apache_Solr_Exception</h2> - -<a name="sec-description"></a> -<div class="info-box"> - <div class="info-box-title">Description</div> - <div class="nav-bar"> - <span class="disabled">Description</span> | - <a href="#sec-descendents">Descendents</a> - | <a href="#sec-vars">Vars</a> - | <a href="#sec-methods">Methods</a> - - <a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>) - - </div> - <div class="info-box-body"> - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Copyright (c) 2007-2011, Servigistics, Inc.</p> -<p class="description"><p>All rights reserved.</p><p>Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:</p><p><ul><li>Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer.</li><li>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.</li><li>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.</li></ul> 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.</p></p> - <ul class="tags"> - <li><span class="field">author:</span> Donovan Jimenez <<a href="mailto:djimenez@conduit-it.com">djimenez@conduit-it.com</a>></li> - <li><span class="field">version:</span> $Id: Exception.php 54 2011-02-04 16:29:18Z donovan.jimenez $</li> - <li><span class="field">copyright:</span> Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com)</li> - <li><span class="field">license:</span> <a href="http://solr-php-client.googlecode.com/svn/trunk/COPYING">New BSD</a></li> - </ul> - <p class="notes"> - Located in <a class="field" href="_Exception.php.html">/Exception.php</a> (line <span class="field"><a href="../../__filesource/fsource_Apache_Solr_Exception.php.html#a39">39</a></span>) - </p> - - - <pre>Exception - | - --Apache_Solr_Exception</pre> - - </div> -</div> - - <a name="sec-descendents"></a> - <div class="info-box"> - <div class="info-box-title">Direct descendents</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <span class="disabled">Descendents</span> - | <a href="#sec-vars">Vars</a> - | <a href="#sec-methods">Methods</a> - - <a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>) - - </div> - <div class="info-box-body"> - <table cellpadding="2" cellspacing="0" class="class-table"> - <tr> - <th class="class-table-header">Class</th> - <th class="class-table-header">Description</th> - </tr> - <tr> - <td style="padding-right: 2em"><a href="../../Apache/Solr/Apache_Solr_HttpTransportException.html">Apache_Solr_HttpTransportException</a></td> - <td> - Copyright (c) 2007-2011, Servigistics, Inc. - </td> - </tr> - <tr> - <td style="padding-right: 2em"><a href="../../Apache/Solr/Apache_Solr_ParserException.html">Apache_Solr_ParserException</a></td> - <td> - Copyright (c) 2007-2011, Servigistics, Inc. - </td> - </tr> - <tr> - <td style="padding-right: 2em"><a href="../../Apache/Solr/Apache_Solr_NoServiceAvailableException.html">Apache_Solr_NoServiceAvailableException</a></td> - <td> - Copyright (c) 2007-2011, Servigistics, Inc. - </td> - </tr> - <tr> - <td style="padding-right: 2em"><a href="../../Apache/Solr/Apache_Solr_InvalidArgumentException.html">Apache_Solr_InvalidArgumentException</a></td> - <td> - Copyright (c) 2007-2011, Servigistics, Inc. - </td> - </tr> - </table> - </div> - </div> - - <a name="sec-const-summary"></a> - <div class="info-box"> - <div class="info-box-title">Class Constant Summary</span></div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-descendents">Descendants</a> | - <span class="disabled">Constants</span> (<a href="#sec-consts">details</a>) - <a href="#sec-vars">Vars</a> - - | - | - <a href="#sec-methods">Methods</a> - - </div> - <div class="info-box-body"> - <div class="const-summary"> - <div class="const-title"> - <img src="../../media/images/Constant.png" alt=" " /> - <a href="#SVN_ID" title="details" class="const-name">SVN_ID</a> = <span class="var-type"> '$Id: Exception.php 54 2011-02-04 16:29:18Z donovan.jimenez $'</span> - - </div> - <div class="const-title"> - <img src="../../media/images/Constant.png" alt=" " /> - <a href="#SVN_REVISION" title="details" class="const-name">SVN_REVISION</a> = <span class="var-type"> '$Revision: 54 $'</span> - - </div> - </div> - </div> - </div> - - - - <a name="sec-vars"></a> - <div class="info-box"> - <div class="info-box-title">Variables</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-descendents">Descendents</a> | - <span class="disabled">Vars</span> - - - <a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>) - - | - <a href="#sec-methods">Methods</a> - - </div> - <div class="info-box-body"> - - <h4>Inherited Variables</h4> - <A NAME='inherited_vars'><!-- --></A> - <p>Inherited from <span class="classname">Exception (Internal Class)</span></p> - <blockquote> - <span class="var-title"> - <span class="var-name">$code</span><br> - </span> - <span class="var-title"> - <span class="var-name">$file</span><br> - </span> - <span class="var-title"> - <span class="var-name">$line</span><br> - </span> - <span class="var-title"> - <span class="var-name">$message</span><br> - </span> - <span class="var-title"> - <span class="var-name">$previous</span><br> - </span> - <span class="var-title"> - <span class="var-name">$string</span><br> - </span> - <span class="var-title"> - <span class="var-name">$trace</span><br> - </span> - </blockquote> - - </div> - </div> - - <a name="sec-methods"></a> - <div class="info-box"> - <div class="info-box-title">Methods</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-descendents">Descendents</a> | - <a href="#sec-vars">Vars</a> - <a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>) - - <span class="disabled">Methods</span> - - </div> - <div class="info-box-body"> - <A NAME='method_detail'></A> - <h4>Inherited Methods</h4> - <a name='inherited_methods'><!-- --></a> - <!-- =========== Summary =========== --> - <p>Inherited From <span class="classname">Exception (Internal Class)</span></p> - <blockquote> - <span class="method-name">constructor __construct ( [$message = ], [$code = ], [$previous = ] )</span><br> - <span class="method-name">getCode ( )</span><br> - <span class="method-name">getFile ( )</span><br> - <span class="method-name">getLine ( )</span><br> - <span class="method-name">getMessage ( )</span><br> - <span class="method-name">getPrevious ( )</span><br> - <span class="method-name">getTrace ( )</span><br> - <span class="method-name">getTraceAsString ( )</span><br> - <span class="method-name">__clone ( )</span><br> - <span class="method-name">__toString ( )</span><br> - </blockquote> - - </div> - </div> - - <a name="sec-consts"></a> - <div class="info-box"> - <div class="info-box-title">Class Constants</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-descendents">Descendants</a> | - <span class="disabled">Constants</span> - - - <a href="#sec-vars">Vars</a> - | - <a href="#sec-methods">Methods</a> - - </div> - <div class="info-box-body"> - <a name="constSVN_ID" id="SVN_ID"><!-- --></A> -<div class="evenrow"> - - <div class="const-header"> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name">SVN_ID</span> - = <span class="const-default"> '$Id: Exception.php 54 2011-02-04 16:29:18Z donovan.jimenez $'</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Exception.php.html#a49">49</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">SVN ID meta data for this class</p> - - -</div> -<a name="constSVN_REVISION" id="SVN_REVISION"><!-- --></A> -<div class="oddrow"> - - <div class="const-header"> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name">SVN_REVISION</span> - = <span class="const-default"> '$Revision: 54 $'</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Exception.php.html#a44">44</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">SVN Revision meta data for this class</p> - - -</div> - - </div> - </div> - - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:13 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </div></body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_HttpTransportException.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_HttpTransportException.html deleted file mode 100644 index d154edf89034389905977e2c5c92b2bb271deac7..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_HttpTransportException.html +++ /dev/null @@ -1,246 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>Docs For Class Apache_Solr_HttpTransportException</title> - <link rel="stylesheet" href="../../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <div class="page-body"> -<h2 class="class-name">Class Apache_Solr_HttpTransportException</h2> - -<a name="sec-description"></a> -<div class="info-box"> - <div class="info-box-title">Description</div> - <div class="nav-bar"> - <span class="disabled">Description</span> | - <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) - - <a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>) - - </div> - <div class="info-box-body"> - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Copyright (c) 2007-2011, Servigistics, Inc.</p> -<p class="description"><p>All rights reserved.</p><p>Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:</p><p><ul><li>Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer.</li><li>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.</li><li>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.</li></ul> 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.</p></p> - <ul class="tags"> - <li><span class="field">author:</span> Donovan Jimenez <<a href="mailto:djimenez@conduit-it.com">djimenez@conduit-it.com</a>></li> - <li><span class="field">version:</span> $Id: HttpTransportException.php 54 2011-02-04 16:29:18Z donovan.jimenez $</li> - <li><span class="field">copyright:</span> Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com)</li> - <li><span class="field">license:</span> <a href="http://solr-php-client.googlecode.com/svn/trunk/COPYING">New BSD</a></li> - </ul> - <p class="notes"> - Located in <a class="field" href="_HttpTransportException.php.html">/HttpTransportException.php</a> (line <span class="field"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportException.php.html#a39">39</a></span>) - </p> - - - <pre>Exception - | - --<a href="../../Apache/Solr/Apache_Solr_Exception.html">Apache_Solr_Exception</a> - | - --Apache_Solr_HttpTransportException</pre> - - </div> -</div> - - - <a name="sec-const-summary"></a> - <div class="info-box"> - <div class="info-box-title">Class Constant Summary</span></div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <span class="disabled">Constants</span> (<a href="#sec-consts">details</a>) - | - <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) - - </div> - <div class="info-box-body"> - <div class="const-summary"> - <div class="const-title"> - <img src="../../media/images/Constant.png" alt=" " /> - <a href="#SVN_ID" title="details" class="const-name">SVN_ID</a> = <span class="var-type"> '$Id: HttpTransportException.php 54 2011-02-04 16:29:18Z donovan.jimenez $'</span> - - </div> - <div class="const-title"> - <img src="../../media/images/Constant.png" alt=" " /> - <a href="#SVN_REVISION" title="details" class="const-name">SVN_REVISION</a> = <span class="var-type"> '$Revision: 54 $'</span> - - </div> - </div> - </div> - </div> - - - <a name="sec-method-summary"></a> - <div class="info-box"> - <div class="info-box-title">Method Summary</span></div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>) - - <span class="disabled">Methods</span> (<a href="#sec-methods">details</a>) - </div> - <div class="info-box-body"> - <div class="method-summary"> - - <div class="method-definition"> - <span class="method-result">Apache_Solr_HttpTransportException</span> - <a href="#__construct" title="details" class="method-name">__construct</a> - (<span class="var-type"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> <span class="var-name">$response</span>) - </div> - - <div class="method-definition"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <a href="#getResponse" title="details" class="method-name">getResponse</a> - () - </div> - </div> - </div> - </div> - - - <a name="sec-methods"></a> - <div class="info-box"> - <div class="info-box-title">Methods</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>) - - <a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>) - - </div> - <div class="info-box-body"> - <A NAME='method_detail'></A> -<a name="method__construct" id="__construct"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">Constructor __construct</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportException.php.html#a63">63</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">HttpTransportException Constructor</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">Apache_Solr_HttpTransportException</span> - <span class="method-name"> - __construct - </span> - (<span class="var-type"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> <span class="var-name">$response</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <span class="var-name">$response</span> </li> - </ul> - - - </div> -<a name="methodgetResponse" id="getResponse"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">getResponse</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportException.php.html#a75">75</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Get the response for which this exception was generated</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <span class="method-name"> - getResponse - </span> - () - </div> - - - - </div> - - </div> - </div> - - <a name="sec-consts"></a> - <div class="info-box"> - <div class="info-box-title">Class Constants</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-var-summary">Constants</a> (<span class="disabled">details</span>) - - - | - <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) - - </div> - <div class="info-box-body"> - <a name="constSVN_ID" id="SVN_ID"><!-- --></A> -<div class="oddrow"> - - <div class="const-header"> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name">SVN_ID</span> - = <span class="const-default"> '$Id: HttpTransportException.php 54 2011-02-04 16:29:18Z donovan.jimenez $'</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportException.php.html#a49">49</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">SVN ID meta data for this class</p> - - -</div> -<a name="constSVN_REVISION" id="SVN_REVISION"><!-- --></A> -<div class="evenrow"> - - <div class="const-header"> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name">SVN_REVISION</span> - = <span class="const-default"> '$Revision: 54 $'</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportException.php.html#a44">44</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">SVN Revision meta data for this class</p> - - -</div> - <h4>Inherited Constants</h4> - <A NAME='inherited_vars'><!-- --></A> - <p>Inherited from <span class="classname"><a href="../../Apache/Solr/Apache_Solr_Exception.html">Apache_Solr_Exception</a></span></p> - <blockquote> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name"><a href="../../Apache/Solr/Apache_Solr_Exception.html#constSVN_ID">Apache_Solr_Exception::SVN_ID</a></span><br> - </span> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name"><a href="../../Apache/Solr/Apache_Solr_Exception.html#constSVN_REVISION">Apache_Solr_Exception::SVN_REVISION</a></span><br> - </span> - </blockquote> - - </div> - </div> - - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:14 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </div></body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_HttpTransport_Abstract.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_HttpTransport_Abstract.html deleted file mode 100644 index b9f39cd00674822fab257106992f24a4421944f5..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_HttpTransport_Abstract.html +++ /dev/null @@ -1,196 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>Docs For Class Apache_Solr_HttpTransport_Abstract</title> - <link rel="stylesheet" href="../../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <div class="page-body"> -<h2 class="class-name">Class Apache_Solr_HttpTransport_Abstract</h2> - -<a name="sec-description"></a> -<div class="info-box"> - <div class="info-box-title">Description</div> - <div class="nav-bar"> - <span class="disabled">Description</span> | - <a href="#sec-descendents">Descendents</a> - | <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) - - </div> - <div class="info-box-body"> - <p class="implements"> - Implements interfaces: - <ul> - <li><a href="../../Apache/Solr/Apache_Solr_HttpTransport_Interface.html">Apache_Solr_HttpTransport_Interface</a></li> </ul> - </p> - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Convenience class that implements the transport implementation. Can be extended by</p> -<p class="description"><p>real implementations to do some of the common book keeping</p></p> - <ul class="tags"> - <li><span class="field">abstract:</span> </li> - </ul> - <p class="notes"> - Located in <a class="field" href="_HttpTransport---Abstract.php.html">/HttpTransport/Abstract.php</a> (line <span class="field"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportAbstract.php.html#a43">43</a></span>) - </p> - - - <pre></pre> - - </div> -</div> - - <a name="sec-descendents"></a> - <div class="info-box"> - <div class="info-box-title">Direct descendents</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <span class="disabled">Descendents</span> - | <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) - - </div> - <div class="info-box-body"> - <table cellpadding="2" cellspacing="0" class="class-table"> - <tr> - <th class="class-table-header">Class</th> - <th class="class-table-header">Description</th> - </tr> - <tr> - <td style="padding-right: 2em"><a href="../../Apache/Solr/Apache_Solr_HttpTransport_FileGetContents.html">Apache_Solr_HttpTransport_FileGetContents</a></td> - <td> - HTTP Transport implemenation that uses the builtin http URL wrappers and file_get_contents - </td> - </tr> - <tr> - <td style="padding-right: 2em"><a href="../../Apache/Solr/Apache_Solr_HttpTransport_Curl.html">Apache_Solr_HttpTransport_Curl</a></td> - <td> - A Curl based HTTP transport. Uses a single curl session for all requests. - </td> - </tr> - <tr> - <td style="padding-right: 2em"><a href="../../Apache/Solr/Apache_Solr_HttpTransport_CurlNoReuse.html">Apache_Solr_HttpTransport_CurlNoReuse</a></td> - <td> - 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. - </td> - </tr> - </table> - </div> - </div> - - - - <a name="sec-method-summary"></a> - <div class="info-box"> - <div class="info-box-title">Method Summary</span></div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-descendents">Descendents</a> | - <span class="disabled">Methods</span> (<a href="#sec-methods">details</a>) - </div> - <div class="info-box-body"> - <div class="method-summary"> - - <div class="method-definition"> - <span class="method-result">float</span> - <a href="#getDefaultTimeout" title="details" class="method-name">getDefaultTimeout</a> - () - </div> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#setDefaultTimeout" title="details" class="method-name">setDefaultTimeout</a> - (<span class="var-type">float</span> <span class="var-name">$timeout</span>) - </div> - </div> - </div> - </div> - - - <a name="sec-methods"></a> - <div class="info-box"> - <div class="info-box-title">Methods</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-descendents">Descendents</a> | - <a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>) - - </div> - <div class="info-box-body"> - <A NAME='method_detail'></A> -<a name="methodgetDefaultTimeout" id="getDefaultTimeout"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">getDefaultTimeout</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportAbstract.php.html#a58">58</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Get the current default timeout setting (initially the default_socket_timeout ini setting) in seconds</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">float</span> - <span class="method-name"> - getDefaultTimeout - </span> - () - </div> - - - <hr class="separator" /> - <div class="notes">Implementation of:</div> - <dl> - <dt><a href="../../Apache/Solr/Apache_Solr_HttpTransport_Interface.html#methodgetDefaultTimeout">Apache_Solr_HttpTransport_Interface::getDefaultTimeout()</a></dt> - <dd>Get the current default timeout for all HTTP requests</dd> - </dl> - - </div> -<a name="methodsetDefaultTimeout" id="setDefaultTimeout"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">setDefaultTimeout</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportAbstract.php.html#a80">80</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Set the current default timeout for all HTTP requests</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - setDefaultTimeout - </span> - (<span class="var-type">float</span> <span class="var-name">$timeout</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">float</span> - <span class="var-name">$timeout</span> </li> - </ul> - - <hr class="separator" /> - <div class="notes">Implementation of:</div> - <dl> - <dt><a href="../../Apache/Solr/Apache_Solr_HttpTransport_Interface.html#methodsetDefaultTimeout">Apache_Solr_HttpTransport_Interface::setDefaultTimeout()</a></dt> - <dd>Set the current default timeout for all HTTP requests</dd> - </dl> - - </div> - - </div> - </div> - - - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:08 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </div></body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_HttpTransport_Curl.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_HttpTransport_Curl.html deleted file mode 100644 index e21f604881aa385f33dd74fc71995e6af09838c7..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_HttpTransport_Curl.html +++ /dev/null @@ -1,336 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>Docs For Class Apache_Solr_HttpTransport_Curl</title> - <link rel="stylesheet" href="../../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <div class="page-body"> -<h2 class="class-name">Class Apache_Solr_HttpTransport_Curl</h2> - -<a name="sec-description"></a> -<div class="info-box"> - <div class="info-box-title">Description</div> - <div class="nav-bar"> - <span class="disabled">Description</span> | - <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) - - <a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>) - - </div> - <div class="info-box-body"> - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">A Curl based HTTP transport. Uses a single curl session for all requests.</p> - <p class="notes"> - Located in <a class="field" href="_HttpTransport---Curl.php.html">/HttpTransport/Curl.php</a> (line <span class="field"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportCurl.php.html#a45">45</a></span>) - </p> - - - <pre><a href="../../Apache/Solr/Apache_Solr_HttpTransport_Abstract.html">Apache_Solr_HttpTransport_Abstract</a> - | - --Apache_Solr_HttpTransport_Curl</pre> - - </div> -</div> - - - <a name="sec-const-summary"></a> - <div class="info-box"> - <div class="info-box-title">Class Constant Summary</span></div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <span class="disabled">Constants</span> (<a href="#sec-consts">details</a>) - | - <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) - - </div> - <div class="info-box-body"> - <div class="const-summary"> - <div class="const-title"> - <img src="../../media/images/Constant.png" alt=" " /> - <a href="#SVN_ID" title="details" class="const-name">SVN_ID</a> = <span class="var-type"> '$Id:$'</span> - - </div> - <div class="const-title"> - <img src="../../media/images/Constant.png" alt=" " /> - <a href="#SVN_REVISION" title="details" class="const-name">SVN_REVISION</a> = <span class="var-type"> '$Revision:$'</span> - - </div> - </div> - </div> - </div> - - - <a name="sec-method-summary"></a> - <div class="info-box"> - <div class="info-box-title">Method Summary</span></div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>) - - <span class="disabled">Methods</span> (<a href="#sec-methods">details</a>) - </div> - <div class="info-box-body"> - <div class="method-summary"> - - <div class="method-definition"> - <span class="method-result">Apache_Solr_HttpTransport_Curl</span> - <a href="#__construct" title="details" class="method-name">__construct</a> - () - </div> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#__destruct" title="details" class="method-name">__destruct</a> - () - </div> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#performGetRequest" title="details" class="method-name">performGetRequest</a> - (<span class="var-type"></span> <span class="var-name">$url</span>, [<span class="var-type"></span> <span class="var-name">$timeout</span> = <span class="var-default">false</span>]) - </div> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#performHeadRequest" title="details" class="method-name">performHeadRequest</a> - (<span class="var-type"></span> <span class="var-name">$url</span>, [<span class="var-type"></span> <span class="var-name">$timeout</span> = <span class="var-default">false</span>]) - </div> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#performPostRequest" title="details" class="method-name">performPostRequest</a> - (<span class="var-type"></span> <span class="var-name">$url</span>, <span class="var-type"></span> <span class="var-name">$postData</span>, <span class="var-type"></span> <span class="var-name">$contentType</span>, [<span class="var-type"></span> <span class="var-name">$timeout</span> = <span class="var-default">false</span>]) - </div> - </div> - </div> - </div> - - - <a name="sec-methods"></a> - <div class="info-box"> - <div class="info-box-title">Methods</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>) - - <a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>) - - </div> - <div class="info-box-body"> - <A NAME='method_detail'></A> -<a name="method__construct" id="__construct"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">Constructor __construct</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportCurl.php.html#a67">67</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Initializes a curl session</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">Apache_Solr_HttpTransport_Curl</span> - <span class="method-name"> - __construct - </span> - () - </div> - - - - </div> -<a name="method__destruct" id="__destruct"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">Destructor __destruct</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportCurl.php.html#a88">88</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Closes a curl session</p> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - __destruct - </span> - () - </div> - - - - </div> -<a name="methodperformGetRequest" id="performGetRequest"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">performGetRequest</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportCurl.php.html#a94">94</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - performGetRequest - </span> - (<span class="var-type"></span> <span class="var-name">$url</span>, [<span class="var-type"></span> <span class="var-name">$timeout</span> = <span class="var-default">false</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type"></span> - <span class="var-name">$url</span> </li> - <li> - <span class="var-type"></span> - <span class="var-name">$timeout</span> </li> - </ul> - - - </div> -<a name="methodperformHeadRequest" id="performHeadRequest"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">performHeadRequest</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportCurl.php.html#a128">128</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - performHeadRequest - </span> - (<span class="var-type"></span> <span class="var-name">$url</span>, [<span class="var-type"></span> <span class="var-name">$timeout</span> = <span class="var-default">false</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type"></span> - <span class="var-name">$url</span> </li> - <li> - <span class="var-type"></span> - <span class="var-name">$timeout</span> </li> - </ul> - - - </div> -<a name="methodperformPostRequest" id="performPostRequest"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">performPostRequest</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportCurl.php.html#a159">159</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - performPostRequest - </span> - (<span class="var-type"></span> <span class="var-name">$url</span>, <span class="var-type"></span> <span class="var-name">$postData</span>, <span class="var-type"></span> <span class="var-name">$contentType</span>, [<span class="var-type"></span> <span class="var-name">$timeout</span> = <span class="var-default">false</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type"></span> - <span class="var-name">$url</span> </li> - <li> - <span class="var-type"></span> - <span class="var-name">$postData</span> </li> - <li> - <span class="var-type"></span> - <span class="var-name">$contentType</span> </li> - <li> - <span class="var-type"></span> - <span class="var-name">$timeout</span> </li> - </ul> - - - </div> - <h4>Inherited Methods</h4> - <a name='inherited_methods'><!-- --></a> - <!-- =========== Summary =========== --> - <p>Inherited From <span class="classname"><a href="../../Apache/Solr/Apache_Solr_HttpTransport_Abstract.html">Apache_Solr_HttpTransport_Abstract</a></span></p> - <blockquote> - <span class="method-name"><a href="../../Apache/Solr/Apache_Solr_HttpTransport_Abstract.html#methodgetDefaultTimeout">Apache_Solr_HttpTransport_Abstract::getDefaultTimeout()</a></span><br> - <span class="method-name"><a href="../../Apache/Solr/Apache_Solr_HttpTransport_Abstract.html#methodsetDefaultTimeout">Apache_Solr_HttpTransport_Abstract::setDefaultTimeout()</a></span><br> - </blockquote> - - </div> - </div> - - <a name="sec-consts"></a> - <div class="info-box"> - <div class="info-box-title">Class Constants</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-var-summary">Constants</a> (<span class="disabled">details</span>) - - - | - <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) - - </div> - <div class="info-box-body"> - <a name="constSVN_ID" id="SVN_ID"><!-- --></A> -<div class="oddrow"> - - <div class="const-header"> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name">SVN_ID</span> - = <span class="const-default"> '$Id:$'</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportCurl.php.html#a55">55</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">SVN ID meta data for this class</p> - - -</div> -<a name="constSVN_REVISION" id="SVN_REVISION"><!-- --></A> -<div class="evenrow"> - - <div class="const-header"> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name">SVN_REVISION</span> - = <span class="const-default"> '$Revision:$'</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportCurl.php.html#a50">50</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">SVN Revision meta data for this class</p> - - -</div> - - </div> - </div> - - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:12 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </div></body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_HttpTransport_CurlNoReuse.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_HttpTransport_CurlNoReuse.html deleted file mode 100644 index 9179a0d1dfb49569ef34d63ce327daa7eb1b84ff..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_HttpTransport_CurlNoReuse.html +++ /dev/null @@ -1,279 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>Docs For Class Apache_Solr_HttpTransport_CurlNoReuse</title> - <link rel="stylesheet" href="../../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <div class="page-body"> -<h2 class="class-name">Class Apache_Solr_HttpTransport_CurlNoReuse</h2> - -<a name="sec-description"></a> -<div class="info-box"> - <div class="info-box-title">Description</div> - <div class="nav-bar"> - <span class="disabled">Description</span> | - <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) - - <a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>) - - </div> - <div class="info-box-body"> - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">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.</p> - <p class="notes"> - Located in <a class="field" href="_HttpTransport---CurlNoReuse.php.html">/HttpTransport/CurlNoReuse.php</a> (line <span class="field"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportCurlNoReuse.php.html#a47">47</a></span>) - </p> - - - <pre><a href="../../Apache/Solr/Apache_Solr_HttpTransport_Abstract.html">Apache_Solr_HttpTransport_Abstract</a> - | - --Apache_Solr_HttpTransport_CurlNoReuse</pre> - - </div> -</div> - - - <a name="sec-const-summary"></a> - <div class="info-box"> - <div class="info-box-title">Class Constant Summary</span></div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <span class="disabled">Constants</span> (<a href="#sec-consts">details</a>) - | - <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) - - </div> - <div class="info-box-body"> - <div class="const-summary"> - <div class="const-title"> - <img src="../../media/images/Constant.png" alt=" " /> - <a href="#SVN_ID" title="details" class="const-name">SVN_ID</a> = <span class="var-type"> '$Id:$'</span> - - </div> - <div class="const-title"> - <img src="../../media/images/Constant.png" alt=" " /> - <a href="#SVN_REVISION" title="details" class="const-name">SVN_REVISION</a> = <span class="var-type"> '$Revision:$'</span> - - </div> - </div> - </div> - </div> - - - <a name="sec-method-summary"></a> - <div class="info-box"> - <div class="info-box-title">Method Summary</span></div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>) - - <span class="disabled">Methods</span> (<a href="#sec-methods">details</a>) - </div> - <div class="info-box-body"> - <div class="method-summary"> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#performGetRequest" title="details" class="method-name">performGetRequest</a> - (<span class="var-type"></span> <span class="var-name">$url</span>, [<span class="var-type"></span> <span class="var-name">$timeout</span> = <span class="var-default">false</span>]) - </div> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#performHeadRequest" title="details" class="method-name">performHeadRequest</a> - (<span class="var-type"></span> <span class="var-name">$url</span>, [<span class="var-type"></span> <span class="var-name">$timeout</span> = <span class="var-default">false</span>]) - </div> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#performPostRequest" title="details" class="method-name">performPostRequest</a> - (<span class="var-type"></span> <span class="var-name">$url</span>, <span class="var-type"></span> <span class="var-name">$postData</span>, <span class="var-type"></span> <span class="var-name">$contentType</span>, [<span class="var-type"></span> <span class="var-name">$timeout</span> = <span class="var-default">false</span>]) - </div> - </div> - </div> - </div> - - - <a name="sec-methods"></a> - <div class="info-box"> - <div class="info-box-title">Methods</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>) - - <a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>) - - </div> - <div class="info-box-body"> - <A NAME='method_detail'></A> -<a name="methodperformGetRequest" id="performGetRequest"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">performGetRequest</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportCurlNoReuse.php.html#a59">59</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - performGetRequest - </span> - (<span class="var-type"></span> <span class="var-name">$url</span>, [<span class="var-type"></span> <span class="var-name">$timeout</span> = <span class="var-default">false</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type"></span> - <span class="var-name">$url</span> </li> - <li> - <span class="var-type"></span> - <span class="var-name">$timeout</span> </li> - </ul> - - - </div> -<a name="methodperformHeadRequest" id="performHeadRequest"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">performHeadRequest</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportCurlNoReuse.php.html#a101">101</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - performHeadRequest - </span> - (<span class="var-type"></span> <span class="var-name">$url</span>, [<span class="var-type"></span> <span class="var-name">$timeout</span> = <span class="var-default">false</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type"></span> - <span class="var-name">$url</span> </li> - <li> - <span class="var-type"></span> - <span class="var-name">$timeout</span> </li> - </ul> - - - </div> -<a name="methodperformPostRequest" id="performPostRequest"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">performPostRequest</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportCurlNoReuse.php.html#a146">146</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - performPostRequest - </span> - (<span class="var-type"></span> <span class="var-name">$url</span>, <span class="var-type"></span> <span class="var-name">$postData</span>, <span class="var-type"></span> <span class="var-name">$contentType</span>, [<span class="var-type"></span> <span class="var-name">$timeout</span> = <span class="var-default">false</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type"></span> - <span class="var-name">$url</span> </li> - <li> - <span class="var-type"></span> - <span class="var-name">$postData</span> </li> - <li> - <span class="var-type"></span> - <span class="var-name">$contentType</span> </li> - <li> - <span class="var-type"></span> - <span class="var-name">$timeout</span> </li> - </ul> - - - </div> - <h4>Inherited Methods</h4> - <a name='inherited_methods'><!-- --></a> - <!-- =========== Summary =========== --> - <p>Inherited From <span class="classname"><a href="../../Apache/Solr/Apache_Solr_HttpTransport_Abstract.html">Apache_Solr_HttpTransport_Abstract</a></span></p> - <blockquote> - <span class="method-name"><a href="../../Apache/Solr/Apache_Solr_HttpTransport_Abstract.html#methodgetDefaultTimeout">Apache_Solr_HttpTransport_Abstract::getDefaultTimeout()</a></span><br> - <span class="method-name"><a href="../../Apache/Solr/Apache_Solr_HttpTransport_Abstract.html#methodsetDefaultTimeout">Apache_Solr_HttpTransport_Abstract::setDefaultTimeout()</a></span><br> - </blockquote> - - </div> - </div> - - <a name="sec-consts"></a> - <div class="info-box"> - <div class="info-box-title">Class Constants</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-var-summary">Constants</a> (<span class="disabled">details</span>) - - - | - <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) - - </div> - <div class="info-box-body"> - <a name="constSVN_ID" id="SVN_ID"><!-- --></A> -<div class="oddrow"> - - <div class="const-header"> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name">SVN_ID</span> - = <span class="const-default"> '$Id:$'</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportCurlNoReuse.php.html#a57">57</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">SVN ID meta data for this class</p> - - -</div> -<a name="constSVN_REVISION" id="SVN_REVISION"><!-- --></A> -<div class="evenrow"> - - <div class="const-header"> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name">SVN_REVISION</span> - = <span class="const-default"> '$Revision:$'</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportCurlNoReuse.php.html#a52">52</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">SVN Revision meta data for this class</p> - - -</div> - - </div> - </div> - - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:13 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </div></body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_HttpTransport_FileGetContents.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_HttpTransport_FileGetContents.html deleted file mode 100644 index a43013f6d585502ede44ddae5c5ee84b1724922e..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_HttpTransport_FileGetContents.html +++ /dev/null @@ -1,309 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>Docs For Class Apache_Solr_HttpTransport_FileGetContents</title> - <link rel="stylesheet" href="../../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <div class="page-body"> -<h2 class="class-name">Class Apache_Solr_HttpTransport_FileGetContents</h2> - -<a name="sec-description"></a> -<div class="info-box"> - <div class="info-box-title">Description</div> - <div class="nav-bar"> - <span class="disabled">Description</span> | - <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) - - <a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>) - - </div> - <div class="info-box-body"> - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">HTTP Transport implemenation that uses the builtin http URL wrappers and file_get_contents</p> - <p class="notes"> - Located in <a class="field" href="_HttpTransport---FileGetContents.php.html">/HttpTransport/FileGetContents.php</a> (line <span class="field"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportFileGetContents.php.html#a45">45</a></span>) - </p> - - - <pre><a href="../../Apache/Solr/Apache_Solr_HttpTransport_Abstract.html">Apache_Solr_HttpTransport_Abstract</a> - | - --Apache_Solr_HttpTransport_FileGetContents</pre> - - </div> -</div> - - - <a name="sec-const-summary"></a> - <div class="info-box"> - <div class="info-box-title">Class Constant Summary</span></div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <span class="disabled">Constants</span> (<a href="#sec-consts">details</a>) - | - <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) - - </div> - <div class="info-box-body"> - <div class="const-summary"> - <div class="const-title"> - <img src="../../media/images/Constant.png" alt=" " /> - <a href="#SVN_ID" title="details" class="const-name">SVN_ID</a> = <span class="var-type"> '$Id: $'</span> - - </div> - <div class="const-title"> - <img src="../../media/images/Constant.png" alt=" " /> - <a href="#SVN_REVISION" title="details" class="const-name">SVN_REVISION</a> = <span class="var-type"> '$Revision: $'</span> - - </div> - </div> - </div> - </div> - - - <a name="sec-method-summary"></a> - <div class="info-box"> - <div class="info-box-title">Method Summary</span></div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>) - - <span class="disabled">Methods</span> (<a href="#sec-methods">details</a>) - </div> - <div class="info-box-body"> - <div class="method-summary"> - - <div class="method-definition"> - <span class="method-result">Apache_Solr_HttpTransport_FileGetContents</span> - <a href="#__construct" title="details" class="method-name">__construct</a> - () - </div> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#performGetRequest" title="details" class="method-name">performGetRequest</a> - (<span class="var-type"></span> <span class="var-name">$url</span>, [<span class="var-type"></span> <span class="var-name">$timeout</span> = <span class="var-default">false</span>]) - </div> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#performHeadRequest" title="details" class="method-name">performHeadRequest</a> - (<span class="var-type"></span> <span class="var-name">$url</span>, [<span class="var-type"></span> <span class="var-name">$timeout</span> = <span class="var-default">false</span>]) - </div> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#performPostRequest" title="details" class="method-name">performPostRequest</a> - (<span class="var-type"></span> <span class="var-name">$url</span>, <span class="var-type"></span> <span class="var-name">$rawPost</span>, <span class="var-type"></span> <span class="var-name">$contentType</span>, [<span class="var-type"></span> <span class="var-name">$timeout</span> = <span class="var-default">false</span>]) - </div> - </div> - </div> - </div> - - - <a name="sec-methods"></a> - <div class="info-box"> - <div class="info-box-title">Methods</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>) - - <a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>) - - </div> - <div class="info-box-body"> - <A NAME='method_detail'></A> -<a name="method__construct" id="__construct"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">Constructor __construct</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportFileGetContents.php.html#a67">67</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Initializes our reuseable get and post stream contexts</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">Apache_Solr_HttpTransport_FileGetContents</span> - <span class="method-name"> - __construct - </span> - () - </div> - - - - </div> -<a name="methodperformGetRequest" id="performGetRequest"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">performGetRequest</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportFileGetContents.php.html#a74">74</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - performGetRequest - </span> - (<span class="var-type"></span> <span class="var-name">$url</span>, [<span class="var-type"></span> <span class="var-name">$timeout</span> = <span class="var-default">false</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type"></span> - <span class="var-name">$url</span> </li> - <li> - <span class="var-type"></span> - <span class="var-name">$timeout</span> </li> - </ul> - - - </div> -<a name="methodperformHeadRequest" id="performHeadRequest"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">performHeadRequest</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportFileGetContents.php.html#a100">100</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - performHeadRequest - </span> - (<span class="var-type"></span> <span class="var-name">$url</span>, [<span class="var-type"></span> <span class="var-name">$timeout</span> = <span class="var-default">false</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type"></span> - <span class="var-name">$url</span> </li> - <li> - <span class="var-type"></span> - <span class="var-name">$timeout</span> </li> - </ul> - - - </div> -<a name="methodperformPostRequest" id="performPostRequest"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">performPostRequest</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportFileGetContents.php.html#a132">132</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - performPostRequest - </span> - (<span class="var-type"></span> <span class="var-name">$url</span>, <span class="var-type"></span> <span class="var-name">$rawPost</span>, <span class="var-type"></span> <span class="var-name">$contentType</span>, [<span class="var-type"></span> <span class="var-name">$timeout</span> = <span class="var-default">false</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type"></span> - <span class="var-name">$url</span> </li> - <li> - <span class="var-type"></span> - <span class="var-name">$rawPost</span> </li> - <li> - <span class="var-type"></span> - <span class="var-name">$contentType</span> </li> - <li> - <span class="var-type"></span> - <span class="var-name">$timeout</span> </li> - </ul> - - - </div> - <h4>Inherited Methods</h4> - <a name='inherited_methods'><!-- --></a> - <!-- =========== Summary =========== --> - <p>Inherited From <span class="classname"><a href="../../Apache/Solr/Apache_Solr_HttpTransport_Abstract.html">Apache_Solr_HttpTransport_Abstract</a></span></p> - <blockquote> - <span class="method-name"><a href="../../Apache/Solr/Apache_Solr_HttpTransport_Abstract.html#methodgetDefaultTimeout">Apache_Solr_HttpTransport_Abstract::getDefaultTimeout()</a></span><br> - <span class="method-name"><a href="../../Apache/Solr/Apache_Solr_HttpTransport_Abstract.html#methodsetDefaultTimeout">Apache_Solr_HttpTransport_Abstract::setDefaultTimeout()</a></span><br> - </blockquote> - - </div> - </div> - - <a name="sec-consts"></a> - <div class="info-box"> - <div class="info-box-title">Class Constants</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-var-summary">Constants</a> (<span class="disabled">details</span>) - - - | - <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) - - </div> - <div class="info-box-body"> - <a name="constSVN_ID" id="SVN_ID"><!-- --></A> -<div class="evenrow"> - - <div class="const-header"> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name">SVN_ID</span> - = <span class="const-default"> '$Id: $'</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportFileGetContents.php.html#a55">55</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">SVN ID meta data for this class</p> - - -</div> -<a name="constSVN_REVISION" id="SVN_REVISION"><!-- --></A> -<div class="oddrow"> - - <div class="const-header"> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name">SVN_REVISION</span> - = <span class="const-default"> '$Revision: $'</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportFileGetContents.php.html#a50">50</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">SVN Revision meta data for this class</p> - - -</div> - - </div> - </div> - - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:14 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </div></body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_HttpTransport_Interface.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_HttpTransport_Interface.html deleted file mode 100644 index c8e50aac8d7c5d4178283ce3f9a37b08ea030b06..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_HttpTransport_Interface.html +++ /dev/null @@ -1,260 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>Docs For Class Apache_Solr_HttpTransport_Interface</title> - <link rel="stylesheet" href="../../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <div class="page-body"> -<h2 class="class-name">Interface Apache_Solr_HttpTransport_Interface</h2> - -<a name="sec-description"></a> -<div class="info-box"> - <div class="info-box-title">Description</div> - <div class="nav-bar"> - <span class="disabled">Description</span> | - <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) - - </div> - <div class="info-box-body"> - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Interface that all Transport (HTTP Requester) implementations must implement. These</p> -<p class="description"><p>Implementations can then be plugged into the Service instance in order to user their the desired method for making HTTP requests</p></p> - <p class="notes"> - Located in <a class="field" href="_HttpTransport---Interface.php.html">/HttpTransport/Interface.php</a> (line <span class="field"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportInterface.php.html#a47">47</a></span>) - </p> - - - <pre></pre> - - </div> -</div> - - - - - <a name="sec-method-summary"></a> - <div class="info-box"> - <div class="info-box-title">Method Summary</span></div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <span class="disabled">Methods</span> (<a href="#sec-methods">details</a>) - </div> - <div class="info-box-body"> - <div class="method-summary"> - - <div class="method-definition"> - <span class="method-result">float</span> - <a href="#getDefaultTimeout" title="details" class="method-name">getDefaultTimeout</a> - () - </div> - - <div class="method-definition"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_HttpTransport_Response.html">Apache_Solr_HttpTransport_Response</a></span> - <a href="#performGetRequest" title="details" class="method-name">performGetRequest</a> - (<span class="var-type">string</span> <span class="var-name">$url</span>, [<span class="var-type">float</span> <span class="var-name">$timeout</span> = <span class="var-default">false</span>]) - </div> - - <div class="method-definition"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_HttpTransport_Response.html">Apache_Solr_HttpTransport_Response</a></span> - <a href="#performHeadRequest" title="details" class="method-name">performHeadRequest</a> - (<span class="var-type">string</span> <span class="var-name">$url</span>, [<span class="var-type">float</span> <span class="var-name">$timeout</span> = <span class="var-default">false</span>]) - </div> - - <div class="method-definition"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_HttpTransport_Response.html">Apache_Solr_HttpTransport_Response</a></span> - <a href="#performPostRequest" title="details" class="method-name">performPostRequest</a> - (<span class="var-type">string</span> <span class="var-name">$url</span>, <span class="var-type">string</span> <span class="var-name">$rawPost</span>, <span class="var-type">string</span> <span class="var-name">$contentType</span>, [<span class="var-type">float</span> <span class="var-name">$timeout</span> = <span class="var-default">false</span>]) - </div> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#setDefaultTimeout" title="details" class="method-name">setDefaultTimeout</a> - (<span class="var-type">float</span> <span class="var-name">$timeout</span>) - </div> - </div> - </div> - </div> - - - <a name="sec-methods"></a> - <div class="info-box"> - <div class="info-box-title">Methods</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>) - - </div> - <div class="info-box-body"> - <A NAME='method_detail'></A> -<a name="methodgetDefaultTimeout" id="getDefaultTimeout"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">getDefaultTimeout</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportInterface.php.html#a54">54</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Get the current default timeout for all HTTP requests</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">float</span> - <span class="method-name"> - getDefaultTimeout - </span> - () - </div> - - - - </div> -<a name="methodperformGetRequest" id="performGetRequest"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">performGetRequest</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportInterface.php.html#a71">71</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Perform a GET HTTP operation with an optional timeout and return the response contents, use getLastResponseHeaders to retrieve HTTP headers</p> - <ul class="tags"> - <li><span class="field">return:</span> HTTP response</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_HttpTransport_Response.html">Apache_Solr_HttpTransport_Response</a></span> - <span class="method-name"> - performGetRequest - </span> - (<span class="var-type">string</span> <span class="var-name">$url</span>, [<span class="var-type">float</span> <span class="var-name">$timeout</span> = <span class="var-default">false</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$url</span> </li> - <li> - <span class="var-type">float</span> - <span class="var-name">$timeout</span> </li> - </ul> - - - </div> -<a name="methodperformHeadRequest" id="performHeadRequest"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">performHeadRequest</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportInterface.php.html#a81">81</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Perform a HEAD HTTP operation with an optional timeout and return the response headers - NOTE: head requests have no response body</p> - <ul class="tags"> - <li><span class="field">return:</span> HTTP response</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_HttpTransport_Response.html">Apache_Solr_HttpTransport_Response</a></span> - <span class="method-name"> - performHeadRequest - </span> - (<span class="var-type">string</span> <span class="var-name">$url</span>, [<span class="var-type">float</span> <span class="var-name">$timeout</span> = <span class="var-default">false</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$url</span> </li> - <li> - <span class="var-type">float</span> - <span class="var-name">$timeout</span> </li> - </ul> - - - </div> -<a name="methodperformPostRequest" id="performPostRequest"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">performPostRequest</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportInterface.php.html#a93">93</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Perform a POST HTTP operation with an optional timeout and return the response contents, use getLastResponseHeaders to retrieve HTTP headers</p> - <ul class="tags"> - <li><span class="field">return:</span> HTTP response</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_HttpTransport_Response.html">Apache_Solr_HttpTransport_Response</a></span> - <span class="method-name"> - performPostRequest - </span> - (<span class="var-type">string</span> <span class="var-name">$url</span>, <span class="var-type">string</span> <span class="var-name">$rawPost</span>, <span class="var-type">string</span> <span class="var-name">$contentType</span>, [<span class="var-type">float</span> <span class="var-name">$timeout</span> = <span class="var-default">false</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$url</span> </li> - <li> - <span class="var-type">string</span> - <span class="var-name">$rawPost</span> </li> - <li> - <span class="var-type">string</span> - <span class="var-name">$contentType</span> </li> - <li> - <span class="var-type">float</span> - <span class="var-name">$timeout</span> </li> - </ul> - - - </div> -<a name="methodsetDefaultTimeout" id="setDefaultTimeout"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">setDefaultTimeout</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportInterface.php.html#a61">61</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Set the current default timeout for all HTTP requests</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - setDefaultTimeout - </span> - (<span class="var-type">float</span> <span class="var-name">$timeout</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">float</span> - <span class="var-name">$timeout</span> </li> - </ul> - - - </div> - - </div> - </div> - - - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:15 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </div></body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_HttpTransport_Response.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_HttpTransport_Response.html deleted file mode 100644 index 4f0bfd21a2be05c1dbaf9d463368ad2721a566b3..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_HttpTransport_Response.html +++ /dev/null @@ -1,298 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>Docs For Class Apache_Solr_HttpTransport_Response</title> - <link rel="stylesheet" href="../../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <div class="page-body"> -<h2 class="class-name">Class Apache_Solr_HttpTransport_Response</h2> - -<a name="sec-description"></a> -<div class="info-box"> - <div class="info-box-title">Description</div> - <div class="nav-bar"> - <span class="disabled">Description</span> | - <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) - - </div> - <div class="info-box-body"> - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Represents the required pieces of an HTTP response provided by HTTP transport</p> -<p class="description"><p>implementations and then consumed by the Apache_Solr_Response class which provides decoding</p></p> - <p class="notes"> - Located in <a class="field" href="_HttpTransport---Response.php.html">/HttpTransport/Response.php</a> (line <span class="field"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportResponse.php.html#a44">44</a></span>) - </p> - - - <pre></pre> - - </div> -</div> - - - - - <a name="sec-method-summary"></a> - <div class="info-box"> - <div class="info-box-title">Method Summary</span></div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <span class="disabled">Methods</span> (<a href="#sec-methods">details</a>) - </div> - <div class="info-box-body"> - <div class="method-summary"> - - <div class="method-definition"> - static <span class="method-result">string</span> - <a href="#getDefaultStatusMessage" title="details" class="method-name">getDefaultStatusMessage</a> - (<span class="var-type"></span> <span class="var-name">$statusCode</span>) - </div> - - <div class="method-definition"> - <span class="method-result">Apache_Solr_HttpTransport_Response</span> - <a href="#__construct" title="details" class="method-name">__construct</a> - (<span class="var-type">integer</span> <span class="var-name">$statusCode</span>, <span class="var-type">string</span> <span class="var-name">$contentType</span>, <span class="var-type">string</span> <span class="var-name">$responseBody</span>) - </div> - - <div class="method-definition"> - <span class="method-result">string</span> - <a href="#getBody" title="details" class="method-name">getBody</a> - () - </div> - - <div class="method-definition"> - <span class="method-result">string</span> - <a href="#getEncoding" title="details" class="method-name">getEncoding</a> - () - </div> - - <div class="method-definition"> - <span class="method-result">string</span> - <a href="#getMimeType" title="details" class="method-name">getMimeType</a> - () - </div> - - <div class="method-definition"> - <span class="method-result">integer</span> - <a href="#getStatusCode" title="details" class="method-name">getStatusCode</a> - () - </div> - - <div class="method-definition"> - <span class="method-result">string</span> - <a href="#getStatusMessage" title="details" class="method-name">getStatusMessage</a> - () - </div> - </div> - </div> - </div> - - - <a name="sec-methods"></a> - <div class="info-box"> - <div class="info-box-title">Methods</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>) - - </div> - <div class="info-box-body"> - <A NAME='method_detail'></A> -<a name="methodgetDefaultStatusMessage" id="getDefaultStatusMessage"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">static getDefaultStatusMessage</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportResponse.php.html#a112">112</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Get the HTTP status message based on status code</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - static <span class="method-result">string</span> - <span class="method-name"> - getDefaultStatusMessage - </span> - (<span class="var-type"></span> <span class="var-name">$statusCode</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type"></span> - <span class="var-name">$statusCode</span> </li> - </ul> - - - </div> -<a name="method__construct" id="__construct"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">Constructor __construct</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportResponse.php.html#a166">166</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Construct a HTTP transport response</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">Apache_Solr_HttpTransport_Response</span> - <span class="method-name"> - __construct - </span> - (<span class="var-type">integer</span> <span class="var-name">$statusCode</span>, <span class="var-type">string</span> <span class="var-name">$contentType</span>, <span class="var-type">string</span> <span class="var-name">$responseBody</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">integer</span> - <span class="var-name">$statusCode</span><span class="var-description">: The HTTP status code</span> </li> - <li> - <span class="var-type">string</span> - <span class="var-name">$contentType</span><span class="var-description">: The VALUE of the Content-Type HTTP header</span> </li> - <li> - <span class="var-type">string</span> - <span class="var-name">$responseBody</span><span class="var-description">: The body of the HTTP response</span> </li> - </ul> - - - </div> -<a name="methodgetBody" id="getBody"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">getBody</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportResponse.php.html#a251">251</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Get the raw response body</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">string</span> - <span class="method-name"> - getBody - </span> - () - </div> - - - - </div> -<a name="methodgetEncoding" id="getEncoding"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">getEncoding</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportResponse.php.html#a241">241</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Get the charset encoding of the response body.</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">string</span> - <span class="method-name"> - getEncoding - </span> - () - </div> - - - - </div> -<a name="methodgetMimeType" id="getMimeType"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">getMimeType</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportResponse.php.html#a231">231</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Get the mimetype of the response body</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">string</span> - <span class="method-name"> - getMimeType - </span> - () - </div> - - - - </div> -<a name="methodgetStatusCode" id="getStatusCode"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">getStatusCode</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportResponse.php.html#a211">211</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Get the status code of the response</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">integer</span> - <span class="method-name"> - getStatusCode - </span> - () - </div> - - - - </div> -<a name="methodgetStatusMessage" id="getStatusMessage"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">getStatusMessage</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportResponse.php.html#a221">221</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Get the status message of the response</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">string</span> - <span class="method-name"> - getStatusMessage - </span> - () - </div> - - - - </div> - - </div> - </div> - - - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:16 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </div></body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_InvalidArgumentException.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_InvalidArgumentException.html deleted file mode 100644 index 49d57ee4d730f5e2bf10123e38ce0a913675c65d..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_InvalidArgumentException.html +++ /dev/null @@ -1,144 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>Docs For Class Apache_Solr_InvalidArgumentException</title> - <link rel="stylesheet" href="../../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <div class="page-body"> -<h2 class="class-name">Class Apache_Solr_InvalidArgumentException</h2> - -<a name="sec-description"></a> -<div class="info-box"> - <div class="info-box-title">Description</div> - <div class="nav-bar"> - <span class="disabled">Description</span> | - <a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>) - - </div> - <div class="info-box-body"> - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Copyright (c) 2007-2011, Servigistics, Inc.</p> -<p class="description"><p>All rights reserved.</p><p>Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:</p><p><ul><li>Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer.</li><li>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.</li><li>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.</li></ul> 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.</p></p> - <ul class="tags"> - <li><span class="field">author:</span> Donovan Jimenez <<a href="mailto:djimenez@conduit-it.com">djimenez@conduit-it.com</a>></li> - <li><span class="field">version:</span> $Id: InvalidArgumentException.php 54 2011-02-04 16:29:18Z donovan.jimenez $</li> - <li><span class="field">copyright:</span> Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com)</li> - <li><span class="field">license:</span> <a href="http://solr-php-client.googlecode.com/svn/trunk/COPYING">New BSD</a></li> - </ul> - <p class="notes"> - Located in <a class="field" href="_InvalidArgumentException.php.html">/InvalidArgumentException.php</a> (line <span class="field"><a href="../../__filesource/fsource_Apache_Solr_InvalidArgumentException.php.html#a39">39</a></span>) - </p> - - - <pre>Exception - | - --<a href="../../Apache/Solr/Apache_Solr_Exception.html">Apache_Solr_Exception</a> - | - --Apache_Solr_InvalidArgumentException</pre> - - </div> -</div> - - - <a name="sec-const-summary"></a> - <div class="info-box"> - <div class="info-box-title">Class Constant Summary</span></div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <span class="disabled">Constants</span> (<a href="#sec-consts">details</a>) - </div> - <div class="info-box-body"> - <div class="const-summary"> - <div class="const-title"> - <img src="../../media/images/Constant.png" alt=" " /> - <a href="#SVN_ID" title="details" class="const-name">SVN_ID</a> = <span class="var-type"> '$Id: InvalidArgumentException.php 54 2011-02-04 16:29:18Z donovan.jimenez $'</span> - - </div> - <div class="const-title"> - <img src="../../media/images/Constant.png" alt=" " /> - <a href="#SVN_REVISION" title="details" class="const-name">SVN_REVISION</a> = <span class="var-type"> '$Revision: 54 $'</span> - - </div> - </div> - </div> - </div> - - - - - - <a name="sec-consts"></a> - <div class="info-box"> - <div class="info-box-title">Class Constants</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <span class="disabled">Constants</span> - - - </div> - <div class="info-box-body"> - <a name="constSVN_ID" id="SVN_ID"><!-- --></A> -<div class="oddrow"> - - <div class="const-header"> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name">SVN_ID</span> - = <span class="const-default"> '$Id: InvalidArgumentException.php 54 2011-02-04 16:29:18Z donovan.jimenez $'</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_InvalidArgumentException.php.html#a49">49</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">SVN ID meta data for this class</p> - - -</div> -<a name="constSVN_REVISION" id="SVN_REVISION"><!-- --></A> -<div class="evenrow"> - - <div class="const-header"> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name">SVN_REVISION</span> - = <span class="const-default"> '$Revision: 54 $'</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_InvalidArgumentException.php.html#a44">44</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">SVN Revision meta data for this class</p> - - -</div> - <h4>Inherited Constants</h4> - <A NAME='inherited_vars'><!-- --></A> - <p>Inherited from <span class="classname"><a href="../../Apache/Solr/Apache_Solr_Exception.html">Apache_Solr_Exception</a></span></p> - <blockquote> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name"><a href="../../Apache/Solr/Apache_Solr_Exception.html#constSVN_ID">Apache_Solr_Exception::SVN_ID</a></span><br> - </span> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name"><a href="../../Apache/Solr/Apache_Solr_Exception.html#constSVN_REVISION">Apache_Solr_Exception::SVN_REVISION</a></span><br> - </span> - </blockquote> - - </div> - </div> - - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:15 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </div></body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_NoServiceAvailableException.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_NoServiceAvailableException.html deleted file mode 100644 index 402d18b6ac00f57e6ffc1e0c4f60a3e722419e71..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_NoServiceAvailableException.html +++ /dev/null @@ -1,144 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>Docs For Class Apache_Solr_NoServiceAvailableException</title> - <link rel="stylesheet" href="../../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <div class="page-body"> -<h2 class="class-name">Class Apache_Solr_NoServiceAvailableException</h2> - -<a name="sec-description"></a> -<div class="info-box"> - <div class="info-box-title">Description</div> - <div class="nav-bar"> - <span class="disabled">Description</span> | - <a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>) - - </div> - <div class="info-box-body"> - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Copyright (c) 2007-2011, Servigistics, Inc.</p> -<p class="description"><p>All rights reserved.</p><p>Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:</p><p><ul><li>Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer.</li><li>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.</li><li>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.</li></ul> 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.</p></p> - <ul class="tags"> - <li><span class="field">author:</span> Donovan Jimenez <<a href="mailto:djimenez@conduit-it.com">djimenez@conduit-it.com</a>></li> - <li><span class="field">version:</span> $Id: NoServiceAvailableException.php 54 2011-02-04 16:29:18Z donovan.jimenez $</li> - <li><span class="field">copyright:</span> Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com)</li> - <li><span class="field">license:</span> <a href="http://solr-php-client.googlecode.com/svn/trunk/COPYING">New BSD</a></li> - </ul> - <p class="notes"> - Located in <a class="field" href="_NoServiceAvailableException.php.html">/NoServiceAvailableException.php</a> (line <span class="field"><a href="../../__filesource/fsource_Apache_Solr_NoServiceAvailableException.php.html#a39">39</a></span>) - </p> - - - <pre>Exception - | - --<a href="../../Apache/Solr/Apache_Solr_Exception.html">Apache_Solr_Exception</a> - | - --Apache_Solr_NoServiceAvailableException</pre> - - </div> -</div> - - - <a name="sec-const-summary"></a> - <div class="info-box"> - <div class="info-box-title">Class Constant Summary</span></div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <span class="disabled">Constants</span> (<a href="#sec-consts">details</a>) - </div> - <div class="info-box-body"> - <div class="const-summary"> - <div class="const-title"> - <img src="../../media/images/Constant.png" alt=" " /> - <a href="#SVN_ID" title="details" class="const-name">SVN_ID</a> = <span class="var-type"> '$Id: NoServiceAvailableException.php 54 2011-02-04 16:29:18Z donovan.jimenez $'</span> - - </div> - <div class="const-title"> - <img src="../../media/images/Constant.png" alt=" " /> - <a href="#SVN_REVISION" title="details" class="const-name">SVN_REVISION</a> = <span class="var-type"> '$Revision: 54 $'</span> - - </div> - </div> - </div> - </div> - - - - - - <a name="sec-consts"></a> - <div class="info-box"> - <div class="info-box-title">Class Constants</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <span class="disabled">Constants</span> - - - </div> - <div class="info-box-body"> - <a name="constSVN_ID" id="SVN_ID"><!-- --></A> -<div class="oddrow"> - - <div class="const-header"> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name">SVN_ID</span> - = <span class="const-default"> '$Id: NoServiceAvailableException.php 54 2011-02-04 16:29:18Z donovan.jimenez $'</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_NoServiceAvailableException.php.html#a49">49</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">SVN ID meta data for this class</p> - - -</div> -<a name="constSVN_REVISION" id="SVN_REVISION"><!-- --></A> -<div class="evenrow"> - - <div class="const-header"> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name">SVN_REVISION</span> - = <span class="const-default"> '$Revision: 54 $'</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_NoServiceAvailableException.php.html#a44">44</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">SVN Revision meta data for this class</p> - - -</div> - <h4>Inherited Constants</h4> - <A NAME='inherited_vars'><!-- --></A> - <p>Inherited from <span class="classname"><a href="../../Apache/Solr/Apache_Solr_Exception.html">Apache_Solr_Exception</a></span></p> - <blockquote> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name"><a href="../../Apache/Solr/Apache_Solr_Exception.html#constSVN_ID">Apache_Solr_Exception::SVN_ID</a></span><br> - </span> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name"><a href="../../Apache/Solr/Apache_Solr_Exception.html#constSVN_REVISION">Apache_Solr_Exception::SVN_REVISION</a></span><br> - </span> - </blockquote> - - </div> - </div> - - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:15 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </div></body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_ParserException.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_ParserException.html deleted file mode 100644 index a751d0d998ddd130846934c73e2b25f4d53bf264..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_ParserException.html +++ /dev/null @@ -1,144 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>Docs For Class Apache_Solr_ParserException</title> - <link rel="stylesheet" href="../../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <div class="page-body"> -<h2 class="class-name">Class Apache_Solr_ParserException</h2> - -<a name="sec-description"></a> -<div class="info-box"> - <div class="info-box-title">Description</div> - <div class="nav-bar"> - <span class="disabled">Description</span> | - <a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>) - - </div> - <div class="info-box-body"> - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Copyright (c) 2007-2011, Servigistics, Inc.</p> -<p class="description"><p>All rights reserved.</p><p>Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:</p><p><ul><li>Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer.</li><li>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.</li><li>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.</li></ul> 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.</p></p> - <ul class="tags"> - <li><span class="field">author:</span> Donovan Jimenez <<a href="mailto:djimenez@conduit-it.com">djimenez@conduit-it.com</a>></li> - <li><span class="field">version:</span> $Id: ParserException.php 54 2011-02-04 16:29:18Z donovan.jimenez $</li> - <li><span class="field">copyright:</span> Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com)</li> - <li><span class="field">license:</span> <a href="http://solr-php-client.googlecode.com/svn/trunk/COPYING">New BSD</a></li> - </ul> - <p class="notes"> - Located in <a class="field" href="_ParserException.php.html">/ParserException.php</a> (line <span class="field"><a href="../../__filesource/fsource_Apache_Solr_ParserException.php.html#a39">39</a></span>) - </p> - - - <pre>Exception - | - --<a href="../../Apache/Solr/Apache_Solr_Exception.html">Apache_Solr_Exception</a> - | - --Apache_Solr_ParserException</pre> - - </div> -</div> - - - <a name="sec-const-summary"></a> - <div class="info-box"> - <div class="info-box-title">Class Constant Summary</span></div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <span class="disabled">Constants</span> (<a href="#sec-consts">details</a>) - </div> - <div class="info-box-body"> - <div class="const-summary"> - <div class="const-title"> - <img src="../../media/images/Constant.png" alt=" " /> - <a href="#SVN_ID" title="details" class="const-name">SVN_ID</a> = <span class="var-type"> '$Id: ParserException.php 54 2011-02-04 16:29:18Z donovan.jimenez $'</span> - - </div> - <div class="const-title"> - <img src="../../media/images/Constant.png" alt=" " /> - <a href="#SVN_REVISION" title="details" class="const-name">SVN_REVISION</a> = <span class="var-type"> '$Revision: 54 $'</span> - - </div> - </div> - </div> - </div> - - - - - - <a name="sec-consts"></a> - <div class="info-box"> - <div class="info-box-title">Class Constants</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <span class="disabled">Constants</span> - - - </div> - <div class="info-box-body"> - <a name="constSVN_ID" id="SVN_ID"><!-- --></A> -<div class="oddrow"> - - <div class="const-header"> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name">SVN_ID</span> - = <span class="const-default"> '$Id: ParserException.php 54 2011-02-04 16:29:18Z donovan.jimenez $'</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ParserException.php.html#a49">49</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">SVN ID meta data for this class</p> - - -</div> -<a name="constSVN_REVISION" id="SVN_REVISION"><!-- --></A> -<div class="evenrow"> - - <div class="const-header"> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name">SVN_REVISION</span> - = <span class="const-default"> '$Revision: 54 $'</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ParserException.php.html#a44">44</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">SVN Revision meta data for this class</p> - - -</div> - <h4>Inherited Constants</h4> - <A NAME='inherited_vars'><!-- --></A> - <p>Inherited from <span class="classname"><a href="../../Apache/Solr/Apache_Solr_Exception.html">Apache_Solr_Exception</a></span></p> - <blockquote> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name"><a href="../../Apache/Solr/Apache_Solr_Exception.html#constSVN_ID">Apache_Solr_Exception::SVN_ID</a></span><br> - </span> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name"><a href="../../Apache/Solr/Apache_Solr_Exception.html#constSVN_REVISION">Apache_Solr_Exception::SVN_REVISION</a></span><br> - </span> - </blockquote> - - </div> - </div> - - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:15 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </div></body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_Response.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_Response.html deleted file mode 100644 index 4ae528387677a17e73c6ae6480f7c5ad230e42f1..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_Response.html +++ /dev/null @@ -1,621 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>Docs For Class Apache_Solr_Response</title> - <link rel="stylesheet" href="../../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <div class="page-body"> -<h2 class="class-name">Class Apache_Solr_Response</h2> - -<a name="sec-description"></a> -<div class="info-box"> - <div class="info-box-title">Description</div> - <div class="nav-bar"> - <span class="disabled">Description</span> | - <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) - | <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) - - <a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>) - - </div> - <div class="info-box-body"> - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Represents a Solr response. Parses the raw response into a set of stdClass objects and associative arrays for easy access.</p> -<p class="description"><p>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.</p></p> - <p class="notes"> - Located in <a class="field" href="_Response.php.html">/Response.php</a> (line <span class="field"><a href="../../__filesource/fsource_Apache_Solr_Response.php.html#a48">48</a></span>) - </p> - - - <pre></pre> - - </div> -</div> - - - <a name="sec-const-summary"></a> - <div class="info-box"> - <div class="info-box-title">Class Constant Summary</span></div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <span class="disabled">Constants</span> (<a href="#sec-consts">details</a>) - <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) - - | - | - <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) - - </div> - <div class="info-box-body"> - <div class="const-summary"> - <div class="const-title"> - <img src="../../media/images/Constant.png" alt=" " /> - <a href="#SVN_ID" title="details" class="const-name">SVN_ID</a> = <span class="var-type"> '$Id: Response.php 54 2011-02-04 16:29:18Z donovan.jimenez $'</span> - - </div> - <div class="const-title"> - <img src="../../media/images/Constant.png" alt=" " /> - <a href="#SVN_REVISION" title="details" class="const-name">SVN_REVISION</a> = <span class="var-type"> '$Revision: 54 $'</span> - - </div> - </div> - </div> - </div> - - <a name="sec-var-summary"></a> - <div class="info-box"> - <div class="info-box-title">Variable Summary</span></div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <span class="disabled">Vars</span> (<a href="#sec-vars">details</a>) - | - <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) - - <a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>) - - </div> - <div class="info-box-body"> - <div class="var-summary"> - <div class="var-title"> - <span class="var-type">mixed</span> - <a href="#$_collapseSingleValueArrays" title="details" class="var-name">$_collapseSingleValueArrays</a> - </div> - <div class="var-title"> - <span class="var-type">boolean</span> - <a href="#$_createDocuments" title="details" class="var-name">$_createDocuments</a> - </div> - <div class="var-title"> - <span class="var-type">boolean</span> - <a href="#$_isParsed" title="details" class="var-name">$_isParsed</a> - </div> - <div class="var-title"> - <span class="var-type">mixed</span> - <a href="#$_parsedData" title="details" class="var-name">$_parsedData</a> - </div> - <div class="var-title"> - <span class="var-type"><a href="../../Apache/Solr/Apache_Solr_HttpTransport_Response.html">Apache_Solr_HttpTransport_Response</a></span> - <a href="#$_response" title="details" class="var-name">$_response</a> - </div> - </div> - </div> - </div> - - <a name="sec-method-summary"></a> - <div class="info-box"> - <div class="info-box-title">Method Summary</span></div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>) - - <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) - - | - <span class="disabled">Methods</span> (<a href="#sec-methods">details</a>) - </div> - <div class="info-box-body"> - <div class="method-summary"> - - <div class="method-definition"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_HttpTransport_Response.html">Apache_Solr_HttpTransport_Response</a></span> - <a href="#__construct" title="details" class="method-name">__construct</a> - (<span class="var-type"><a href="../../Apache/Solr/Apache_Solr_HttpTransport_Response.html">Apache_Solr_HttpTransport_Response</a></span> <span class="var-name">$response</span>, [<span class="var-type">boolean</span> <span class="var-name">$createDocuments</span> = <span class="var-default">true</span>], [<span class="var-type">boolean</span> <span class="var-name">$collapseSingleValueArrays</span> = <span class="var-default">true</span>]) - </div> - - <div class="method-definition"> - <span class="method-result">string</span> - <a href="#getEncoding" title="details" class="method-name">getEncoding</a> - () - </div> - - <div class="method-definition"> - <span class="method-result">integer</span> - <a href="#getHttpStatus" title="details" class="method-name">getHttpStatus</a> - () - </div> - - <div class="method-definition"> - <span class="method-result">string</span> - <a href="#getHttpStatusMessage" title="details" class="method-name">getHttpStatusMessage</a> - () - </div> - - <div class="method-definition"> - <span class="method-result">string</span> - <a href="#getRawResponse" title="details" class="method-name">getRawResponse</a> - () - </div> - - <div class="method-definition"> - <span class="method-result">string</span> - <a href="#getType" title="details" class="method-name">getType</a> - () - </div> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#_parseData" title="details" class="method-name">_parseData</a> - () - </div> - - <div class="method-definition"> - <span class="method-result">mixed</span> - <a href="#__get" title="details" class="method-name">__get</a> - (<span class="var-type">string</span> <span class="var-name">$key</span>) - </div> - - <div class="method-definition"> - <span class="method-result">boolean</span> - <a href="#__isset" title="details" class="method-name">__isset</a> - (<span class="var-type">string</span> <span class="var-name">$key</span>) - </div> - </div> - </div> - </div> - - <a name="sec-vars"></a> - <div class="info-box"> - <div class="info-box-title">Variables</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>) - - - <a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>) - - | - <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) - - </div> - <div class="info-box-body"> - -<a name="var$_collapseSingleValueArrays" id="$_collapseSingleValueArrays"><!-- --></A> -<div class="oddrow"> - - <div class="var-header"> - <span class="var-title"> - <span class="var-type">mixed</span> - <span class="var-name">$_collapseSingleValueArrays</span> - = <span class="var-default"> true</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Response.php.html#a88">88</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> - <ul class="tags"> - <li><span class="field">access:</span> protected</li> - </ul> - - - - - -</div> -<a name="var$_createDocuments" id="$_createDocuments"><!-- --></A> -<div class="evenrow"> - - <div class="var-header"> - <span class="var-title"> - <span class="var-type">boolean</span> - <span class="var-name">$_createDocuments</span> - = <span class="var-default"> true</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Response.php.html#a87">87</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Data parsing flags. Determines what extra processing should be done after the data is initially converted to a data structure.</p> - <ul class="tags"> - <li><span class="field">access:</span> protected</li> - </ul> - - - - - -</div> -<a name="var$_isParsed" id="$_isParsed"><!-- --></A> -<div class="oddrow"> - - <div class="var-header"> - <span class="var-title"> - <span class="var-type">boolean</span> - <span class="var-name">$_isParsed</span> - = <span class="var-default"> false</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Response.php.html#a72">72</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Whether the raw response has been parsed</p> - <ul class="tags"> - <li><span class="field">access:</span> protected</li> - </ul> - - - - - -</div> -<a name="var$_parsedData" id="$_parsedData"><!-- --></A> -<div class="evenrow"> - - <div class="var-header"> - <span class="var-title"> - <span class="var-type">mixed</span> - <span class="var-name">$_parsedData</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Response.php.html#a79">79</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Parsed representation of the data</p> - <ul class="tags"> - <li><span class="field">access:</span> protected</li> - </ul> - - - - - -</div> -<a name="var$_response" id="$_response"><!-- --></A> -<div class="oddrow"> - - <div class="var-header"> - <span class="var-title"> - <span class="var-type"><a href="../../Apache/Solr/Apache_Solr_HttpTransport_Response.html">Apache_Solr_HttpTransport_Response</a></span> - <span class="var-name">$_response</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Response.php.html#a65">65</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Holds the raw response used in construction</p> - <ul class="tags"> - <li><span class="field">var:</span> HTTP response</li> - <li><span class="field">access:</span> protected</li> - </ul> - - - - - -</div> - - </div> - </div> - - <a name="sec-methods"></a> - <div class="info-box"> - <div class="info-box-title">Methods</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) - <a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>) - - <a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>) - - </div> - <div class="info-box-body"> - <A NAME='method_detail'></A> -<a name="method__construct" id="__construct"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">Constructor __construct</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Response.php.html#a97">97</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Constructor. Takes the raw HTTP response body and the exploded HTTP headers</p> - <ul class="tags"> - <li><span class="field">return:</span> HTTP response</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_HttpTransport_Response.html">Apache_Solr_HttpTransport_Response</a></span> - <span class="method-name"> - __construct - </span> - (<span class="var-type"><a href="../../Apache/Solr/Apache_Solr_HttpTransport_Response.html">Apache_Solr_HttpTransport_Response</a></span> <span class="var-name">$response</span>, [<span class="var-type">boolean</span> <span class="var-name">$createDocuments</span> = <span class="var-default">true</span>], [<span class="var-type">boolean</span> <span class="var-name">$collapseSingleValueArrays</span> = <span class="var-default">true</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">boolean</span> - <span class="var-name">$createDocuments</span><span class="var-description">: Whether to convert the documents json_decoded as stdClass instances to Apache_Solr_Document instances</span> </li> - <li> - <span class="var-type">boolean</span> - <span class="var-name">$collapseSingleValueArrays</span><span class="var-description">: Whether to make multivalued fields appear as single values</span> </li> - <li> - <span class="var-type"><a href="../../Apache/Solr/Apache_Solr_HttpTransport_Response.html">Apache_Solr_HttpTransport_Response</a></span> - <span class="var-name">$response</span> </li> - </ul> - - - </div> -<a name="methodgetEncoding" id="getEncoding"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">getEncoding</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Response.php.html#a139">139</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Get character encoding of this response. Should usually be utf-8, but just in case</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">string</span> - <span class="method-name"> - getEncoding - </span> - () - </div> - - - - </div> -<a name="methodgetHttpStatus" id="getHttpStatus"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">getHttpStatus</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Response.php.html#a109">109</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Get the HTTP status code</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">integer</span> - <span class="method-name"> - getHttpStatus - </span> - () - </div> - - - - </div> -<a name="methodgetHttpStatusMessage" id="getHttpStatusMessage"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">getHttpStatusMessage</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Response.php.html#a119">119</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Get the HTTP status message of the response</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">string</span> - <span class="method-name"> - getHttpStatusMessage - </span> - () - </div> - - - - </div> -<a name="methodgetRawResponse" id="getRawResponse"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">getRawResponse</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Response.php.html#a149">149</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Get the raw response as it was given to this object</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">string</span> - <span class="method-name"> - getRawResponse - </span> - () - </div> - - - - </div> -<a name="methodgetType" id="getType"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">getType</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Response.php.html#a129">129</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Get content type of this Solr response</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">string</span> - <span class="method-name"> - getType - </span> - () - </div> - - - - </div> -<a name="method_parseData" id="_parseData"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">_parseData</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Response.php.html#a198">198</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Parse the raw response into the parsed_data array for access</p> - <ul class="tags"> - <li><span class="field">throws:</span> Apache_Solr_ParserException If the data could not be parsed</li> - <li><span class="field">access:</span> protected</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - _parseData - </span> - () - </div> - - - - </div> -<a name="method__get" id="__get"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">__get</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Response.php.html#a160">160</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Magic get to expose the parsed data and to lazily load it</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">mixed</span> - <span class="method-name"> - __get - </span> - (<span class="var-type">string</span> <span class="var-name">$key</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$key</span> </li> - </ul> - - - </div> -<a name="method__isset" id="__isset"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">__isset</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Response.php.html#a182">182</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Magic function for isset function on parsed data</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">boolean</span> - <span class="method-name"> - __isset - </span> - (<span class="var-type">string</span> <span class="var-name">$key</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$key</span> </li> - </ul> - - - </div> - - </div> - </div> - - <a name="sec-consts"></a> - <div class="info-box"> - <div class="info-box-title">Class Constants</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-var-summary">Constants</a> (<span class="disabled">details</span>) - - - <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) - | - <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) - - </div> - <div class="info-box-body"> - <a name="constSVN_ID" id="SVN_ID"><!-- --></A> -<div class="oddrow"> - - <div class="const-header"> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name">SVN_ID</span> - = <span class="const-default"> '$Id: Response.php 54 2011-02-04 16:29:18Z donovan.jimenez $'</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Response.php.html#a58">58</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">SVN ID meta data for this class</p> - - -</div> -<a name="constSVN_REVISION" id="SVN_REVISION"><!-- --></A> -<div class="evenrow"> - - <div class="const-header"> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name">SVN_REVISION</span> - = <span class="const-default"> '$Revision: 54 $'</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Response.php.html#a53">53</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">SVN Revision meta data for this class</p> - - -</div> - - </div> - </div> - - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:15 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </div></body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_Service.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_Service.html deleted file mode 100644 index aff68bee97f3ebd5b2a37dca58912a5ff72f647e..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_Service.html +++ /dev/null @@ -1,2473 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>Docs For Class Apache_Solr_Service</title> - <link rel="stylesheet" href="../../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <div class="page-body"> -<h2 class="class-name">Class Apache_Solr_Service</h2> - -<a name="sec-description"></a> -<div class="info-box"> - <div class="info-box-title">Description</div> - <div class="nav-bar"> - <span class="disabled">Description</span> | - <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) - | <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) - - <a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>) - - </div> - <div class="info-box-body"> - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Starting point for the Solr API. Represents a Solr server resource and has methods for pinging, adding, deleting, committing, optimizing and searching.</p> -<p class="description"><p>Example Usage: <div class="src-code"><ol><li><div class="src-line"> ...</div></li> -<li><div class="src-line"> <span class="src-var">$solr </span>= <span class="src-key">new </span><span class="src-id"><a href="../../Apache/Solr/Apache_Solr_Service.html">Apache_Solr_Service</a></span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">; </span><span class="src-comm">//or explicitly new Apache_Solr_Service('localhost', 8180, '/solr')</span></div></li> -<li><div class="src-line"> </div></li> -<li><div class="src-line"> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$solr</span><span class="src-sym">-></span><a href="../../Apache/Solr/Apache_Solr_Service.html#methodping">ping</a><span class="src-sym">(</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"> <span class="src-sym">{</span></div></li> -<li><div class="src-line"> <span class="src-var">$solr</span><span class="src-sym">-></span><a href="../../Apache/Solr/Apache_Solr_Service.html#methoddeleteByQuery">deleteByQuery</a><span class="src-sym">(</span><span class="src-str">'*:*'</span><span class="src-sym">)</span><span class="src-sym">; </span><span class="src-comm">//deletes ALL documents - be careful :)</span></div></li> -<li><div class="src-line"> </div></li> -<li><div class="src-line"> <span class="src-var">$document </span>= <span class="src-key">new </span><span class="src-id"><a href="../../Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a></span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"> <span class="src-var">$document</span><span class="src-sym">-></span><span class="src-id">id </span>= <a href="http://www.php.net/uniqid">uniqid</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">; </span><span class="src-comm">//or something else suitably unique</span></div></li> -<li><div class="src-line"> </div></li> -<li><div class="src-line"> <span class="src-var">$document</span><span class="src-sym">-></span><span class="src-id">title </span>= <span class="src-str">'Some Title'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"> <span class="src-var">$document</span><span class="src-sym">-></span><span class="src-id">content </span>= <span class="src-str">'Some content for this wonderful document. Blah blah blah.'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"> </div></li> -<li><div class="src-line"> <span class="src-var">$solr</span><span class="src-sym">-></span><a href="../../Apache/Solr/Apache_Solr_Service.html#methodaddDocument">addDocument</a><span class="src-sym">(</span><span class="src-var">$document</span><span class="src-sym">)</span><span class="src-sym">; </span><span class="src-comm">//if you're going to be adding documents in bulk using addDocuments</span></div></li> -<li><div class="src-line"> <span class="src-comm">//with an array of documents is faster</span></div></li> -<li><div class="src-line"> </div></li> -<li><div class="src-line"> <span class="src-var">$solr</span><span class="src-sym">-></span><a href="../../Apache/Solr/Apache_Solr_Service.html#methodcommit">commit</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">; </span><span class="src-comm">//commit to see the deletes and the document</span></div></li> -<li><div class="src-line"> <span class="src-var">$solr</span><span class="src-sym">-></span><a href="../../Apache/Solr/Apache_Solr_Service.html#methodoptimize">optimize</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">; </span><span class="src-comm">//merges multiple segments into one</span></div></li> -<li><div class="src-line"> </div></li> -<li><div class="src-line"> <span class="src-comm">//and the one we all care about, search!</span></div></li> -<li><div class="src-line"> <span class="src-comm">//any other common or custom parameters to the request handler can go in the</span></div></li> -<li><div class="src-line"> <span class="src-comm">//optional 4th array argument.</span></div></li> -<li><div class="src-line"> <span class="src-var">$solr</span><span class="src-sym">-></span><a href="../../Apache/Solr/Apache_Solr_Service.html#methodsearch">search</a><span class="src-sym">(</span><span class="src-str">'content:blah'</span><span class="src-sym">, </span><span class="src-num">0</span><span class="src-sym">, </span><span class="src-num">10</span><span class="src-sym">, </span><span class="src-key">array</span><span class="src-sym">(</span><span class="src-str">'sort' </span>=> <span class="src-str">'timestamp desc'</span><span class="src-sym">))</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"> <span class="src-sym">}</span></div></li> -<li><div class="src-line"> ...</div></li> -</ol></div></p></p> - <ul class="tags"> - <li><span class="field">todo:</span> 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</li> - </ul> - <p class="notes"> - Located in <a class="field" href="_Service.php.html">/Service.php</a> (line <span class="field"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a86">86</a></span>) - </p> - - - <pre></pre> - - </div> -</div> - - - <a name="sec-const-summary"></a> - <div class="info-box"> - <div class="info-box-title">Class Constant Summary</span></div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <span class="disabled">Constants</span> (<a href="#sec-consts">details</a>) - <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) - - | - | - <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) - - </div> - <div class="info-box-body"> - <div class="const-summary"> - <div class="const-title"> - <img src="../../media/images/Constant.png" alt=" " /> - <a href="#EXTRACT_SERVLET" title="details" class="const-name">EXTRACT_SERVLET</a> = <span class="var-type"> 'update/extract'</span> - - </div> - <div class="const-title"> - <img src="../../media/images/Constant.png" alt=" " /> - <a href="#METHOD_GET" title="details" class="const-name">METHOD_GET</a> = <span class="var-type"> 'GET'</span> - - </div> - <div class="const-title"> - <img src="../../media/images/Constant.png" alt=" " /> - <a href="#METHOD_POST" title="details" class="const-name">METHOD_POST</a> = <span class="var-type"> 'POST'</span> - - </div> - <div class="const-title"> - <img src="../../media/images/Constant.png" alt=" " /> - <a href="#NAMED_LIST_FLAT" title="details" class="const-name">NAMED_LIST_FLAT</a> = <span class="var-type"> 'flat'</span> - - </div> - <div class="const-title"> - <img src="../../media/images/Constant.png" alt=" " /> - <a href="#NAMED_LIST_MAP" title="details" class="const-name">NAMED_LIST_MAP</a> = <span class="var-type"> 'map'</span> - - </div> - <div class="const-title"> - <img src="../../media/images/Constant.png" alt=" " /> - <a href="#PING_SERVLET" title="details" class="const-name">PING_SERVLET</a> = <span class="var-type"> 'admin/ping'</span> - - </div> - <div class="const-title"> - <img src="../../media/images/Constant.png" alt=" " /> - <a href="#SEARCH_SERVLET" title="details" class="const-name">SEARCH_SERVLET</a> = <span class="var-type"> 'select'</span> - - </div> - <div class="const-title"> - <img src="../../media/images/Constant.png" alt=" " /> - <a href="#SOLR_WRITER" title="details" class="const-name">SOLR_WRITER</a> = <span class="var-type"> 'json'</span> - - </div> - <div class="const-title"> - <img src="../../media/images/Constant.png" alt=" " /> - <a href="#SVN_ID" title="details" class="const-name">SVN_ID</a> = <span class="var-type"> '$Id: Service.php 59 2011-02-08 20:38:59Z donovan.jimenez $'</span> - - </div> - <div class="const-title"> - <img src="../../media/images/Constant.png" alt=" " /> - <a href="#SVN_REVISION" title="details" class="const-name">SVN_REVISION</a> = <span class="var-type"> '$Revision: 59 $'</span> - - </div> - <div class="const-title"> - <img src="../../media/images/Constant.png" alt=" " /> - <a href="#THREADS_SERVLET" title="details" class="const-name">THREADS_SERVLET</a> = <span class="var-type"> 'admin/threads'</span> - - </div> - <div class="const-title"> - <img src="../../media/images/Constant.png" alt=" " /> - <a href="#UPDATE_SERVLET" title="details" class="const-name">UPDATE_SERVLET</a> = <span class="var-type"> 'update'</span> - - </div> - </div> - </div> - </div> - - <a name="sec-var-summary"></a> - <div class="info-box"> - <div class="info-box-title">Variable Summary</span></div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <span class="disabled">Vars</span> (<a href="#sec-vars">details</a>) - | - <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) - - <a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>) - - </div> - <div class="info-box-body"> - <div class="var-summary"> - <div class="var-title"> - <span class="var-type">boolean</span> - <a href="#$_collapseSingleValueArrays" title="details" class="var-name">$_collapseSingleValueArrays</a> - </div> - <div class="var-title"> - <span class="var-type">boolean</span> - <a href="#$_createDocuments" title="details" class="var-name">$_createDocuments</a> - </div> - <div class="var-title"> - <span class="var-type">string</span> - <a href="#$_host" title="details" class="var-name">$_host</a> - </div> - <div class="var-title"> - <span class="var-type"><a href="../../Apache/Solr/Apache_Solr_HttpTransport_Interface.html">Apache_Solr_HttpTransport_Interface</a></span> - <a href="#$_httpTransport" title="details" class="var-name">$_httpTransport</a> - </div> - <div class="var-title"> - <span class="var-type">string</span> - <a href="#$_namedListTreatment" title="details" class="var-name">$_namedListTreatment</a> - </div> - <div class="var-title"> - <span class="var-type">mixed</span> - <a href="#$_path" title="details" class="var-name">$_path</a> - </div> - <div class="var-title"> - <span class="var-type">string</span> - <a href="#$_pingUrl" title="details" class="var-name">$_pingUrl</a> - </div> - <div class="var-title"> - <span class="var-type">mixed</span> - <a href="#$_port" title="details" class="var-name">$_port</a> - </div> - <div class="var-title"> - <span class="var-type">mixed</span> - <a href="#$_queryBracketsEscaped" title="details" class="var-name">$_queryBracketsEscaped</a> - </div> - <div class="var-title"> - <span class="var-type">string</span> - <a href="#$_queryDelimiter" title="details" class="var-name">$_queryDelimiter</a> - </div> - <div class="var-title"> - <span class="var-type">mixed</span> - <a href="#$_queryStringDelimiter" title="details" class="var-name">$_queryStringDelimiter</a> - </div> - <div class="var-title"> - <span class="var-type">mixed</span> - <a href="#$_searchUrl" title="details" class="var-name">$_searchUrl</a> - </div> - <div class="var-title"> - <span class="var-type">mixed</span> - <a href="#$_threadsUrl" title="details" class="var-name">$_threadsUrl</a> - </div> - <div class="var-title"> - <span class="var-type">mixed</span> - <a href="#$_updateUrl" title="details" class="var-name">$_updateUrl</a> - </div> - <div class="var-title"> - <span class="var-type">boolean</span> - <a href="#$_urlsInited" title="details" class="var-name">$_urlsInited</a> - </div> - </div> - </div> - </div> - - <a name="sec-method-summary"></a> - <div class="info-box"> - <div class="info-box-title">Method Summary</span></div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>) - - <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) - - | - <span class="disabled">Methods</span> (<a href="#sec-methods">details</a>) - </div> - <div class="info-box-body"> - <div class="method-summary"> - - <div class="method-definition"> - static <span class="method-result">string</span> - <a href="#escape" title="details" class="method-name">escape</a> - (<span class="var-type">string</span> <span class="var-name">$value</span>) - </div> - - <div class="method-definition"> - static <span class="method-result">string</span> - <a href="#escapePhrase" title="details" class="method-name">escapePhrase</a> - (<span class="var-type">string</span> <span class="var-name">$value</span>) - </div> - - <div class="method-definition"> - static <span class="method-result">string</span> - <a href="#phrase" title="details" class="method-name">phrase</a> - (<span class="var-type">string</span> <span class="var-name">$value</span>) - </div> - - <div class="method-definition"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <a href="#add" title="details" class="method-name">add</a> - (<span class="var-type">string</span> <span class="var-name">$rawPost</span>) - </div> - - <div class="method-definition"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <a href="#addDocument" title="details" class="method-name">addDocument</a> - (<span class="var-type"><a href="../../Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a></span> <span class="var-name">$document</span>, [<span class="var-type">boolean</span> <span class="var-name">$allowDups</span> = <span class="var-default">false</span>], [<span class="var-type">boolean</span> <span class="var-name">$overwritePending</span> = <span class="var-default">true</span>], [<span class="var-type">boolean</span> <span class="var-name">$overwriteCommitted</span> = <span class="var-default">true</span>], [<span class="var-type">integer</span> <span class="var-name">$commitWithin</span> = <span class="var-default">0</span>]) - </div> - - <div class="method-definition"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <a href="#addDocuments" title="details" class="method-name">addDocuments</a> - (<span class="var-type">array</span> <span class="var-name">$documents</span>, [<span class="var-type">boolean</span> <span class="var-name">$allowDups</span> = <span class="var-default">false</span>], [<span class="var-type">boolean</span> <span class="var-name">$overwritePending</span> = <span class="var-default">true</span>], [<span class="var-type">boolean</span> <span class="var-name">$overwriteCommitted</span> = <span class="var-default">true</span>], [<span class="var-type">integer</span> <span class="var-name">$commitWithin</span> = <span class="var-default">0</span>]) - </div> - - <div class="method-definition"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <a href="#commit" title="details" class="method-name">commit</a> - ([<span class="var-type">boolean</span> <span class="var-name">$expungeDeletes</span> = <span class="var-default">false</span>], [<span class="var-type">boolean</span> <span class="var-name">$waitFlush</span> = <span class="var-default">true</span>], [<span class="var-type">boolean</span> <span class="var-name">$waitSearcher</span> = <span class="var-default">true</span>], [<span class="var-type">float</span> <span class="var-name">$timeout</span> = <span class="var-default">3600</span>]) - </div> - - <div class="method-definition"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <a href="#delete" title="details" class="method-name">delete</a> - (<span class="var-type">string</span> <span class="var-name">$rawPost</span>, [<span class="var-type">float</span> <span class="var-name">$timeout</span> = <span class="var-default">3600</span>]) - </div> - - <div class="method-definition"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <a href="#deleteById" title="details" class="method-name">deleteById</a> - (<span class="var-type">string</span> <span class="var-name">$id</span>, [<span class="var-type">boolean</span> <span class="var-name">$fromPending</span> = <span class="var-default">true</span>], [<span class="var-type">boolean</span> <span class="var-name">$fromCommitted</span> = <span class="var-default">true</span>], [<span class="var-type">float</span> <span class="var-name">$timeout</span> = <span class="var-default">3600</span>]) - </div> - - <div class="method-definition"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <a href="#deleteByMultipleIds" title="details" class="method-name">deleteByMultipleIds</a> - (<span class="var-type">array</span> <span class="var-name">$ids</span>, [<span class="var-type">boolean</span> <span class="var-name">$fromPending</span> = <span class="var-default">true</span>], [<span class="var-type">boolean</span> <span class="var-name">$fromCommitted</span> = <span class="var-default">true</span>], [<span class="var-type">float</span> <span class="var-name">$timeout</span> = <span class="var-default">3600</span>]) - </div> - - <div class="method-definition"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <a href="#deleteByQuery" title="details" class="method-name">deleteByQuery</a> - (<span class="var-type">string</span> <span class="var-name">$rawQuery</span>, [<span class="var-type">boolean</span> <span class="var-name">$fromPending</span> = <span class="var-default">true</span>], [<span class="var-type">boolean</span> <span class="var-name">$fromCommitted</span> = <span class="var-default">true</span>], [<span class="var-type">float</span> <span class="var-name">$timeout</span> = <span class="var-default">3600</span>]) - </div> - - <div class="method-definition"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <a href="#extract" title="details" class="method-name">extract</a> - (<span class="var-type">string</span> <span class="var-name">$file</span>, [<span class="var-type">array</span> <span class="var-name">$params</span> = <span class="var-default">array()</span>], [<span class="var-type"><a href="../../Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a></span> <span class="var-name">$document</span> = <span class="var-default">null</span>], [<span class="var-type">string</span> <span class="var-name">$mimetype</span> = <span class="var-default">'application/octet-stream'</span>]) - </div> - - <div class="method-definition"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <a href="#extractFromString" title="details" class="method-name">extractFromString</a> - (<span class="var-type">string</span> <span class="var-name">$data</span>, [<span class="var-type">array</span> <span class="var-name">$params</span> = <span class="var-default">array()</span>], [<span class="var-type"><a href="../../Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a></span> <span class="var-name">$document</span> = <span class="var-default">null</span>], [<span class="var-type">string</span> <span class="var-name">$mimetype</span> = <span class="var-default">'application/octet-stream'</span>]) - </div> - - <div class="method-definition"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <a href="#extractFromUrl" title="details" class="method-name">extractFromUrl</a> - (<span class="var-type">string</span> <span class="var-name">$url</span>, [<span class="var-type">array</span> <span class="var-name">$params</span> = <span class="var-default">array()</span>], [<span class="var-type"><a href="../../Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a></span> <span class="var-name">$document</span> = <span class="var-default">null</span>], [<span class="var-type">string</span> <span class="var-name">$mimetype</span> = <span class="var-default">'application/octet-stream'</span>]) - </div> - - <div class="method-definition"> - <span class="method-result">boolean</span> - <a href="#getCollapseSingleValueArrays" title="details" class="method-name">getCollapseSingleValueArrays</a> - () - </div> - - <div class="method-definition"> - <span class="method-result">boolean</span> - <a href="#getCreateDocuments" title="details" class="method-name">getCreateDocuments</a> - () - </div> - - <div class="method-definition"> - <span class="method-result">float</span> - <a href="#getDefaultTimeout" title="details" class="method-name">getDefaultTimeout</a> - () - </div> - - <div class="method-definition"> - <span class="method-result">string</span> - <a href="#getHost" title="details" class="method-name">getHost</a> - () - </div> - - <div class="method-definition"> - <span class="method-result">HttpTransportInterface</span> - <a href="#getHttpTransport" title="details" class="method-name">getHttpTransport</a> - () - </div> - - <div class="method-definition"> - <span class="method-result">string</span> - <a href="#getNamedListTreatment" title="details" class="method-name">getNamedListTreatment</a> - () - </div> - - <div class="method-definition"> - <span class="method-result">string</span> - <a href="#getPath" title="details" class="method-name">getPath</a> - () - </div> - - <div class="method-definition"> - <span class="method-result">integer</span> - <a href="#getPort" title="details" class="method-name">getPort</a> - () - </div> - - <div class="method-definition"> - <span class="method-result">Apache_Solr_Service</span> - <a href="#__construct" title="details" class="method-name">__construct</a> - ([<span class="var-type">string</span> <span class="var-name">$host</span> = <span class="var-default">'localhost'</span>], [<span class="var-type">string</span> <span class="var-name">$port</span> = <span class="var-default">8180</span>], [<span class="var-type">string</span> <span class="var-name">$path</span> = <span class="var-default">'/solr/'</span>], [<span class="var-type"><a href="../../Apache/Solr/Apache_Solr_HttpTransport_Interface.html">Apache_Solr_HttpTransport_Interface</a></span> <span class="var-name">$httpTransport</span> = <span class="var-default">false</span>]) - </div> - - <div class="method-definition"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <a href="#optimize" title="details" class="method-name">optimize</a> - ([<span class="var-type">boolean</span> <span class="var-name">$waitFlush</span> = <span class="var-default">true</span>], [<span class="var-type">boolean</span> <span class="var-name">$waitSearcher</span> = <span class="var-default">true</span>], [<span class="var-type">float</span> <span class="var-name">$timeout</span> = <span class="var-default">3600</span>]) - </div> - - <div class="method-definition"> - <span class="method-result">float</span> - <a href="#ping" title="details" class="method-name">ping</a> - ([<span class="var-type">float</span> <span class="var-name">$timeout</span> = <span class="var-default">2</span>]) - </div> - - <div class="method-definition"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <a href="#search" title="details" class="method-name">search</a> - (<span class="var-type">string</span> <span class="var-name">$query</span>, [<span class="var-type">int</span> <span class="var-name">$offset</span> = <span class="var-default">0</span>], [<span class="var-type">int</span> <span class="var-name">$limit</span> = <span class="var-default">10</span>], [<span class="var-type">array</span> <span class="var-name">$params</span> = <span class="var-default">array()</span>], [<span class="var-type">string</span> <span class="var-name">$method</span> = <span class="var-default">self::METHOD_GET</span>]) - </div> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#setCollapseSingleValueArrays" title="details" class="method-name">setCollapseSingleValueArrays</a> - (<span class="var-type">boolean</span> <span class="var-name">$collapseSingleValueArrays</span>) - </div> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#setCreateDocuments" title="details" class="method-name">setCreateDocuments</a> - (<span class="var-type">boolean</span> <span class="var-name">$createDocuments</span>) - </div> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#setDefaultTimeout" title="details" class="method-name">setDefaultTimeout</a> - (<span class="var-type">float</span> <span class="var-name">$timeout</span>) - </div> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#setHost" title="details" class="method-name">setHost</a> - (<span class="var-type">string</span> <span class="var-name">$host</span>) - </div> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#setHttpTransport" title="details" class="method-name">setHttpTransport</a> - (<span class="var-type"><a href="../../Apache/Solr/Apache_Solr_HttpTransport_Interface.html">Apache_Solr_HttpTransport_Interface</a></span> <span class="var-name">$httpTransport</span>) - </div> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#setNamedListTreatment" title="details" class="method-name">setNamedListTreatment</a> - (<span class="var-type">string</span> <span class="var-name">$namedListTreatment</span>) - </div> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#setPath" title="details" class="method-name">setPath</a> - (<span class="var-type">string</span> <span class="var-name">$path</span>) - </div> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#setPort" title="details" class="method-name">setPort</a> - (<span class="var-type">integer</span> <span class="var-name">$port</span>) - </div> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#setQueryDelimiter" title="details" class="method-name">setQueryDelimiter</a> - (<span class="var-type">string</span> <span class="var-name">$queryDelimiter</span>) - </div> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#setQueryStringDelimiter" title="details" class="method-name">setQueryStringDelimiter</a> - (<span class="var-type">string</span> <span class="var-name">$queryStringDelimiter</span>) - </div> - - <div class="method-definition"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <a href="#threads" title="details" class="method-name">threads</a> - () - </div> - - <div class="method-definition"> - <span class="method-result">string</span> - <a href="#_constructUrl" title="details" class="method-name">_constructUrl</a> - (<span class="var-type">string</span> <span class="var-name">$servlet</span>, [<span class="var-type"></span> <span class="var-name">$params</span> = <span class="var-default">array()</span>]) - </div> - - <div class="method-definition"> - <span class="method-result">string</span> - <a href="#_documentToXmlFragment" title="details" class="method-name">_documentToXmlFragment</a> - (<span class="var-type"><a href="../../Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a></span> <span class="var-name">$document</span>) - </div> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#_generateQueryString" title="details" class="method-name">_generateQueryString</a> - (<span class="var-type"></span> <span class="var-name">$params</span>) - </div> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#_initUrls" title="details" class="method-name">_initUrls</a> - () - </div> - - <div class="method-definition"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <a href="#_sendRawGet" title="details" class="method-name">_sendRawGet</a> - (<span class="var-type">string</span> <span class="var-name">$url</span>, [<span class="var-type">float</span> <span class="var-name">$timeout</span> = <span class="var-default">FALSE</span>]) - </div> - - <div class="method-definition"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <a href="#_sendRawPost" title="details" class="method-name">_sendRawPost</a> - (<span class="var-type">string</span> <span class="var-name">$url</span>, <span class="var-type">string</span> <span class="var-name">$rawPost</span>, [<span class="var-type">float</span> <span class="var-name">$timeout</span> = <span class="var-default">FALSE</span>], [<span class="var-type">string</span> <span class="var-name">$contentType</span> = <span class="var-default">'text/xml; charset=UTF-8'</span>]) - </div> - - <div class="method-definition"> - <span class="method-result">string</span> - <a href="#_stripCtrlChars" title="details" class="method-name">_stripCtrlChars</a> - (<span class="var-type">string</span> <span class="var-name">$string</span>) - </div> - </div> - </div> - </div> - - <a name="sec-vars"></a> - <div class="info-box"> - <div class="info-box-title">Variables</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>) - - - <a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>) - - | - <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) - - </div> - <div class="info-box-body"> - -<a name="var$_collapseSingleValueArrays" id="$_collapseSingleValueArrays"><!-- --></A> -<div class="oddrow"> - - <div class="var-header"> - <span class="var-title"> - <span class="var-type">boolean</span> - <span class="var-name">$_collapseSingleValueArrays</span> - = <span class="var-default"> true</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a145">145</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Whether <a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a> objects should have multivalue fields with only a single value collapsed to appear as a single value would.</p> - <ul class="tags"> - <li><span class="field">access:</span> protected</li> - </ul> - - - - - -</div> -<a name="var$_createDocuments" id="$_createDocuments"><!-- --></A> -<div class="evenrow"> - - <div class="var-header"> - <span class="var-title"> - <span class="var-type">boolean</span> - <span class="var-name">$_createDocuments</span> - = <span class="var-default"> true</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a137">137</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Whether <a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a> objects should create <a href="../../Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a>s in the returned parsed data</p> - <ul class="tags"> - <li><span class="field">access:</span> protected</li> - </ul> - - - - - -</div> -<a name="var$_host" id="$_host"><!-- --></A> -<div class="oddrow"> - - <div class="var-header"> - <span class="var-title"> - <span class="var-type">string</span> - <span class="var-name">$_host</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a129">129</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Server identification strings</p> - <ul class="tags"> - <li><span class="field">access:</span> protected</li> - </ul> - - - - - -</div> -<a name="var$_httpTransport" id="$_httpTransport"><!-- --></A> -<div class="evenrow"> - - <div class="var-header"> - <span class="var-title"> - <span class="var-type"><a href="../../Apache/Solr/Apache_Solr_HttpTransport_Interface.html">Apache_Solr_HttpTransport_Interface</a></span> - <span class="var-name">$_httpTransport</span> - = <span class="var-default"> false</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a182">182</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">HTTP Transport implementation (pluggable)</p> - <ul class="tags"> - <li><span class="field">access:</span> protected</li> - </ul> - - - - - -</div> -<a name="var$_namedListTreatment" id="$_namedListTreatment"><!-- --></A> -<div class="oddrow"> - - <div class="var-header"> - <span class="var-title"> - <span class="var-type">string</span> - <span class="var-name">$_namedListTreatment</span> - = <span class="var-default"> self::NAMED_LIST_MAP</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a153">153</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">How NamedLists should be formatted in the output. This specifically effects facet counts. Valid values are <a href="../../Apache/Solr/Apache_Solr_Service.html#constNAMED_LIST_MAP">Apache_Solr_Service::NAMED_LIST_MAP</a> (default) or <a href="../../Apache/Solr/Apache_Solr_Service.html#constNAMED_LIST_FLAT">Apache_Solr_Service::NAMED_LIST_FLAT</a>.</p> - <ul class="tags"> - <li><span class="field">access:</span> protected</li> - </ul> - - - - - -</div> -<a name="var$_path" id="$_path"><!-- --></A> -<div class="evenrow"> - - <div class="var-header"> - <span class="var-title"> - <span class="var-type">mixed</span> - <span class="var-name">$_path</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a129">129</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> - <ul class="tags"> - <li><span class="field">access:</span> protected</li> - </ul> - - - - - -</div> -<a name="var$_pingUrl" id="$_pingUrl"><!-- --></A> -<div class="oddrow"> - - <div class="var-header"> - <span class="var-title"> - <span class="var-type">string</span> - <span class="var-name">$_pingUrl</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a168">168</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Constructed servlet full path URLs</p> - <ul class="tags"> - <li><span class="field">access:</span> protected</li> - </ul> - - - - - -</div> -<a name="var$_port" id="$_port"><!-- --></A> -<div class="evenrow"> - - <div class="var-header"> - <span class="var-title"> - <span class="var-type">mixed</span> - <span class="var-name">$_port</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a129">129</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> - <ul class="tags"> - <li><span class="field">access:</span> protected</li> - </ul> - - - - - -</div> -<a name="var$_queryBracketsEscaped" id="$_queryBracketsEscaped"><!-- --></A> -<div class="oddrow"> - - <div class="var-header"> - <span class="var-title"> - <span class="var-type">mixed</span> - <span class="var-name">$_queryBracketsEscaped</span> - = <span class="var-default"> true</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a161">161</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> - <ul class="tags"> - <li><span class="field">access:</span> protected</li> - </ul> - - - - - -</div> -<a name="var$_queryDelimiter" id="$_queryDelimiter"><!-- --></A> -<div class="evenrow"> - - <div class="var-header"> - <span class="var-title"> - <span class="var-type">string</span> - <span class="var-name">$_queryDelimiter</span> - = <span class="var-default"> '?'</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a161">161</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Query delimiters. Someone might want to be able to change these (to use &amp; instead of & for example), so I've provided them.</p> - <ul class="tags"> - <li><span class="field">access:</span> protected</li> - </ul> - - - - - -</div> -<a name="var$_queryStringDelimiter" id="$_queryStringDelimiter"><!-- --></A> -<div class="oddrow"> - - <div class="var-header"> - <span class="var-title"> - <span class="var-type">mixed</span> - <span class="var-name">$_queryStringDelimiter</span> - = <span class="var-default"> '&'</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a161">161</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> - <ul class="tags"> - <li><span class="field">access:</span> protected</li> - </ul> - - - - - -</div> -<a name="var$_searchUrl" id="$_searchUrl"><!-- --></A> -<div class="evenrow"> - - <div class="var-header"> - <span class="var-title"> - <span class="var-type">mixed</span> - <span class="var-name">$_searchUrl</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a168">168</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> - <ul class="tags"> - <li><span class="field">access:</span> protected</li> - </ul> - - - - - -</div> -<a name="var$_threadsUrl" id="$_threadsUrl"><!-- --></A> -<div class="oddrow"> - - <div class="var-header"> - <span class="var-title"> - <span class="var-type">mixed</span> - <span class="var-name">$_threadsUrl</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a168">168</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> - <ul class="tags"> - <li><span class="field">access:</span> protected</li> - </ul> - - - - - -</div> -<a name="var$_updateUrl" id="$_updateUrl"><!-- --></A> -<div class="evenrow"> - - <div class="var-header"> - <span class="var-title"> - <span class="var-type">mixed</span> - <span class="var-name">$_updateUrl</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a168">168</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> - <ul class="tags"> - <li><span class="field">access:</span> protected</li> - </ul> - - - - - -</div> -<a name="var$_urlsInited" id="$_urlsInited"><!-- --></A> -<div class="oddrow"> - - <div class="var-header"> - <span class="var-title"> - <span class="var-type">boolean</span> - <span class="var-name">$_urlsInited</span> - = <span class="var-default"> false</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a175">175</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Keep track of whether our URLs have been constructed</p> - <ul class="tags"> - <li><span class="field">access:</span> protected</li> - </ul> - - - - - -</div> - - </div> - </div> - - <a name="sec-methods"></a> - <div class="info-box"> - <div class="info-box-title">Methods</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) - <a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>) - - <a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>) - - </div> - <div class="info-box-body"> - <A NAME='method_detail'></A> -<a name="methodescape" id="escape"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">static escape</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a192">192</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Escape a value for special query characters such as ':', '(', ')', '*', '?', etc.</p> -<p class="description"><p>NOTE: inside a phrase fewer characters need escaped, use <a href="../../Apache/Solr/Apache_Solr_Service.html#methodescapePhrase">Apache_Solr_Service::escapePhrase()</a> instead</p></p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - static <span class="method-result">string</span> - <span class="method-name"> - escape - </span> - (<span class="var-type">string</span> <span class="var-name">$value</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$value</span> </li> - </ul> - - - </div> -<a name="methodescapePhrase" id="escapePhrase"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">static escapePhrase</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a207">207</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Escape a value meant to be contained in a phrase for special query characters</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - static <span class="method-result">string</span> - <span class="method-name"> - escapePhrase - </span> - (<span class="var-type">string</span> <span class="var-name">$value</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$value</span> </li> - </ul> - - - </div> -<a name="methodphrase" id="phrase"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">static phrase</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a221">221</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Convenience function for creating phrase syntax from a value</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - static <span class="method-result">string</span> - <span class="method-name"> - phrase - </span> - (<span class="var-type">string</span> <span class="var-name">$value</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$value</span> </li> - </ul> - - - </div> -<a name="methodadd" id="add"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">add</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a667">667</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">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.</p> - <ul class="tags"> - <li><span class="field">throws:</span> Apache_Solr_HttpTransportException If an error occurs during the service call</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <span class="method-name"> - add - </span> - (<span class="var-type">string</span> <span class="var-name">$rawPost</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$rawPost</span> </li> - </ul> - - - </div> -<a name="methodaddDocument" id="addDocument"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">addDocument</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a684">684</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Add a Solr Document to the index</p> - <ul class="tags"> - <li><span class="field">throws:</span> Apache_Solr_HttpTransportException If an error occurs during the service call</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <span class="method-name"> - addDocument - </span> - (<span class="var-type"><a href="../../Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a></span> <span class="var-name">$document</span>, [<span class="var-type">boolean</span> <span class="var-name">$allowDups</span> = <span class="var-default">false</span>], [<span class="var-type">boolean</span> <span class="var-name">$overwritePending</span> = <span class="var-default">true</span>], [<span class="var-type">boolean</span> <span class="var-name">$overwriteCommitted</span> = <span class="var-default">true</span>], [<span class="var-type">integer</span> <span class="var-name">$commitWithin</span> = <span class="var-default">0</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type"><a href="../../Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a></span> - <span class="var-name">$document</span> </li> - <li> - <span class="var-type">boolean</span> - <span class="var-name">$allowDups</span> </li> - <li> - <span class="var-type">boolean</span> - <span class="var-name">$overwritePending</span> </li> - <li> - <span class="var-type">boolean</span> - <span class="var-name">$overwriteCommitted</span> </li> - <li> - <span class="var-type">integer</span> - <span class="var-name">$commitWithin</span><span class="var-description">: 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.</span> </li> - </ul> - - - </div> -<a name="methodaddDocuments" id="addDocuments"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">addDocuments</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a712">712</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Add an array of Solr Documents to the index all at once</p> - <ul class="tags"> - <li><span class="field">throws:</span> Apache_Solr_HttpTransportException If an error occurs during the service call</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <span class="method-name"> - addDocuments - </span> - (<span class="var-type">array</span> <span class="var-name">$documents</span>, [<span class="var-type">boolean</span> <span class="var-name">$allowDups</span> = <span class="var-default">false</span>], [<span class="var-type">boolean</span> <span class="var-name">$overwritePending</span> = <span class="var-default">true</span>], [<span class="var-type">boolean</span> <span class="var-name">$overwriteCommitted</span> = <span class="var-default">true</span>], [<span class="var-type">integer</span> <span class="var-name">$commitWithin</span> = <span class="var-default">0</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">array</span> - <span class="var-name">$documents</span><span class="var-description">: Should be an array of Apache_Solr_Document instances</span> </li> - <li> - <span class="var-type">boolean</span> - <span class="var-name">$allowDups</span> </li> - <li> - <span class="var-type">boolean</span> - <span class="var-name">$overwritePending</span> </li> - <li> - <span class="var-type">boolean</span> - <span class="var-name">$overwriteCommitted</span> </li> - <li> - <span class="var-type">integer</span> - <span class="var-name">$commitWithin</span><span class="var-description">: 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.</span> </li> - </ul> - - - </div> -<a name="methodcommit" id="commit"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">commit</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a821">821</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Send a commit command. Will be synchronous unless both wait parameters are set to false.</p> - <ul class="tags"> - <li><span class="field">throws:</span> Apache_Solr_HttpTransportException If an error occurs during the service call</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <span class="method-name"> - commit - </span> - ([<span class="var-type">boolean</span> <span class="var-name">$expungeDeletes</span> = <span class="var-default">false</span>], [<span class="var-type">boolean</span> <span class="var-name">$waitFlush</span> = <span class="var-default">true</span>], [<span class="var-type">boolean</span> <span class="var-name">$waitSearcher</span> = <span class="var-default">true</span>], [<span class="var-type">float</span> <span class="var-name">$timeout</span> = <span class="var-default">3600</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">boolean</span> - <span class="var-name">$expungeDeletes</span><span class="var-description">: Defaults to false, merge segments with deletes away</span> </li> - <li> - <span class="var-type">boolean</span> - <span class="var-name">$waitFlush</span><span class="var-description">: Defaults to true, block until index changes are flushed to disk</span> </li> - <li> - <span class="var-type">boolean</span> - <span class="var-name">$waitSearcher</span><span class="var-description">: Defaults to true, block until a new searcher is opened and registered as the main query searcher, making the changes visible</span> </li> - <li> - <span class="var-type">float</span> - <span class="var-name">$timeout</span><span class="var-description">: Maximum expected duration (in seconds) of the commit operation on the server (otherwise, will throw a communication exception). Defaults to 1 hour</span> </li> - </ul> - - - </div> -<a name="methoddelete" id="delete"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">delete</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a842">842</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">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</p> - <ul class="tags"> - <li><span class="field">throws:</span> Apache_Solr_HttpTransportException If an error occurs during the service call</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <span class="method-name"> - delete - </span> - (<span class="var-type">string</span> <span class="var-name">$rawPost</span>, [<span class="var-type">float</span> <span class="var-name">$timeout</span> = <span class="var-default">3600</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$rawPost</span><span class="var-description">: Expected to be utf-8 encoded xml document</span> </li> - <li> - <span class="var-type">float</span> - <span class="var-name">$timeout</span><span class="var-description">: Maximum expected duration of the delete operation on the server (otherwise, will throw a communication exception)</span> </li> - </ul> - - - </div> -<a name="methoddeleteById" id="deleteById"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">deleteById</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a858">858</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Create a delete document based on document ID</p> - <ul class="tags"> - <li><span class="field">throws:</span> Apache_Solr_HttpTransportException If an error occurs during the service call</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <span class="method-name"> - deleteById - </span> - (<span class="var-type">string</span> <span class="var-name">$id</span>, [<span class="var-type">boolean</span> <span class="var-name">$fromPending</span> = <span class="var-default">true</span>], [<span class="var-type">boolean</span> <span class="var-name">$fromCommitted</span> = <span class="var-default">true</span>], [<span class="var-type">float</span> <span class="var-name">$timeout</span> = <span class="var-default">3600</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$id</span><span class="var-description">: Expected to be utf-8 encoded</span> </li> - <li> - <span class="var-type">boolean</span> - <span class="var-name">$fromPending</span> </li> - <li> - <span class="var-type">boolean</span> - <span class="var-name">$fromCommitted</span> </li> - <li> - <span class="var-type">float</span> - <span class="var-name">$timeout</span><span class="var-description">: Maximum expected duration of the delete operation on the server (otherwise, will throw a communication exception)</span> </li> - </ul> - - - </div> -<a name="methoddeleteByMultipleIds" id="deleteByMultipleIds"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">deleteByMultipleIds</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a882">882</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Create and post a delete document based on multiple document IDs.</p> - <ul class="tags"> - <li><span class="field">throws:</span> Apache_Solr_HttpTransportException If an error occurs during the service call</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <span class="method-name"> - deleteByMultipleIds - </span> - (<span class="var-type">array</span> <span class="var-name">$ids</span>, [<span class="var-type">boolean</span> <span class="var-name">$fromPending</span> = <span class="var-default">true</span>], [<span class="var-type">boolean</span> <span class="var-name">$fromCommitted</span> = <span class="var-default">true</span>], [<span class="var-type">float</span> <span class="var-name">$timeout</span> = <span class="var-default">3600</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">array</span> - <span class="var-name">$ids</span><span class="var-description">: Expected to be utf-8 encoded strings</span> </li> - <li> - <span class="var-type">boolean</span> - <span class="var-name">$fromPending</span> </li> - <li> - <span class="var-type">boolean</span> - <span class="var-name">$fromCommitted</span> </li> - <li> - <span class="var-type">float</span> - <span class="var-name">$timeout</span><span class="var-description">: Maximum expected duration of the delete operation on the server (otherwise, will throw a communication exception)</span> </li> - </ul> - - - </div> -<a name="methoddeleteByQuery" id="deleteByQuery"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">deleteByQuery</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a913">913</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Create a delete document based on a query and submit it</p> - <ul class="tags"> - <li><span class="field">throws:</span> Apache_Solr_HttpTransportException If an error occurs during the service call</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <span class="method-name"> - deleteByQuery - </span> - (<span class="var-type">string</span> <span class="var-name">$rawQuery</span>, [<span class="var-type">boolean</span> <span class="var-name">$fromPending</span> = <span class="var-default">true</span>], [<span class="var-type">boolean</span> <span class="var-name">$fromCommitted</span> = <span class="var-default">true</span>], [<span class="var-type">float</span> <span class="var-name">$timeout</span> = <span class="var-default">3600</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$rawQuery</span><span class="var-description">: Expected to be utf-8 encoded</span> </li> - <li> - <span class="var-type">boolean</span> - <span class="var-name">$fromPending</span> </li> - <li> - <span class="var-type">boolean</span> - <span class="var-name">$fromCommitted</span> </li> - <li> - <span class="var-type">float</span> - <span class="var-name">$timeout</span><span class="var-description">: Maximum expected duration of the delete operation on the server (otherwise, will throw a communication exception)</span> </li> - </ul> - - - </div> -<a name="methodextract" id="extract"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">extract</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a944">944</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Use Solr Cell to extract document contents. See <a href="http://wiki.apache.org/solr/ExtractingRequestHandler">http://wiki.apache.org/solr/ExtractingRequestHandler</a> for information on how to use Solr Cell and what parameters are available.</p> -<p class="description"><p>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).</p></p> - <ul class="tags"> - <li><span class="field">throws:</span> Apache_Solr_InvalidArgumentException if $file, $params, or $document are invalid.</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <span class="method-name"> - extract - </span> - (<span class="var-type">string</span> <span class="var-name">$file</span>, [<span class="var-type">array</span> <span class="var-name">$params</span> = <span class="var-default">array()</span>], [<span class="var-type"><a href="../../Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a></span> <span class="var-name">$document</span> = <span class="var-default">null</span>], [<span class="var-type">string</span> <span class="var-name">$mimetype</span> = <span class="var-default">'application/octet-stream'</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$file</span><span class="var-description">: Path to file to extract data from</span> </li> - <li> - <span class="var-type">array</span> - <span class="var-name">$params</span><span class="var-description">: optional array of key value pairs that will be sent with the post (see Solr Cell documentation)</span> </li> - <li> - <span class="var-type"><a href="../../Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a></span> - <span class="var-name">$document</span><span class="var-description">: optional document that will be used to generate post parameters (literal.* and boost.* params)</span> </li> - <li> - <span class="var-type">string</span> - <span class="var-name">$mimetype</span><span class="var-description">: optional mimetype specification (for the file being extracted)</span> </li> - </ul> - - - </div> -<a name="methodextractFromString" id="extractFromString"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">extractFromString</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a1005">1005</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Use Solr Cell to extract document contents. See <a href="http://wiki.apache.org/solr/ExtractingRequestHandler">http://wiki.apache.org/solr/ExtractingRequestHandler</a> for information on how to use Solr Cell and what parameters are available.</p> -<p class="description"><p>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).</p></p> - <ul class="tags"> - <li><span class="field">todo:</span> Should be using multipart/form-data to post parameter values, but I could not get my implementation to work. Needs revisisted.</li> - <li><span class="field">throws:</span> Apache_Solr_InvalidArgumentException if $file, $params, or $document are invalid.</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <span class="method-name"> - extractFromString - </span> - (<span class="var-type">string</span> <span class="var-name">$data</span>, [<span class="var-type">array</span> <span class="var-name">$params</span> = <span class="var-default">array()</span>], [<span class="var-type"><a href="../../Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a></span> <span class="var-name">$document</span> = <span class="var-default">null</span>], [<span class="var-type">string</span> <span class="var-name">$mimetype</span> = <span class="var-default">'application/octet-stream'</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$data</span><span class="var-description">: Data that will be passed to Solr Cell</span> </li> - <li> - <span class="var-type">array</span> - <span class="var-name">$params</span><span class="var-description">: optional array of key value pairs that will be sent with the post (see Solr Cell documentation)</span> </li> - <li> - <span class="var-type"><a href="../../Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a></span> - <span class="var-name">$document</span><span class="var-description">: optional document that will be used to generate post parameters (literal.* and boost.* params)</span> </li> - <li> - <span class="var-type">string</span> - <span class="var-name">$mimetype</span><span class="var-description">: optional mimetype specification (for the file being extracted)</span> </li> - </ul> - - - </div> -<a name="methodextractFromUrl" id="extractFromUrl"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">extractFromUrl</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a1068">1068</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Use Solr Cell to extract document contents. See <a href="http://wiki.apache.org/solr/ExtractingRequestHandler">http://wiki.apache.org/solr/ExtractingRequestHandler</a> for information on how to use Solr Cell and what parameters are available.</p> -<p class="description"><p>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).</p></p> - <ul class="tags"> - <li><span class="field">throws:</span> Apache_Solr_InvalidArgumentException if $url, $params, or $document are invalid.</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <span class="method-name"> - extractFromUrl - </span> - (<span class="var-type">string</span> <span class="var-name">$url</span>, [<span class="var-type">array</span> <span class="var-name">$params</span> = <span class="var-default">array()</span>], [<span class="var-type"><a href="../../Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a></span> <span class="var-name">$document</span> = <span class="var-default">null</span>], [<span class="var-type">string</span> <span class="var-name">$mimetype</span> = <span class="var-default">'application/octet-stream'</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$url</span><span class="var-description">: URL</span> </li> - <li> - <span class="var-type">array</span> - <span class="var-name">$params</span><span class="var-description">: optional array of key value pairs that will be sent with the post (see Solr Cell documentation)</span> </li> - <li> - <span class="var-type"><a href="../../Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a></span> - <span class="var-name">$document</span><span class="var-description">: optional document that will be used to generate post parameters (literal.* and boost.* params)</span> </li> - <li> - <span class="var-type">string</span> - <span class="var-name">$mimetype</span><span class="var-description">: optional mimetype specification (for the file being extracted)</span> </li> - </ul> - - - </div> -<a name="methodgetCollapseSingleValueArrays" id="getCollapseSingleValueArrays"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">getCollapseSingleValueArrays</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a533">533</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Get the current state of the collapse single value arrays flag.</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">boolean</span> - <span class="method-name"> - getCollapseSingleValueArrays - </span> - () - </div> - - - - </div> -<a name="methodgetCreateDocuments" id="getCreateDocuments"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">getCreateDocuments</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a513">513</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Get the current state of teh create documents flag.</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">boolean</span> - <span class="method-name"> - getCreateDocuments - </span> - () - </div> - - - - </div> -<a name="methodgetDefaultTimeout" id="getDefaultTimeout"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">getDefaultTimeout</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a546">546</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Get the current default timeout setting (initially the default_socket_timeout ini setting) in seconds</p> - <ul class="tags"> - <li><span class="field">deprecated:</span> Use the getDefaultTimeout method on the HTTP transport implementation</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">float</span> - <span class="method-name"> - getDefaultTimeout - </span> - () - </div> - - - - </div> -<a name="methodgetHost" id="getHost"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">getHost</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a375">375</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Returns the set host</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">string</span> - <span class="method-name"> - getHost - </span> - () - </div> - - - - </div> -<a name="methodgetHttpTransport" id="getHttpTransport"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">getHttpTransport</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a474">474</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Get the current configured HTTP Transport</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">HttpTransportInterface</span> - <span class="method-name"> - getHttpTransport - </span> - () - </div> - - - - </div> -<a name="methodgetNamedListTreatment" id="getNamedListTreatment"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">getNamedListTreatment</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a592">592</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Get the current setting for named list treatment.</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">string</span> - <span class="method-name"> - getNamedListTreatment - </span> - () - </div> - - - - </div> -<a name="methodgetPath" id="getPath"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">getPath</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a447">447</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Get the set path.</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">string</span> - <span class="method-name"> - getPath - </span> - () - </div> - - - - </div> -<a name="methodgetPort" id="getPort"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">getPort</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a410">410</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Get the set port</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">integer</span> - <span class="method-name"> - getPort - </span> - () - </div> - - - - </div> -<a name="method__construct" id="__construct"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">Constructor __construct</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a235">235</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Constructor. All parameters are optional and will take on default values if not specified.</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">Apache_Solr_Service</span> - <span class="method-name"> - __construct - </span> - ([<span class="var-type">string</span> <span class="var-name">$host</span> = <span class="var-default">'localhost'</span>], [<span class="var-type">string</span> <span class="var-name">$port</span> = <span class="var-default">8180</span>], [<span class="var-type">string</span> <span class="var-name">$path</span> = <span class="var-default">'/solr/'</span>], [<span class="var-type"><a href="../../Apache/Solr/Apache_Solr_HttpTransport_Interface.html">Apache_Solr_HttpTransport_Interface</a></span> <span class="var-name">$httpTransport</span> = <span class="var-default">false</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$host</span> </li> - <li> - <span class="var-type">string</span> - <span class="var-name">$port</span> </li> - <li> - <span class="var-type">string</span> - <span class="var-name">$path</span> </li> - <li> - <span class="var-type"><a href="../../Apache/Solr/Apache_Solr_HttpTransport_Interface.html">Apache_Solr_HttpTransport_Interface</a></span> - <span class="var-name">$httpTransport</span> </li> - </ul> - - - </div> -<a name="methodoptimize" id="optimize"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">optimize</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a1117">1117</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Send an optimize command. Will be synchronous unless both wait parameters are set to false.</p> - <ul class="tags"> - <li><span class="field">throws:</span> Apache_Solr_HttpTransportException If an error occurs during the service call</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <span class="method-name"> - optimize - </span> - ([<span class="var-type">boolean</span> <span class="var-name">$waitFlush</span> = <span class="var-default">true</span>], [<span class="var-type">boolean</span> <span class="var-name">$waitSearcher</span> = <span class="var-default">true</span>], [<span class="var-type">float</span> <span class="var-name">$timeout</span> = <span class="var-default">3600</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">boolean</span> - <span class="var-name">$waitFlush</span> </li> - <li> - <span class="var-type">boolean</span> - <span class="var-name">$waitSearcher</span> </li> - <li> - <span class="var-type">float</span> - <span class="var-name">$timeout</span><span class="var-description">: Maximum expected duration of the commit operation on the server (otherwise, will throw a communication exception)</span> </li> - </ul> - - - </div> -<a name="methodping" id="ping"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">ping</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a626">626</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Call the /admin/ping servlet, can be used to quickly tell if a connection to the server is able to be made.</p> - <ul class="tags"> - <li><span class="field">return:</span> Actual time taken to ping the server, FALSE if timeout or HTTP error status occurs</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">float</span> - <span class="method-name"> - ping - </span> - ([<span class="var-type">float</span> <span class="var-name">$timeout</span> = <span class="var-default">2</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">float</span> - <span class="var-name">$timeout</span><span class="var-description">: maximum time to wait for ping in seconds, -1 for unlimited (default is 2)</span> </li> - </ul> - - - </div> -<a name="methodsearch" id="search"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">search</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a1140">1140</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Simple Search interface</p> - <ul class="tags"> - <li><span class="field">throws:</span> Apache_Solr_InvalidArgumentException If an invalid HTTP method is used</li> - <li><span class="field">throws:</span> Apache_Solr_HttpTransportException If an error occurs during the service call</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <span class="method-name"> - search - </span> - (<span class="var-type">string</span> <span class="var-name">$query</span>, [<span class="var-type">int</span> <span class="var-name">$offset</span> = <span class="var-default">0</span>], [<span class="var-type">int</span> <span class="var-name">$limit</span> = <span class="var-default">10</span>], [<span class="var-type">array</span> <span class="var-name">$params</span> = <span class="var-default">array()</span>], [<span class="var-type">string</span> <span class="var-name">$method</span> = <span class="var-default">self::METHOD_GET</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$query</span><span class="var-description">: The raw query string</span> </li> - <li> - <span class="var-type">int</span> - <span class="var-name">$offset</span><span class="var-description">: The starting offset for result documents</span> </li> - <li> - <span class="var-type">int</span> - <span class="var-name">$limit</span><span class="var-description">: The maximum number of result documents to return</span> </li> - <li> - <span class="var-type">array</span> - <span class="var-name">$params</span><span class="var-description">: key / value pairs for other query parameters (see Solr documentation), use arrays for parameter keys used more than once (e.g. facet.field)</span> </li> - <li> - <span class="var-type">string</span> - <span class="var-name">$method</span><span class="var-description">: The HTTP method (Apache_Solr_Service::METHOD_GET or Apache_Solr_Service::METHOD::POST)</span> </li> - </ul> - - - </div> -<a name="methodsetCollapseSingleValueArrays" id="setCollapseSingleValueArrays"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">setCollapseSingleValueArrays</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a523">523</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Set the collapse single value arrays flag.</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - setCollapseSingleValueArrays - </span> - (<span class="var-type">boolean</span> <span class="var-name">$collapseSingleValueArrays</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">boolean</span> - <span class="var-name">$collapseSingleValueArrays</span> </li> - </ul> - - - </div> -<a name="methodsetCreateDocuments" id="setCreateDocuments"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">setCreateDocuments</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a503">503</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Set the create documents flag. This determines whether <a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a> objects will parse the response and create <a href="../../Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a> instances in place.</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - setCreateDocuments - </span> - (<span class="var-type">boolean</span> <span class="var-name">$createDocuments</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">boolean</span> - <span class="var-name">$createDocuments</span> </li> - </ul> - - - </div> -<a name="methodsetDefaultTimeout" id="setDefaultTimeout"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">setDefaultTimeout</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a558">558</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Set the default timeout for all calls that aren't passed a specific timeout</p> - <ul class="tags"> - <li><span class="field">deprecated:</span> Use the setDefaultTimeout method on the HTTP transport implementation</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - setDefaultTimeout - </span> - (<span class="var-type">float</span> <span class="var-name">$timeout</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">float</span> - <span class="var-name">$timeout</span><span class="var-description">: Timeout value in seconds</span> </li> - </ul> - - - </div> -<a name="methodsetHost" id="setHost"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">setHost</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a387">387</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Set the host used. If empty will fallback to constants</p> - <ul class="tags"> - <li><span class="field">throws:</span> Apache_Solr_InvalidArgumentException If the host parameter is empty</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - setHost - </span> - (<span class="var-type">string</span> <span class="var-name">$host</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$host</span> </li> - </ul> - - - </div> -<a name="methodsetHttpTransport" id="setHttpTransport"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">setHttpTransport</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a492">492</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Set the HTTP Transport implemenation that will be used for all HTTP requests</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - setHttpTransport - </span> - (<span class="var-type"><a href="../../Apache/Solr/Apache_Solr_HttpTransport_Interface.html">Apache_Solr_HttpTransport_Interface</a></span> <span class="var-name">$httpTransport</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type"><a href="../../Apache/Solr/Apache_Solr_HttpTransport_Interface.html">Apache_Solr_HttpTransport_Interface</a></span> - <span class="var-name">$httpTransport</span> </li> - </ul> - - - </div> -<a name="methodsetNamedListTreatment" id="setNamedListTreatment"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">setNamedListTreatment</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a570">570</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Set how NamedLists should be formatted in the response data. This mainly effects the facet counts format.</p> - <ul class="tags"> - <li><span class="field">throws:</span> Apache_Solr_InvalidArgumentException If invalid option is set</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - setNamedListTreatment - </span> - (<span class="var-type">string</span> <span class="var-name">$namedListTreatment</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$namedListTreatment</span> </li> - </ul> - - - </div> -<a name="methodsetPath" id="setPath"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">setPath</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a457">457</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Set the path used. If empty will fallback to constants</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - setPath - </span> - (<span class="var-type">string</span> <span class="var-name">$path</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$path</span> </li> - </ul> - - - </div> -<a name="methodsetPort" id="setPort"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">setPort</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a422">422</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Set the port used. If empty will fallback to constants</p> - <ul class="tags"> - <li><span class="field">throws:</span> Apache_Solr_InvalidArgumentException If the port parameter is empty</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - setPort - </span> - (<span class="var-type">integer</span> <span class="var-name">$port</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">integer</span> - <span class="var-name">$port</span> </li> - </ul> - - - </div> -<a name="methodsetQueryDelimiter" id="setQueryDelimiter"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">setQueryDelimiter</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a603">603</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Set the string used to separate the path form the query string.</p> -<p class="description"><p>Defaulted to '?'</p></p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - setQueryDelimiter - </span> - (<span class="var-type">string</span> <span class="var-name">$queryDelimiter</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$queryDelimiter</span> </li> - </ul> - - - </div> -<a name="methodsetQueryStringDelimiter" id="setQueryStringDelimiter"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">setQueryStringDelimiter</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a614">614</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Set the string used to separate the parameters in thequery string Defaulted to '&'</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - setQueryStringDelimiter - </span> - (<span class="var-type">string</span> <span class="var-name">$queryStringDelimiter</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$queryStringDelimiter</span> </li> - </ul> - - - </div> -<a name="methodthreads" id="threads"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">threads</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a653">653</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Call the /admin/threads servlet and retrieve information about all threads in the Solr servlet's thread group. Useful for diagnostics.</p> - <ul class="tags"> - <li><span class="field">throws:</span> Apache_Solr_HttpTransportException If an error occurs during the service call</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <span class="method-name"> - threads - </span> - () - </div> - - - - </div> -<a name="method_constructUrl" id="_constructUrl"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">_constructUrl</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a258">258</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Return a valid http URL given this server's host, port and path and a provided servlet name</p> - <ul class="tags"> - <li><span class="field">access:</span> protected</li> - </ul> - - <div class="method-signature"> - <span class="method-result">string</span> - <span class="method-name"> - _constructUrl - </span> - (<span class="var-type">string</span> <span class="var-name">$servlet</span>, [<span class="var-type"></span> <span class="var-name">$params</span> = <span class="var-default">array()</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$servlet</span> </li> - <li> - <span class="var-type"></span> - <span class="var-name">$params</span> </li> - </ul> - - - </div> -<a name="method_documentToXmlFragment" id="_documentToXmlFragment"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">_documentToXmlFragment</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a741">741</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Create an XML fragment from a <a href="../../Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a> instance appropriate for use inside a Solr add call</p> - <ul class="tags"> - <li><span class="field">access:</span> protected</li> - </ul> - - <div class="method-signature"> - <span class="method-result">string</span> - <span class="method-name"> - _documentToXmlFragment - </span> - (<span class="var-type"><a href="../../Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a></span> <span class="var-name">$document</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type"><a href="../../Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a></span> - <span class="var-name">$document</span> </li> - </ul> - - - </div> -<a name="method_generateQueryString" id="_generateQueryString"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">_generateQueryString</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a295">295</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> - <ul class="tags"> - <li><span class="field">access:</span> protected</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - _generateQueryString - </span> - (<span class="var-type"></span> <span class="var-name">$params</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type"></span> - <span class="var-name">$params</span> </li> - </ul> - - - </div> -<a name="method_initUrls" id="_initUrls"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">_initUrls</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a283">283</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Construct the Full URLs for the three servlets we reference</p> - <ul class="tags"> - <li><span class="field">access:</span> protected</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - _initUrls - </span> - () - </div> - - - - </div> -<a name="method_sendRawGet" id="_sendRawGet"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">_sendRawGet</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a329">329</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Central method for making a get operation against this Solr Server</p> - <ul class="tags"> - <li><span class="field">throws:</span> Apache_Solr_HttpTransportException If a non 200 response status is returned</li> - <li><span class="field">access:</span> protected</li> - </ul> - - <div class="method-signature"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <span class="method-name"> - _sendRawGet - </span> - (<span class="var-type">string</span> <span class="var-name">$url</span>, [<span class="var-type">float</span> <span class="var-name">$timeout</span> = <span class="var-default">FALSE</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$url</span> </li> - <li> - <span class="var-type">float</span> - <span class="var-name">$timeout</span><span class="var-description">: Read timeout in seconds</span> </li> - </ul> - - - </div> -<a name="method_sendRawPost" id="_sendRawPost"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">_sendRawPost</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a355">355</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Central method for making a post operation against this Solr Server</p> - <ul class="tags"> - <li><span class="field">throws:</span> Apache_Solr_HttpTransportException If a non 200 response status is returned</li> - <li><span class="field">access:</span> protected</li> - </ul> - - <div class="method-signature"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <span class="method-name"> - _sendRawPost - </span> - (<span class="var-type">string</span> <span class="var-name">$url</span>, <span class="var-type">string</span> <span class="var-name">$rawPost</span>, [<span class="var-type">float</span> <span class="var-name">$timeout</span> = <span class="var-default">FALSE</span>], [<span class="var-type">string</span> <span class="var-name">$contentType</span> = <span class="var-default">'text/xml; charset=UTF-8'</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$url</span> </li> - <li> - <span class="var-type">string</span> - <span class="var-name">$rawPost</span> </li> - <li> - <span class="var-type">float</span> - <span class="var-name">$timeout</span><span class="var-description">: Read timeout in seconds</span> </li> - <li> - <span class="var-type">string</span> - <span class="var-name">$contentType</span> </li> - </ul> - - - </div> -<a name="method_stripCtrlChars" id="_stripCtrlChars"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">_stripCtrlChars</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a803">803</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Replace control (non-printable) characters from string that are invalid to Solr's XML parser with a space.</p> - <ul class="tags"> - <li><span class="field">access:</span> protected</li> - </ul> - - <div class="method-signature"> - <span class="method-result">string</span> - <span class="method-name"> - _stripCtrlChars - </span> - (<span class="var-type">string</span> <span class="var-name">$string</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$string</span> </li> - </ul> - - - </div> - - </div> - </div> - - <a name="sec-consts"></a> - <div class="info-box"> - <div class="info-box-title">Class Constants</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-var-summary">Constants</a> (<span class="disabled">details</span>) - - - <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) - | - <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) - - </div> - <div class="info-box-body"> - <a name="constEXTRACT_SERVLET" id="EXTRACT_SERVLET"><!-- --></A> -<div class="evenrow"> - - <div class="const-header"> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name">EXTRACT_SERVLET</span> - = <span class="const-default"> 'update/extract'</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a122">122</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> - - -</div> -<a name="constMETHOD_GET" id="METHOD_GET"><!-- --></A> -<div class="oddrow"> - - <div class="const-header"> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name">METHOD_GET</span> - = <span class="const-default"> 'GET'</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a112">112</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Search HTTP Methods</p> - - -</div> -<a name="constMETHOD_POST" id="METHOD_POST"><!-- --></A> -<div class="evenrow"> - - <div class="const-header"> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name">METHOD_POST</span> - = <span class="const-default"> 'POST'</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a113">113</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> - - -</div> -<a name="constNAMED_LIST_FLAT" id="NAMED_LIST_FLAT"><!-- --></A> -<div class="oddrow"> - - <div class="const-header"> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name">NAMED_LIST_FLAT</span> - = <span class="const-default"> 'flat'</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a106">106</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">NamedList Treatment constants</p> - - -</div> -<a name="constNAMED_LIST_MAP" id="NAMED_LIST_MAP"><!-- --></A> -<div class="evenrow"> - - <div class="const-header"> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name">NAMED_LIST_MAP</span> - = <span class="const-default"> 'map'</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a107">107</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> - - -</div> -<a name="constPING_SERVLET" id="PING_SERVLET"><!-- --></A> -<div class="oddrow"> - - <div class="const-header"> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name">PING_SERVLET</span> - = <span class="const-default"> 'admin/ping'</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a118">118</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Servlet mappings</p> - - -</div> -<a name="constSEARCH_SERVLET" id="SEARCH_SERVLET"><!-- --></A> -<div class="evenrow"> - - <div class="const-header"> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name">SEARCH_SERVLET</span> - = <span class="const-default"> 'select'</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a120">120</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> - - -</div> -<a name="constSOLR_WRITER" id="SOLR_WRITER"><!-- --></A> -<div class="oddrow"> - - <div class="const-header"> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name">SOLR_WRITER</span> - = <span class="const-default"> 'json'</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a101">101</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Response writer we'll request - JSON. See http://code.google.com/p/solr-php-client/issues/detail?id=6#c1 for reasoning</p> - - -</div> -<a name="constSVN_ID" id="SVN_ID"><!-- --></A> -<div class="evenrow"> - - <div class="const-header"> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name">SVN_ID</span> - = <span class="const-default"> '$Id: Service.php 59 2011-02-08 20:38:59Z donovan.jimenez $'</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a96">96</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">SVN ID meta data for this class</p> - - -</div> -<a name="constSVN_REVISION" id="SVN_REVISION"><!-- --></A> -<div class="oddrow"> - - <div class="const-header"> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name">SVN_REVISION</span> - = <span class="const-default"> '$Revision: 59 $'</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a91">91</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">SVN Revision meta data for this class</p> - - -</div> -<a name="constTHREADS_SERVLET" id="THREADS_SERVLET"><!-- --></A> -<div class="evenrow"> - - <div class="const-header"> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name">THREADS_SERVLET</span> - = <span class="const-default"> 'admin/threads'</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a121">121</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> - - -</div> -<a name="constUPDATE_SERVLET" id="UPDATE_SERVLET"><!-- --></A> -<div class="oddrow"> - - <div class="const-header"> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name">UPDATE_SERVLET</span> - = <span class="const-default"> 'update'</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a119">119</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> - - -</div> - - </div> - </div> - - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:19 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </div></body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_Service_Balancer.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_Service_Balancer.html deleted file mode 100644 index f74c898cdc69711bcd4684e5db53a72386715288..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/Apache_Solr_Service_Balancer.html +++ /dev/null @@ -1,1606 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>Docs For Class Apache_Solr_Service_Balancer</title> - <link rel="stylesheet" href="../../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <div class="page-body"> -<h2 class="class-name">Class Apache_Solr_Service_Balancer</h2> - -<a name="sec-description"></a> -<div class="info-box"> - <div class="info-box-title">Description</div> - <div class="nav-bar"> - <span class="disabled">Description</span> | - <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) - | <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) - - <a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>) - - </div> - <div class="info-box-body"> - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Reference Implementation for using multiple Solr services in a distribution. Functionality</p> -<p class="description"><p>includes: routing of read / write operations failover (on selection) for multiple read servers</p></p> - <p class="notes"> - Located in <a class="field" href="_Service---Balancer.php.html">/Service/Balancer.php</a> (line <span class="field"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a51">51</a></span>) - </p> - - - <pre></pre> - - </div> -</div> - - - <a name="sec-const-summary"></a> - <div class="info-box"> - <div class="info-box-title">Class Constant Summary</span></div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <span class="disabled">Constants</span> (<a href="#sec-consts">details</a>) - <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) - - | - | - <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) - - </div> - <div class="info-box-body"> - <div class="const-summary"> - <div class="const-title"> - <img src="../../media/images/Constant.png" alt=" " /> - <a href="#SVN_ID" title="details" class="const-name">SVN_ID</a> = <span class="var-type"> '$Id: Balancer.php 54 2011-02-04 16:29:18Z donovan.jimenez $'</span> - - </div> - <div class="const-title"> - <img src="../../media/images/Constant.png" alt=" " /> - <a href="#SVN_REVISION" title="details" class="const-name">SVN_REVISION</a> = <span class="var-type"> '$Revision: 54 $'</span> - - </div> - </div> - </div> - </div> - - <a name="sec-var-summary"></a> - <div class="info-box"> - <div class="info-box-title">Variable Summary</span></div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <span class="disabled">Vars</span> (<a href="#sec-vars">details</a>) - | - <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) - - <a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>) - - </div> - <div class="info-box-body"> - <div class="var-summary"> - <div class="var-title"> - <span class="var-type">mixed</span> - <a href="#$_backoffEscalation" title="details" class="var-name">$_backoffEscalation</a> - </div> - <div class="var-title"> - <span class="var-type">mixed</span> - <a href="#$_backoffLimit" title="details" class="var-name">$_backoffLimit</a> - </div> - <div class="var-title"> - <span class="var-type">mixed</span> - <a href="#$_createDocuments" title="details" class="var-name">$_createDocuments</a> - </div> - <div class="var-title"> - <span class="var-type">mixed</span> - <a href="#$_currentReadService" title="details" class="var-name">$_currentReadService</a> - </div> - <div class="var-title"> - <span class="var-type">mixed</span> - <a href="#$_currentWriteService" title="details" class="var-name">$_currentWriteService</a> - </div> - <div class="var-title"> - <span class="var-type">mixed</span> - <a href="#$_defaultBackoff" title="details" class="var-name">$_defaultBackoff</a> - </div> - <div class="var-title"> - <span class="var-type">mixed</span> - <a href="#$_readableServices" title="details" class="var-name">$_readableServices</a> - </div> - <div class="var-title"> - <span class="var-type">mixed</span> - <a href="#$_readPingTimeout" title="details" class="var-name">$_readPingTimeout</a> - </div> - <div class="var-title"> - <span class="var-type">mixed</span> - <a href="#$_useBackoff" title="details" class="var-name">$_useBackoff</a> - </div> - <div class="var-title"> - <span class="var-type">mixed</span> - <a href="#$_writeableServices" title="details" class="var-name">$_writeableServices</a> - </div> - <div class="var-title"> - <span class="var-type">mixed</span> - <a href="#$_writePingTimeout" title="details" class="var-name">$_writePingTimeout</a> - </div> - </div> - </div> - </div> - - <a name="sec-method-summary"></a> - <div class="info-box"> - <div class="info-box-title">Method Summary</span></div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>) - - <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) - - | - <span class="disabled">Methods</span> (<a href="#sec-methods">details</a>) - </div> - <div class="info-box-body"> - <div class="method-summary"> - - <div class="method-definition"> - static <span class="method-result">string</span> - <a href="#escape" title="details" class="method-name">escape</a> - (<span class="var-type">string</span> <span class="var-name">$value</span>) - </div> - - <div class="method-definition"> - static <span class="method-result">string</span> - <a href="#escapePhrase" title="details" class="method-name">escapePhrase</a> - (<span class="var-type">string</span> <span class="var-name">$value</span>) - </div> - - <div class="method-definition"> - static <span class="method-result">string</span> - <a href="#phrase" title="details" class="method-name">phrase</a> - (<span class="var-type">string</span> <span class="var-name">$value</span>) - </div> - - <div class="method-definition"> - <span class="method-result">Apache_Solr_Service_Balancer</span> - <a href="#__construct" title="details" class="method-name">__construct</a> - ([<span class="var-type">array</span> <span class="var-name">$readableServices</span> = <span class="var-default">array()</span>], [<span class="var-type">array</span> <span class="var-name">$writeableServices</span> = <span class="var-default">array()</span>]) - </div> - - <div class="method-definition"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <a href="#add" title="details" class="method-name">add</a> - (<span class="var-type">string</span> <span class="var-name">$rawPost</span>) - </div> - - <div class="method-definition"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <a href="#addDocument" title="details" class="method-name">addDocument</a> - (<span class="var-type"><a href="../../Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a></span> <span class="var-name">$document</span>, [<span class="var-type">boolean</span> <span class="var-name">$allowDups</span> = <span class="var-default">false</span>], [<span class="var-type">boolean</span> <span class="var-name">$overwritePending</span> = <span class="var-default">true</span>], [<span class="var-type">boolean</span> <span class="var-name">$overwriteCommitted</span> = <span class="var-default">true</span>]) - </div> - - <div class="method-definition"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <a href="#addDocuments" title="details" class="method-name">addDocuments</a> - (<span class="var-type">array</span> <span class="var-name">$documents</span>, [<span class="var-type">boolean</span> <span class="var-name">$allowDups</span> = <span class="var-default">false</span>], [<span class="var-type">boolean</span> <span class="var-name">$overwritePending</span> = <span class="var-default">true</span>], [<span class="var-type">boolean</span> <span class="var-name">$overwriteCommitted</span> = <span class="var-default">true</span>]) - </div> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#addReadService" title="details" class="method-name">addReadService</a> - (<span class="var-type">mixed</span> <span class="var-name">$service</span>) - </div> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#addWriteService" title="details" class="method-name">addWriteService</a> - (<span class="var-type">mixed</span> <span class="var-name">$service</span>) - </div> - - <div class="method-definition"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <a href="#commit" title="details" class="method-name">commit</a> - ([<span class="var-type"></span> <span class="var-name">$optimize</span> = <span class="var-default">true</span>], [<span class="var-type">boolean</span> <span class="var-name">$waitFlush</span> = <span class="var-default">true</span>], [<span class="var-type">boolean</span> <span class="var-name">$waitSearcher</span> = <span class="var-default">true</span>], [<span class="var-type"></span> <span class="var-name">$timeout</span> = <span class="var-default">3600</span>]) - </div> - - <div class="method-definition"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <a href="#delete" title="details" class="method-name">delete</a> - (<span class="var-type">string</span> <span class="var-name">$rawPost</span>, [<span class="var-type">float</span> <span class="var-name">$timeout</span> = <span class="var-default">3600</span>]) - </div> - - <div class="method-definition"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <a href="#deleteById" title="details" class="method-name">deleteById</a> - (<span class="var-type">string</span> <span class="var-name">$id</span>, [<span class="var-type">boolean</span> <span class="var-name">$fromPending</span> = <span class="var-default">true</span>], [<span class="var-type">boolean</span> <span class="var-name">$fromCommitted</span> = <span class="var-default">true</span>], [<span class="var-type">float</span> <span class="var-name">$timeout</span> = <span class="var-default">3600</span>]) - </div> - - <div class="method-definition"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <a href="#deleteByMultipleIds" title="details" class="method-name">deleteByMultipleIds</a> - (<span class="var-type">array</span> <span class="var-name">$ids</span>, [<span class="var-type">boolean</span> <span class="var-name">$fromPending</span> = <span class="var-default">true</span>], [<span class="var-type">boolean</span> <span class="var-name">$fromCommitted</span> = <span class="var-default">true</span>], [<span class="var-type">float</span> <span class="var-name">$timeout</span> = <span class="var-default">3600</span>]) - </div> - - <div class="method-definition"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <a href="#deleteByQuery" title="details" class="method-name">deleteByQuery</a> - (<span class="var-type">string</span> <span class="var-name">$rawQuery</span>, [<span class="var-type">boolean</span> <span class="var-name">$fromPending</span> = <span class="var-default">true</span>], [<span class="var-type">boolean</span> <span class="var-name">$fromCommitted</span> = <span class="var-default">true</span>], [<span class="var-type">float</span> <span class="var-name">$timeout</span> = <span class="var-default">3600</span>]) - </div> - - <div class="method-definition"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <a href="#extract" title="details" class="method-name">extract</a> - (<span class="var-type">string</span> <span class="var-name">$file</span>, [<span class="var-type">array</span> <span class="var-name">$params</span> = <span class="var-default">array()</span>], [<span class="var-type"><a href="../../Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a></span> <span class="var-name">$document</span> = <span class="var-default">null</span>], [<span class="var-type">string</span> <span class="var-name">$mimetype</span> = <span class="var-default">'application/octet-stream'</span>]) - </div> - - <div class="method-definition"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <a href="#extractFromString" title="details" class="method-name">extractFromString</a> - (<span class="var-type">string</span> <span class="var-name">$data</span>, [<span class="var-type">array</span> <span class="var-name">$params</span> = <span class="var-default">array()</span>], [<span class="var-type"><a href="../../Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a></span> <span class="var-name">$document</span> = <span class="var-default">null</span>], [<span class="var-type">string</span> <span class="var-name">$mimetype</span> = <span class="var-default">'application/octet-stream'</span>]) - </div> - - <div class="method-definition"> - <span class="method-result">boolean</span> - <a href="#getCreateDocuments" title="details" class="method-name">getCreateDocuments</a> - () - </div> - - <div class="method-definition"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <a href="#optimize" title="details" class="method-name">optimize</a> - ([<span class="var-type">boolean</span> <span class="var-name">$waitFlush</span> = <span class="var-default">true</span>], [<span class="var-type">boolean</span> <span class="var-name">$waitSearcher</span> = <span class="var-default">true</span>], [<span class="var-type">float</span> <span class="var-name">$timeout</span> = <span class="var-default">3600</span>]) - </div> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#removeReadService" title="details" class="method-name">removeReadService</a> - (<span class="var-type">mixed</span> <span class="var-name">$service</span>) - </div> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#removeWriteService" title="details" class="method-name">removeWriteService</a> - (<span class="var-type">mixed</span> <span class="var-name">$service</span>) - </div> - - <div class="method-definition"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <a href="#search" title="details" class="method-name">search</a> - (<span class="var-type">string</span> <span class="var-name">$query</span>, [<span class="var-type">int</span> <span class="var-name">$offset</span> = <span class="var-default">0</span>], [<span class="var-type">int</span> <span class="var-name">$limit</span> = <span class="var-default">10</span>], [<span class="var-type">array</span> <span class="var-name">$params</span> = <span class="var-default">array()</span>], [<span class="var-type">string</span> <span class="var-name">$method</span> = <span class="var-default">Apache_Solr_Service::METHOD_GET</span>]) - </div> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#setCreateDocuments" title="details" class="method-name">setCreateDocuments</a> - (<span class="var-type">boolean</span> <span class="var-name">$createDocuments</span>) - </div> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#setReadPingTimeout" title="details" class="method-name">setReadPingTimeout</a> - (<span class="var-type"></span> <span class="var-name">$timeout</span>) - </div> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#setUseBackoff" title="details" class="method-name">setUseBackoff</a> - (<span class="var-type"></span> <span class="var-name">$enable</span>) - </div> - - <div class="method-definition"> - <span class="method-result">void</span> - <a href="#setWritePingTimeout" title="details" class="method-name">setWritePingTimeout</a> - (<span class="var-type"></span> <span class="var-name">$timeout</span>) - </div> - - <div class="method-definition"> - <span class="method-result">string</span> - <a href="#_getServiceId" title="details" class="method-name">_getServiceId</a> - (<span class="var-type">string</span> <span class="var-name">$host</span>, <span class="var-type">integer</span> <span class="var-name">$port</span>, <span class="var-type">string</span> <span class="var-name">$path</span>) - </div> - - <div class="method-definition"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Service.html">Apache_Solr_Service</a></span> - <a href="#_selectReadService" title="details" class="method-name">_selectReadService</a> - ([<span class="var-type"></span> <span class="var-name">$forceSelect</span> = <span class="var-default">false</span>]) - </div> - - <div class="method-definition"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Service.html">Apache_Solr_Service</a></span> - <a href="#_selectWriteService" title="details" class="method-name">_selectWriteService</a> - ([<span class="var-type"></span> <span class="var-name">$forceSelect</span> = <span class="var-default">false</span>]) - </div> - - <div class="method-definition"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Service.html">Apache_Solr_Service</a></span> - <a href="#_selectWriteServiceSafe" title="details" class="method-name">_selectWriteServiceSafe</a> - ([<span class="var-type"></span> <span class="var-name">$forceSelect</span> = <span class="var-default">false</span>]) - </div> - </div> - </div> - </div> - - <a name="sec-vars"></a> - <div class="info-box"> - <div class="info-box-title">Variables</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>) - - - <a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>) - - | - <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) - - </div> - <div class="info-box-body"> - -<a name="var$_backoffEscalation" id="$_backoffEscalation"><!-- --></A> -<div class="evenrow"> - - <div class="var-header"> - <span class="var-title"> - <span class="var-type">mixed</span> - <span class="var-name">$_backoffEscalation</span> - = <span class="var-default"> 2.0</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a77">77</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> - <ul class="tags"> - <li><span class="field">access:</span> protected</li> - </ul> - - - - - -</div> -<a name="var$_backoffLimit" id="$_backoffLimit"><!-- --></A> -<div class="oddrow"> - - <div class="var-header"> - <span class="var-title"> - <span class="var-type">mixed</span> - <span class="var-name">$_backoffLimit</span> - = <span class="var-default"> 600</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a76">76</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> - <ul class="tags"> - <li><span class="field">access:</span> protected</li> - </ul> - - - - - -</div> -<a name="var$_createDocuments" id="$_createDocuments"><!-- --></A> -<div class="evenrow"> - - <div class="var-header"> - <span class="var-title"> - <span class="var-type">mixed</span> - <span class="var-name">$_createDocuments</span> - = <span class="var-default"> true</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a63">63</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> - <ul class="tags"> - <li><span class="field">access:</span> protected</li> - </ul> - - - - - -</div> -<a name="var$_currentReadService" id="$_currentReadService"><!-- --></A> -<div class="oddrow"> - - <div class="var-header"> - <span class="var-title"> - <span class="var-type">mixed</span> - <span class="var-name">$_currentReadService</span> - = <span class="var-default"> null</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a68">68</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> - <ul class="tags"> - <li><span class="field">access:</span> protected</li> - </ul> - - - - - -</div> -<a name="var$_currentWriteService" id="$_currentWriteService"><!-- --></A> -<div class="evenrow"> - - <div class="var-header"> - <span class="var-title"> - <span class="var-type">mixed</span> - <span class="var-name">$_currentWriteService</span> - = <span class="var-default"> null</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a69">69</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> - <ul class="tags"> - <li><span class="field">access:</span> protected</li> - </ul> - - - - - -</div> -<a name="var$_defaultBackoff" id="$_defaultBackoff"><!-- --></A> -<div class="oddrow"> - - <div class="var-header"> - <span class="var-title"> - <span class="var-type">mixed</span> - <span class="var-name">$_defaultBackoff</span> - = <span class="var-default"> 2.0</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a78">78</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> - <ul class="tags"> - <li><span class="field">access:</span> protected</li> - </ul> - - - - - -</div> -<a name="var$_readableServices" id="$_readableServices"><!-- --></A> -<div class="evenrow"> - - <div class="var-header"> - <span class="var-title"> - <span class="var-type">mixed</span> - <span class="var-name">$_readableServices</span> - = <span class="var-default">array()</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a65">65</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> - <ul class="tags"> - <li><span class="field">access:</span> protected</li> - </ul> - - - - - -</div> -<a name="var$_readPingTimeout" id="$_readPingTimeout"><!-- --></A> -<div class="oddrow"> - - <div class="var-header"> - <span class="var-title"> - <span class="var-type">mixed</span> - <span class="var-name">$_readPingTimeout</span> - = <span class="var-default"> 2</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a71">71</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> - <ul class="tags"> - <li><span class="field">access:</span> protected</li> - </ul> - - - - - -</div> -<a name="var$_useBackoff" id="$_useBackoff"><!-- --></A> -<div class="evenrow"> - - <div class="var-header"> - <span class="var-title"> - <span class="var-type">mixed</span> - <span class="var-name">$_useBackoff</span> - = <span class="var-default"> false</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a75">75</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> - <ul class="tags"> - <li><span class="field">access:</span> protected</li> - </ul> - - - - - -</div> -<a name="var$_writeableServices" id="$_writeableServices"><!-- --></A> -<div class="oddrow"> - - <div class="var-header"> - <span class="var-title"> - <span class="var-type">mixed</span> - <span class="var-name">$_writeableServices</span> - = <span class="var-default">array()</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a66">66</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> - <ul class="tags"> - <li><span class="field">access:</span> protected</li> - </ul> - - - - - -</div> -<a name="var$_writePingTimeout" id="$_writePingTimeout"><!-- --></A> -<div class="evenrow"> - - <div class="var-header"> - <span class="var-title"> - <span class="var-type">mixed</span> - <span class="var-name">$_writePingTimeout</span> - = <span class="var-default"> 4</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a72">72</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> - <ul class="tags"> - <li><span class="field">access:</span> protected</li> - </ul> - - - - - -</div> - - </div> - </div> - - <a name="sec-methods"></a> - <div class="info-box"> - <div class="info-box-title">Methods</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) - <a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>) - - <a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>) - - </div> - <div class="info-box-body"> - <A NAME='method_detail'></A> -<a name="methodescape" id="escape"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">static escape</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a88">88</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Escape a value for special query characters such as ':', '(', ')', '*', '?', etc.</p> -<p class="description"><p>NOTE: inside a phrase fewer characters need escaped, use <a href="../../Apache/Solr/Apache_Solr_Service.html#methodescapePhrase">Apache_Solr_Service::escapePhrase()</a> instead</p></p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - static <span class="method-result">string</span> - <span class="method-name"> - escape - </span> - (<span class="var-type">string</span> <span class="var-name">$value</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$value</span> </li> - </ul> - - - </div> -<a name="methodescapePhrase" id="escapePhrase"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">static escapePhrase</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a99">99</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Escape a value meant to be contained in a phrase for special query characters</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - static <span class="method-result">string</span> - <span class="method-name"> - escapePhrase - </span> - (<span class="var-type">string</span> <span class="var-name">$value</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$value</span> </li> - </ul> - - - </div> -<a name="methodphrase" id="phrase"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">static phrase</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a110">110</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Convenience function for creating phrase syntax from a value</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - static <span class="method-result">string</span> - <span class="method-name"> - phrase - </span> - (<span class="var-type">string</span> <span class="var-name">$value</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$value</span> </li> - </ul> - - - </div> -<a name="method__construct" id="__construct"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">Constructor __construct</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a121">121</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Constructor. Takes arrays of read and write service instances or descriptions</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">Apache_Solr_Service_Balancer</span> - <span class="method-name"> - __construct - </span> - ([<span class="var-type">array</span> <span class="var-name">$readableServices</span> = <span class="var-default">array()</span>], [<span class="var-type">array</span> <span class="var-name">$writeableServices</span> = <span class="var-default">array()</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">array</span> - <span class="var-name">$readableServices</span> </li> - <li> - <span class="var-type">array</span> - <span class="var-name">$writeableServices</span> </li> - </ul> - - - </div> -<a name="methodadd" id="add"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">add</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a491">491</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">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.</p> - <ul class="tags"> - <li><span class="field">throws:</span> Apache_Solr_HttpTransportException If an error occurs during the service call</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <span class="method-name"> - add - </span> - (<span class="var-type">string</span> <span class="var-name">$rawPost</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$rawPost</span> </li> - </ul> - - - </div> -<a name="methodaddDocument" id="addDocument"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">addDocument</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a526">526</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Add a Solr Document to the index</p> - <ul class="tags"> - <li><span class="field">throws:</span> Apache_Solr_HttpTransportException If an error occurs during the service call</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <span class="method-name"> - addDocument - </span> - (<span class="var-type"><a href="../../Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a></span> <span class="var-name">$document</span>, [<span class="var-type">boolean</span> <span class="var-name">$allowDups</span> = <span class="var-default">false</span>], [<span class="var-type">boolean</span> <span class="var-name">$overwritePending</span> = <span class="var-default">true</span>], [<span class="var-type">boolean</span> <span class="var-name">$overwriteCommitted</span> = <span class="var-default">true</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type"><a href="../../Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a></span> - <span class="var-name">$document</span> </li> - <li> - <span class="var-type">boolean</span> - <span class="var-name">$allowDups</span> </li> - <li> - <span class="var-type">boolean</span> - <span class="var-name">$overwritePending</span> </li> - <li> - <span class="var-type">boolean</span> - <span class="var-name">$overwriteCommitted</span> </li> - </ul> - - - </div> -<a name="methodaddDocuments" id="addDocuments"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">addDocuments</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a561">561</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Add an array of Solr Documents to the index all at once</p> - <ul class="tags"> - <li><span class="field">throws:</span> Apache_Solr_HttpTransportException If an error occurs during the service call</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <span class="method-name"> - addDocuments - </span> - (<span class="var-type">array</span> <span class="var-name">$documents</span>, [<span class="var-type">boolean</span> <span class="var-name">$allowDups</span> = <span class="var-default">false</span>], [<span class="var-type">boolean</span> <span class="var-name">$overwritePending</span> = <span class="var-default">true</span>], [<span class="var-type">boolean</span> <span class="var-name">$overwriteCommitted</span> = <span class="var-default">true</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">array</span> - <span class="var-name">$documents</span><span class="var-description">: Should be an array of Apache_Solr_Document instances</span> </li> - <li> - <span class="var-type">boolean</span> - <span class="var-name">$allowDups</span> </li> - <li> - <span class="var-type">boolean</span> - <span class="var-name">$overwritePending</span> </li> - <li> - <span class="var-type">boolean</span> - <span class="var-name">$overwriteCommitted</span> </li> - </ul> - - - </div> -<a name="methodaddReadService" id="addReadService"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">addReadService</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a172">172</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Adds a service instance or service descriptor (if it is already not added)</p> - <ul class="tags"> - <li><span class="field">throws:</span> Apache_Solr_InvalidArgumentException If service descriptor is not valid</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - addReadService - </span> - (<span class="var-type">mixed</span> <span class="var-name">$service</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">mixed</span> - <span class="var-name">$service</span> </li> - </ul> - - - </div> -<a name="methodaddWriteService" id="addWriteService"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">addWriteService</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a240">240</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Adds a service instance or service descriptor (if it is already not added)</p> - <ul class="tags"> - <li><span class="field">throws:</span> Apache_Solr_InvalidArgumentException If service descriptor is not valid</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - addWriteService - </span> - (<span class="var-type">mixed</span> <span class="var-name">$service</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">mixed</span> - <span class="var-name">$service</span> </li> - </ul> - - - </div> -<a name="methodcommit" id="commit"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">commit</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a595">595</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Send a commit command. Will be synchronous unless both wait parameters are set to false.</p> - <ul class="tags"> - <li><span class="field">throws:</span> Apache_Solr_HttpTransportException If an error occurs during the service call</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <span class="method-name"> - commit - </span> - ([<span class="var-type"></span> <span class="var-name">$optimize</span> = <span class="var-default">true</span>], [<span class="var-type">boolean</span> <span class="var-name">$waitFlush</span> = <span class="var-default">true</span>], [<span class="var-type">boolean</span> <span class="var-name">$waitSearcher</span> = <span class="var-default">true</span>], [<span class="var-type"></span> <span class="var-name">$timeout</span> = <span class="var-default">3600</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">boolean</span> - <span class="var-name">$waitFlush</span> </li> - <li> - <span class="var-type">boolean</span> - <span class="var-name">$waitSearcher</span> </li> - <li> - <span class="var-type"></span> - <span class="var-name">$optimize</span> </li> - <li> - <span class="var-type"></span> - <span class="var-name">$timeout</span> </li> - </ul> - - - </div> -<a name="methoddelete" id="delete"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">delete</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a629">629</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">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</p> - <ul class="tags"> - <li><span class="field">throws:</span> Apache_Solr_HttpTransportException If an error occurs during the service call</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <span class="method-name"> - delete - </span> - (<span class="var-type">string</span> <span class="var-name">$rawPost</span>, [<span class="var-type">float</span> <span class="var-name">$timeout</span> = <span class="var-default">3600</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$rawPost</span> </li> - <li> - <span class="var-type">float</span> - <span class="var-name">$timeout</span><span class="var-description">: Maximum expected duration of the delete operation on the server (otherwise, will throw a communication exception)</span> </li> - </ul> - - - </div> -<a name="methoddeleteById" id="deleteById"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">deleteById</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a664">664</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Create a delete document based on document ID</p> - <ul class="tags"> - <li><span class="field">throws:</span> Apache_Solr_HttpTransportException If an error occurs during the service call</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <span class="method-name"> - deleteById - </span> - (<span class="var-type">string</span> <span class="var-name">$id</span>, [<span class="var-type">boolean</span> <span class="var-name">$fromPending</span> = <span class="var-default">true</span>], [<span class="var-type">boolean</span> <span class="var-name">$fromCommitted</span> = <span class="var-default">true</span>], [<span class="var-type">float</span> <span class="var-name">$timeout</span> = <span class="var-default">3600</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$id</span> </li> - <li> - <span class="var-type">boolean</span> - <span class="var-name">$fromPending</span> </li> - <li> - <span class="var-type">boolean</span> - <span class="var-name">$fromCommitted</span> </li> - <li> - <span class="var-type">float</span> - <span class="var-name">$timeout</span><span class="var-description">: Maximum expected duration of the delete operation on the server (otherwise, will throw a communication exception)</span> </li> - </ul> - - - </div> -<a name="methoddeleteByMultipleIds" id="deleteByMultipleIds"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">deleteByMultipleIds</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a699">699</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Create and post a delete document based on multiple document IDs.</p> - <ul class="tags"> - <li><span class="field">throws:</span> Apache_Solr_HttpTransportException If an error occurs during the service call</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <span class="method-name"> - deleteByMultipleIds - </span> - (<span class="var-type">array</span> <span class="var-name">$ids</span>, [<span class="var-type">boolean</span> <span class="var-name">$fromPending</span> = <span class="var-default">true</span>], [<span class="var-type">boolean</span> <span class="var-name">$fromCommitted</span> = <span class="var-default">true</span>], [<span class="var-type">float</span> <span class="var-name">$timeout</span> = <span class="var-default">3600</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">array</span> - <span class="var-name">$ids</span><span class="var-description">: Expected to be utf-8 encoded strings</span> </li> - <li> - <span class="var-type">boolean</span> - <span class="var-name">$fromPending</span> </li> - <li> - <span class="var-type">boolean</span> - <span class="var-name">$fromCommitted</span> </li> - <li> - <span class="var-type">float</span> - <span class="var-name">$timeout</span><span class="var-description">: Maximum expected duration of the delete operation on the server (otherwise, will throw a communication exception)</span> </li> - </ul> - - - </div> -<a name="methoddeleteByQuery" id="deleteByQuery"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">deleteByQuery</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a734">734</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Create a delete document based on a query and submit it</p> - <ul class="tags"> - <li><span class="field">throws:</span> Apache_Solr_HttpTransportException If an error occurs during the service call</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <span class="method-name"> - deleteByQuery - </span> - (<span class="var-type">string</span> <span class="var-name">$rawQuery</span>, [<span class="var-type">boolean</span> <span class="var-name">$fromPending</span> = <span class="var-default">true</span>], [<span class="var-type">boolean</span> <span class="var-name">$fromCommitted</span> = <span class="var-default">true</span>], [<span class="var-type">float</span> <span class="var-name">$timeout</span> = <span class="var-default">3600</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$rawQuery</span> </li> - <li> - <span class="var-type">boolean</span> - <span class="var-name">$fromPending</span> </li> - <li> - <span class="var-type">boolean</span> - <span class="var-name">$fromCommitted</span> </li> - <li> - <span class="var-type">float</span> - <span class="var-name">$timeout</span><span class="var-description">: Maximum expected duration of the delete operation on the server (otherwise, will throw a communication exception)</span> </li> - </ul> - - - </div> -<a name="methodextract" id="extract"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">extract</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a776">776</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Use Solr Cell to extract document contents. See <a href="http://wiki.apache.org/solr/ExtractingRequestHandler">http://wiki.apache.org/solr/ExtractingRequestHandler</a> for information on how to use Solr Cell and what parameters are available.</p> -<p class="description"><p>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).</p></p> - <ul class="tags"> - <li><span class="field">throws:</span> Apache_Solr_InvalidArgumentException if $file, $params, or $document are invalid.</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <span class="method-name"> - extract - </span> - (<span class="var-type">string</span> <span class="var-name">$file</span>, [<span class="var-type">array</span> <span class="var-name">$params</span> = <span class="var-default">array()</span>], [<span class="var-type"><a href="../../Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a></span> <span class="var-name">$document</span> = <span class="var-default">null</span>], [<span class="var-type">string</span> <span class="var-name">$mimetype</span> = <span class="var-default">'application/octet-stream'</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$file</span><span class="var-description">: Path to file to extract data from</span> </li> - <li> - <span class="var-type">array</span> - <span class="var-name">$params</span><span class="var-description">: optional array of key value pairs that will be sent with the post (see Solr Cell documentation)</span> </li> - <li> - <span class="var-type"><a href="../../Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a></span> - <span class="var-name">$document</span><span class="var-description">: optional document that will be used to generate post parameters (literal.* and boost.* params)</span> </li> - <li> - <span class="var-type">string</span> - <span class="var-name">$mimetype</span><span class="var-description">: optional mimetype specification (for the file being extracted)</span> </li> - </ul> - - - </div> -<a name="methodextractFromString" id="extractFromString"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">extractFromString</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a820">820</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Use Solr Cell to extract document contents. See <a href="http://wiki.apache.org/solr/ExtractingRequestHandler">http://wiki.apache.org/solr/ExtractingRequestHandler</a> for information on how to use Solr Cell and what parameters are available.</p> -<p class="description"><p>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).</p></p> - <ul class="tags"> - <li><span class="field">todo:</span> Should be using multipart/form-data to post parameter values, but I could not get my implementation to work. Needs revisisted.</li> - <li><span class="field">throws:</span> Apache_Solr_InvalidArgumentException if $file, $params, or $document are invalid.</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <span class="method-name"> - extractFromString - </span> - (<span class="var-type">string</span> <span class="var-name">$data</span>, [<span class="var-type">array</span> <span class="var-name">$params</span> = <span class="var-default">array()</span>], [<span class="var-type"><a href="../../Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a></span> <span class="var-name">$document</span> = <span class="var-default">null</span>], [<span class="var-type">string</span> <span class="var-name">$mimetype</span> = <span class="var-default">'application/octet-stream'</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$data</span><span class="var-description">: Data that will be passed to Solr Cell</span> </li> - <li> - <span class="var-type">array</span> - <span class="var-name">$params</span><span class="var-description">: optional array of key value pairs that will be sent with the post (see Solr Cell documentation)</span> </li> - <li> - <span class="var-type"><a href="../../Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a></span> - <span class="var-name">$document</span><span class="var-description">: optional document that will be used to generate post parameters (literal.* and boost.* params)</span> </li> - <li> - <span class="var-type">string</span> - <span class="var-name">$mimetype</span><span class="var-description">: optional mimetype specification (for the file being extracted)</span> </li> - </ul> - - - </div> -<a name="methodgetCreateDocuments" id="getCreateDocuments"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">getCreateDocuments</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a477">477</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Get the current state of teh create documents flag.</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">boolean</span> - <span class="method-name"> - getCreateDocuments - </span> - () - </div> - - - - </div> -<a name="methodoptimize" id="optimize"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">optimize</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a855">855</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Send an optimize command. Will be synchronous unless both wait parameters are set to false.</p> - <ul class="tags"> - <li><span class="field">throws:</span> Apache_Solr_HttpTransportException If an error occurs during the service call</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <span class="method-name"> - optimize - </span> - ([<span class="var-type">boolean</span> <span class="var-name">$waitFlush</span> = <span class="var-default">true</span>], [<span class="var-type">boolean</span> <span class="var-name">$waitSearcher</span> = <span class="var-default">true</span>], [<span class="var-type">float</span> <span class="var-name">$timeout</span> = <span class="var-default">3600</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">boolean</span> - <span class="var-name">$waitFlush</span> </li> - <li> - <span class="var-type">boolean</span> - <span class="var-name">$waitSearcher</span> </li> - <li> - <span class="var-type">float</span> - <span class="var-name">$timeout</span><span class="var-description">: Maximum expected duration of the optimize operation on the server (otherwise, will throw a communication exception)</span> </li> - </ul> - - - </div> -<a name="methodremoveReadService" id="removeReadService"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">removeReadService</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a202">202</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Removes a service instance or descriptor from the available services</p> - <ul class="tags"> - <li><span class="field">throws:</span> Apache_Solr_InvalidArgumentException If service descriptor is not valid</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - removeReadService - </span> - (<span class="var-type">mixed</span> <span class="var-name">$service</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">mixed</span> - <span class="var-name">$service</span> </li> - </ul> - - - </div> -<a name="methodremoveWriteService" id="removeWriteService"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">removeWriteService</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a270">270</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Removes a service instance or descriptor from the available services</p> - <ul class="tags"> - <li><span class="field">throws:</span> Apache_Solr_InvalidArgumentException If service descriptor is not valid</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - removeWriteService - </span> - (<span class="var-type">mixed</span> <span class="var-name">$service</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">mixed</span> - <span class="var-name">$service</span> </li> - </ul> - - - </div> -<a name="methodsearch" id="search"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">search</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a891">891</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Simple Search interface</p> - <ul class="tags"> - <li><span class="field">throws:</span> Apache_Solr_HttpTransportException If an error occurs during the service call</li> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span> - <span class="method-name"> - search - </span> - (<span class="var-type">string</span> <span class="var-name">$query</span>, [<span class="var-type">int</span> <span class="var-name">$offset</span> = <span class="var-default">0</span>], [<span class="var-type">int</span> <span class="var-name">$limit</span> = <span class="var-default">10</span>], [<span class="var-type">array</span> <span class="var-name">$params</span> = <span class="var-default">array()</span>], [<span class="var-type">string</span> <span class="var-name">$method</span> = <span class="var-default">Apache_Solr_Service::METHOD_GET</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$query</span><span class="var-description">: The raw query string</span> </li> - <li> - <span class="var-type">int</span> - <span class="var-name">$offset</span><span class="var-description">: The starting offset for result documents</span> </li> - <li> - <span class="var-type">int</span> - <span class="var-name">$limit</span><span class="var-description">: The maximum number of result documents to return</span> </li> - <li> - <span class="var-type">array</span> - <span class="var-name">$params</span><span class="var-description">: key / value pairs for query parameters, use arrays for multivalued parameters</span> </li> - <li> - <span class="var-type">string</span> - <span class="var-name">$method</span><span class="var-description">: The HTTP method (Apache_Solr_Service::METHOD_GET or Apache_Solr_Service::METHOD::POST)</span> </li> - </ul> - - - </div> -<a name="methodsetCreateDocuments" id="setCreateDocuments"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">setCreateDocuments</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a460">460</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Set the create documents flag. This determines whether <a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a> objects will parse the response and create <a href="../../Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a> instances in place.</p> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - setCreateDocuments - </span> - (<span class="var-type">boolean</span> <span class="var-name">$createDocuments</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">boolean</span> - <span class="var-name">$createDocuments</span> </li> - </ul> - - - </div> -<a name="methodsetReadPingTimeout" id="setReadPingTimeout"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">setReadPingTimeout</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a136">136</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - setReadPingTimeout - </span> - (<span class="var-type"></span> <span class="var-name">$timeout</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type"></span> - <span class="var-name">$timeout</span> </li> - </ul> - - - </div> -<a name="methodsetUseBackoff" id="setUseBackoff"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">setUseBackoff</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a146">146</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - setUseBackoff - </span> - (<span class="var-type"></span> <span class="var-name">$enable</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type"></span> - <span class="var-name">$enable</span> </li> - </ul> - - - </div> -<a name="methodsetWritePingTimeout" id="setWritePingTimeout"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">setWritePingTimeout</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a141">141</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> - <ul class="tags"> - <li><span class="field">access:</span> public</li> - </ul> - - <div class="method-signature"> - <span class="method-result">void</span> - <span class="method-name"> - setWritePingTimeout - </span> - (<span class="var-type"></span> <span class="var-name">$timeout</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type"></span> - <span class="var-name">$timeout</span> </li> - </ul> - - - </div> -<a name="method_getServiceId" id="_getServiceId"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">_getServiceId</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a159">159</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Generates a service ID</p> - <ul class="tags"> - <li><span class="field">access:</span> protected</li> - </ul> - - <div class="method-signature"> - <span class="method-result">string</span> - <span class="method-name"> - _getServiceId - </span> - (<span class="var-type">string</span> <span class="var-name">$host</span>, <span class="var-type">integer</span> <span class="var-name">$port</span>, <span class="var-type">string</span> <span class="var-name">$path</span>) - </div> - - <ul class="parameters"> - <li> - <span class="var-type">string</span> - <span class="var-name">$host</span> </li> - <li> - <span class="var-type">integer</span> - <span class="var-name">$port</span> </li> - <li> - <span class="var-type">string</span> - <span class="var-name">$path</span> </li> - </ul> - - - </div> -<a name="method_selectReadService" id="_selectReadService"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">_selectReadService</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a308">308</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Iterate through available read services and select the first with a ping that satisfies configured timeout restrictions (or the default)</p> - <ul class="tags"> - <li><span class="field">throws:</span> Apache_Solr_NoServiceAvailableException If there are no read services that meet requirements</li> - <li><span class="field">access:</span> protected</li> - </ul> - - <div class="method-signature"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Service.html">Apache_Solr_Service</a></span> - <span class="method-name"> - _selectReadService - </span> - ([<span class="var-type"></span> <span class="var-name">$forceSelect</span> = <span class="var-default">false</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type"></span> - <span class="var-name">$forceSelect</span> </li> - </ul> - - - </div> -<a name="method_selectWriteService" id="_selectWriteService"><!-- --></a> -<div class="evenrow"> - - <div class="method-header"> - <span class="method-title">_selectWriteService</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a356">356</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Iterate through available write services and select the first with a ping that satisfies configured timeout restrictions (or the default)</p> - <ul class="tags"> - <li><span class="field">throws:</span> Apache_Solr_NoServiceAvailableException If there are no write services that meet requirements</li> - <li><span class="field">access:</span> protected</li> - </ul> - - <div class="method-signature"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Service.html">Apache_Solr_Service</a></span> - <span class="method-name"> - _selectWriteService - </span> - ([<span class="var-type"></span> <span class="var-name">$forceSelect</span> = <span class="var-default">false</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type"></span> - <span class="var-name">$forceSelect</span> </li> - </ul> - - - </div> -<a name="method_selectWriteServiceSafe" id="_selectWriteServiceSafe"><!-- --></a> -<div class="oddrow"> - - <div class="method-header"> - <span class="method-title">_selectWriteServiceSafe</span> (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a412">412</a></span>) - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Iterate through available write services and select the first with a ping</p> -<p class="description"><p>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).</p></p> - <ul class="tags"> - <li><span class="field">throws:</span> Apache_Solr_NoServiceAvailableException If there are no write services that meet requirements</li> - <li><span class="field">access:</span> protected</li> - </ul> - - <div class="method-signature"> - <span class="method-result"><a href="../../Apache/Solr/Apache_Solr_Service.html">Apache_Solr_Service</a></span> - <span class="method-name"> - _selectWriteServiceSafe - </span> - ([<span class="var-type"></span> <span class="var-name">$forceSelect</span> = <span class="var-default">false</span>]) - </div> - - <ul class="parameters"> - <li> - <span class="var-type"></span> - <span class="var-name">$forceSelect</span> </li> - </ul> - - - </div> - - </div> - </div> - - <a name="sec-consts"></a> - <div class="info-box"> - <div class="info-box-title">Class Constants</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-var-summary">Constants</a> (<span class="disabled">details</span>) - - - <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) - | - <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) - - </div> - <div class="info-box-body"> - <a name="constSVN_ID" id="SVN_ID"><!-- --></A> -<div class="evenrow"> - - <div class="const-header"> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name">SVN_ID</span> - = <span class="const-default"> '$Id: Balancer.php 54 2011-02-04 16:29:18Z donovan.jimenez $'</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a61">61</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">SVN ID meta data for this class</p> - - -</div> -<a name="constSVN_REVISION" id="SVN_REVISION"><!-- --></A> -<div class="oddrow"> - - <div class="const-header"> - <img src="../../media/images/Variable.png" /> - <span class="const-title"> - <span class="const-name">SVN_REVISION</span> - = <span class="const-default"> '$Revision: 54 $'</span> - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a56">56</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">SVN Revision meta data for this class</p> - - -</div> - - </div> - </div> - - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:10 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </div></body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_Document.php.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_Document.php.html deleted file mode 100644 index 30b56248a55a7a6b188a53051bf3aa57862d456a..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_Document.php.html +++ /dev/null @@ -1,74 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>Docs for page Document.php</title> - <link rel="stylesheet" href="../../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <div class="page-body"> -<h2 class="file-name">/Document.php</h2> - -<a name="sec-description"></a> -<div class="info-box"> - <div class="info-box-title">Description</div> - <div class="nav-bar"> - <span class="disabled">Description</span> | - <a href="#sec-classes">Classes</a> - </div> - <div class="info-box-body"> - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Copyright (c) 2007-2011, Servigistics, Inc.</p> -<p class="description"><p>All rights reserved.</p><p>Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:</p><p><ul><li>Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer.</li><li>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.</li><li>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.</li></ul> 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.</p></p> - <ul class="tags"> - <li><span class="field">author:</span> Donovan Jimenez <<a href="mailto:djimenez@conduit-it.com">djimenez@conduit-it.com</a>></li> - <li><span class="field">version:</span> $Id: Document.php 54 2011-02-04 16:29:18Z donovan.jimenez $</li> - <li><span class="field">copyright:</span> Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com)</li> - <li><span class="field">filesource:</span> <a href="../../__filesource/fsource_Apache_Solr_Document.php.html">Source Code for this file</a></li> - <li><span class="field">license:</span> <a href="http://solr-php-client.googlecode.com/svn/trunk/COPYING">New BSD</a></li> - </ul> - - </div> -</div> - - <a name="sec-classes"></a> - <div class="info-box"> - <div class="info-box-title">Classes</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <span class="disabled">Classes</span> - </div> - <div class="info-box-body"> - <table cellpadding="2" cellspacing="0" class="class-table"> - <tr> - <th class="class-table-header">Class</th> - <th class="class-table-header">Description</th> - </tr> - <tr> - <td style="padding-right: 2em; vertical-align: top"> - <a href="../../Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a> - </td> - <td> - 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: - </td> - </tr> - </table> - </div> - </div> - - - - - - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:13 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </div></body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_Exception.php.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_Exception.php.html deleted file mode 100644 index c6cef5e8bfdc07889a85964aa41f927e53811bbf..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_Exception.php.html +++ /dev/null @@ -1,63 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>Docs for page Exception.php</title> - <link rel="stylesheet" href="../../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <div class="page-body"> -<h2 class="file-name">/Exception.php</h2> - -<a name="sec-description"></a> -<div class="info-box"> - <div class="info-box-title">Description</div> - <div class="nav-bar"> - <span class="disabled">Description</span> | - <a href="#sec-classes">Classes</a> - </div> - <div class="info-box-body"> - <!-- ========== Info from phpDoc block ========= --> - <ul class="tags"> - <li><span class="field">filesource:</span> <a href="../../__filesource/fsource_Apache_Solr_Exception.php.html">Source Code for this file</a></li> - </ul> - - </div> -</div> - - <a name="sec-classes"></a> - <div class="info-box"> - <div class="info-box-title">Classes</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <span class="disabled">Classes</span> - </div> - <div class="info-box-body"> - <table cellpadding="2" cellspacing="0" class="class-table"> - <tr> - <th class="class-table-header">Class</th> - <th class="class-table-header">Description</th> - </tr> - <tr> - <td style="padding-right: 2em; vertical-align: top"> - <a href="../../Apache/Solr/Apache_Solr_Exception.html">Apache_Solr_Exception</a> - </td> - <td> - Copyright (c) 2007-2011, Servigistics, Inc. - </td> - </tr> - </table> - </div> - </div> - - - - - - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:13 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </div></body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_HttpTransport---Abstract.php.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_HttpTransport---Abstract.php.html deleted file mode 100644 index ae504ef726f5892fea5f5ad4ba72a5037f0885dd..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_HttpTransport---Abstract.php.html +++ /dev/null @@ -1,74 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>Docs for page Abstract.php</title> - <link rel="stylesheet" href="../../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <div class="page-body"> -<h2 class="file-name">/HttpTransport/Abstract.php</h2> - -<a name="sec-description"></a> -<div class="info-box"> - <div class="info-box-title">Description</div> - <div class="nav-bar"> - <span class="disabled">Description</span> | - <a href="#sec-classes">Classes</a> - </div> - <div class="info-box-body"> - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Copyright (c) 2007-2011, Servigistics, Inc.</p> -<p class="description"><p>All rights reserved.</p><p>Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:</p><p><ul><li>Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer.</li><li>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.</li><li>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.</li></ul> 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.</p></p> - <ul class="tags"> - <li><span class="field">author:</span> Timo Schmidt <<a href="mailto:timo.schmidt@aoemedia.de">timo.schmidt@aoemedia.de</a>>, Donovan Jimenez <djimenez@conduit-it.com></li> - <li><span class="field">version:</span> $Id: $</li> - <li><span class="field">copyright:</span> Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com)</li> - <li><span class="field">filesource:</span> <a href="../../__filesource/fsource_Apache_Solr_HttpTransportAbstract.php.html">Source Code for this file</a></li> - <li><span class="field">license:</span> <a href="http://solr-php-client.googlecode.com/svn/trunk/COPYING">New BSD</a></li> - </ul> - - </div> -</div> - - <a name="sec-classes"></a> - <div class="info-box"> - <div class="info-box-title">Classes</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <span class="disabled">Classes</span> - </div> - <div class="info-box-body"> - <table cellpadding="2" cellspacing="0" class="class-table"> - <tr> - <th class="class-table-header">Class</th> - <th class="class-table-header">Description</th> - </tr> - <tr> - <td style="padding-right: 2em; vertical-align: top"> - <a href="../../Apache/Solr/Apache_Solr_HttpTransport_Abstract.html">Apache_Solr_HttpTransport_Abstract</a> - </td> - <td> - Convenience class that implements the transport implementation. Can be extended by - </td> - </tr> - </table> - </div> - </div> - - - - - - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:08 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </div></body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_HttpTransport---Curl.php.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_HttpTransport---Curl.php.html deleted file mode 100644 index 49662ace78c1b4bec988af8472508cae6f0ac993..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_HttpTransport---Curl.php.html +++ /dev/null @@ -1,101 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>Docs for page Curl.php</title> - <link rel="stylesheet" href="../../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <div class="page-body"> -<h2 class="file-name">/HttpTransport/Curl.php</h2> - -<a name="sec-description"></a> -<div class="info-box"> - <div class="info-box-title">Description</div> - <div class="nav-bar"> - <span class="disabled">Description</span> | - <a href="#sec-classes">Classes</a> - | <a href="#sec-includes">Includes</a> - </div> - <div class="info-box-body"> - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Copyright (c) 2007-2011, Servigistics, Inc.</p> -<p class="description"><p>All rights reserved.</p><p>Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:</p><p><ul><li>Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer.</li><li>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.</li><li>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.</li></ul> 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.</p></p> - <ul class="tags"> - <li><span class="field">author:</span> Timo Schmidt <<a href="mailto:timo.schmidt@aoemedia.de">timo.schmidt@aoemedia.de</a>>, Donovan Jimenez <djimenez@conduit-it.com></li> - <li><span class="field">version:</span> $Id: $</li> - <li><span class="field">copyright:</span> Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com)</li> - <li><span class="field">filesource:</span> <a href="../../__filesource/fsource_Apache_Solr_HttpTransportCurl.php.html">Source Code for this file</a></li> - <li><span class="field">license:</span> <a href="http://solr-php-client.googlecode.com/svn/trunk/COPYING">New BSD</a></li> - </ul> - - </div> -</div> - - <a name="sec-classes"></a> - <div class="info-box"> - <div class="info-box-title">Classes</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <span class="disabled">Classes</span> - | <a href="#sec-includes">Includes</a> - </div> - <div class="info-box-body"> - <table cellpadding="2" cellspacing="0" class="class-table"> - <tr> - <th class="class-table-header">Class</th> - <th class="class-table-header">Description</th> - </tr> - <tr> - <td style="padding-right: 2em; vertical-align: top"> - <a href="../../Apache/Solr/Apache_Solr_HttpTransport_Curl.html">Apache_Solr_HttpTransport_Curl</a> - </td> - <td> - A Curl based HTTP transport. Uses a single curl session for all requests. - </td> - </tr> - </table> - </div> - </div> - - <a name="sec-includes"></a> - <div class="info-box"> - <div class="info-box-title">Includes</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-classes">Classes</a> - | <span class="disabled">Includes</span> - </div> - <div class="info-box-body"> - <a name="_dirname(__FILE__)_/Abstract_php"><!-- --></a> -<div class="oddrow"> - - <div> - <span class="include-title"> - <span class="include-type">require_once</span> - (<span class="include-name">dirname(__FILE__).'/Abstract.php'</span>) - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportCurl.php.html#a40">40</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> - -</div> - </div> - </div> - - - - - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:11 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </div></body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_HttpTransport---CurlNoReuse.php.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_HttpTransport---CurlNoReuse.php.html deleted file mode 100644 index 1c2eab39b47650a0e8a4ed3992ce9c5ef706e755..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_HttpTransport---CurlNoReuse.php.html +++ /dev/null @@ -1,101 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>Docs for page CurlNoReuse.php</title> - <link rel="stylesheet" href="../../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <div class="page-body"> -<h2 class="file-name">/HttpTransport/CurlNoReuse.php</h2> - -<a name="sec-description"></a> -<div class="info-box"> - <div class="info-box-title">Description</div> - <div class="nav-bar"> - <span class="disabled">Description</span> | - <a href="#sec-classes">Classes</a> - | <a href="#sec-includes">Includes</a> - </div> - <div class="info-box-body"> - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Copyright (c) 2007-2011, Servigistics, Inc.</p> -<p class="description"><p>All rights reserved.</p><p>Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:</p><p><ul><li>Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer.</li><li>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.</li><li>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.</li></ul> 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.</p></p> - <ul class="tags"> - <li><span class="field">author:</span> Timo Schmidt <<a href="mailto:timo.schmidt@aoemedia.de">timo.schmidt@aoemedia.de</a>>, Donovan Jimenez <djimenez@conduit-it.com></li> - <li><span class="field">version:</span> $Id: $</li> - <li><span class="field">copyright:</span> Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com)</li> - <li><span class="field">filesource:</span> <a href="../../__filesource/fsource_Apache_Solr_HttpTransportCurlNoReuse.php.html">Source Code for this file</a></li> - <li><span class="field">license:</span> <a href="http://solr-php-client.googlecode.com/svn/trunk/COPYING">New BSD</a></li> - </ul> - - </div> -</div> - - <a name="sec-classes"></a> - <div class="info-box"> - <div class="info-box-title">Classes</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <span class="disabled">Classes</span> - | <a href="#sec-includes">Includes</a> - </div> - <div class="info-box-body"> - <table cellpadding="2" cellspacing="0" class="class-table"> - <tr> - <th class="class-table-header">Class</th> - <th class="class-table-header">Description</th> - </tr> - <tr> - <td style="padding-right: 2em; vertical-align: top"> - <a href="../../Apache/Solr/Apache_Solr_HttpTransport_CurlNoReuse.html">Apache_Solr_HttpTransport_CurlNoReuse</a> - </td> - <td> - 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. - </td> - </tr> - </table> - </div> - </div> - - <a name="sec-includes"></a> - <div class="info-box"> - <div class="info-box-title">Includes</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-classes">Classes</a> - | <span class="disabled">Includes</span> - </div> - <div class="info-box-body"> - <a name="_dirname(__FILE__)_/Abstract_php"><!-- --></a> -<div class="oddrow"> - - <div> - <span class="include-title"> - <span class="include-type">require_once</span> - (<span class="include-name">dirname(__FILE__).'/Abstract.php'</span>) - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportCurlNoReuse.php.html#a40">40</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> - -</div> - </div> - </div> - - - - - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:12 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </div></body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_HttpTransport---FileGetContents.php.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_HttpTransport---FileGetContents.php.html deleted file mode 100644 index 02984e62cd78dc75866098f3566bd4dcf7119837..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_HttpTransport---FileGetContents.php.html +++ /dev/null @@ -1,101 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>Docs for page FileGetContents.php</title> - <link rel="stylesheet" href="../../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <div class="page-body"> -<h2 class="file-name">/HttpTransport/FileGetContents.php</h2> - -<a name="sec-description"></a> -<div class="info-box"> - <div class="info-box-title">Description</div> - <div class="nav-bar"> - <span class="disabled">Description</span> | - <a href="#sec-classes">Classes</a> - | <a href="#sec-includes">Includes</a> - </div> - <div class="info-box-body"> - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Copyright (c) 2007-2011, Servigistics, Inc.</p> -<p class="description"><p>All rights reserved.</p><p>Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:</p><p><ul><li>Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer.</li><li>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.</li><li>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.</li></ul> 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.</p></p> - <ul class="tags"> - <li><span class="field">author:</span> Donovan Jimenez <<a href="mailto:djimenez@conduit-it.com">djimenez@conduit-it.com</a>></li> - <li><span class="field">version:</span> $Id: $</li> - <li><span class="field">copyright:</span> Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com)</li> - <li><span class="field">filesource:</span> <a href="../../__filesource/fsource_Apache_Solr_HttpTransportFileGetContents.php.html">Source Code for this file</a></li> - <li><span class="field">license:</span> <a href="http://solr-php-client.googlecode.com/svn/trunk/COPYING">New BSD</a></li> - </ul> - - </div> -</div> - - <a name="sec-classes"></a> - <div class="info-box"> - <div class="info-box-title">Classes</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <span class="disabled">Classes</span> - | <a href="#sec-includes">Includes</a> - </div> - <div class="info-box-body"> - <table cellpadding="2" cellspacing="0" class="class-table"> - <tr> - <th class="class-table-header">Class</th> - <th class="class-table-header">Description</th> - </tr> - <tr> - <td style="padding-right: 2em; vertical-align: top"> - <a href="../../Apache/Solr/Apache_Solr_HttpTransport_FileGetContents.html">Apache_Solr_HttpTransport_FileGetContents</a> - </td> - <td> - HTTP Transport implemenation that uses the builtin http URL wrappers and file_get_contents - </td> - </tr> - </table> - </div> - </div> - - <a name="sec-includes"></a> - <div class="info-box"> - <div class="info-box-title">Includes</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-classes">Classes</a> - | <span class="disabled">Includes</span> - </div> - <div class="info-box-body"> - <a name="_dirname(__FILE__)_/Abstract_php"><!-- --></a> -<div class="evenrow"> - - <div> - <span class="include-title"> - <span class="include-type">require_once</span> - (<span class="include-name">dirname(__FILE__).'/Abstract.php'</span>) - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportFileGetContents.php.html#a40">40</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> - -</div> - </div> - </div> - - - - - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:13 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </div></body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_HttpTransport---Interface.php.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_HttpTransport---Interface.php.html deleted file mode 100644 index a4d9965ab16b32622f44dd319febb529747a3804..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_HttpTransport---Interface.php.html +++ /dev/null @@ -1,101 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>Docs for page Interface.php</title> - <link rel="stylesheet" href="../../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <div class="page-body"> -<h2 class="file-name">/HttpTransport/Interface.php</h2> - -<a name="sec-description"></a> -<div class="info-box"> - <div class="info-box-title">Description</div> - <div class="nav-bar"> - <span class="disabled">Description</span> | - <a href="#sec-classes">Classes</a> - | <a href="#sec-includes">Includes</a> - </div> - <div class="info-box-body"> - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Copyright (c) 2007-2011, Servigistics, Inc.</p> -<p class="description"><p>All rights reserved.</p><p>Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:</p><p><ul><li>Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer.</li><li>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.</li><li>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.</li></ul> 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.</p></p> - <ul class="tags"> - <li><span class="field">author:</span> Timo Schmidt <<a href="mailto:timo.schmidt@aoemedia.de">timo.schmidt@aoemedia.de</a>>, Donovan Jimenez <djimenez@conduit-it.com></li> - <li><span class="field">version:</span> $Id: $</li> - <li><span class="field">copyright:</span> Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com)</li> - <li><span class="field">filesource:</span> <a href="../../__filesource/fsource_Apache_Solr_HttpTransportInterface.php.html">Source Code for this file</a></li> - <li><span class="field">license:</span> <a href="http://solr-php-client.googlecode.com/svn/trunk/COPYING">New BSD</a></li> - </ul> - - </div> -</div> - - <a name="sec-classes"></a> - <div class="info-box"> - <div class="info-box-title">Classes</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <span class="disabled">Classes</span> - | <a href="#sec-includes">Includes</a> - </div> - <div class="info-box-body"> - <table cellpadding="2" cellspacing="0" class="class-table"> - <tr> - <th class="class-table-header">Class</th> - <th class="class-table-header">Description</th> - </tr> - <tr> - <td style="padding-right: 2em; vertical-align: top"> - <a href="../../Apache/Solr/Apache_Solr_HttpTransport_Interface.html">Apache_Solr_HttpTransport_Interface</a> - </td> - <td> - Interface that all Transport (HTTP Requester) implementations must implement. These - </td> - </tr> - </table> - </div> - </div> - - <a name="sec-includes"></a> - <div class="info-box"> - <div class="info-box-title">Includes</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-classes">Classes</a> - | <span class="disabled">Includes</span> - </div> - <div class="info-box-body"> - <a name="_dirname(__FILE__)_/Response_php"><!-- --></a> -<div class="evenrow"> - - <div> - <span class="include-title"> - <span class="include-type">require_once</span> - (<span class="include-name">dirname(__FILE__).'/Response.php'</span>) - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_HttpTransportInterface.php.html#a40">40</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> - -</div> - </div> - </div> - - - - - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:14 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </div></body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_HttpTransport---Response.php.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_HttpTransport---Response.php.html deleted file mode 100644 index f12a58046c5e807e42ada002bfd544280de40b36..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_HttpTransport---Response.php.html +++ /dev/null @@ -1,74 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>Docs for page Response.php</title> - <link rel="stylesheet" href="../../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <div class="page-body"> -<h2 class="file-name">/HttpTransport/Response.php</h2> - -<a name="sec-description"></a> -<div class="info-box"> - <div class="info-box-title">Description</div> - <div class="nav-bar"> - <span class="disabled">Description</span> | - <a href="#sec-classes">Classes</a> - </div> - <div class="info-box-body"> - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Copyright (c) 2007-2011, Servigistics, Inc.</p> -<p class="description"><p>All rights reserved.</p><p>Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:</p><p><ul><li>Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer.</li><li>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.</li><li>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.</li></ul> 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.</p></p> - <ul class="tags"> - <li><span class="field">author:</span> Donovan Jimenez <<a href="mailto:djimenez@conduit-it.com">djimenez@conduit-it.com</a>></li> - <li><span class="field">version:</span> $Id: $</li> - <li><span class="field">copyright:</span> Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com)</li> - <li><span class="field">filesource:</span> <a href="../../__filesource/fsource_Apache_Solr_HttpTransportResponse.php.html">Source Code for this file</a></li> - <li><span class="field">license:</span> <a href="http://solr-php-client.googlecode.com/svn/trunk/COPYING">New BSD</a></li> - </ul> - - </div> -</div> - - <a name="sec-classes"></a> - <div class="info-box"> - <div class="info-box-title">Classes</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <span class="disabled">Classes</span> - </div> - <div class="info-box-body"> - <table cellpadding="2" cellspacing="0" class="class-table"> - <tr> - <th class="class-table-header">Class</th> - <th class="class-table-header">Description</th> - </tr> - <tr> - <td style="padding-right: 2em; vertical-align: top"> - <a href="../../Apache/Solr/Apache_Solr_HttpTransport_Response.html">Apache_Solr_HttpTransport_Response</a> - </td> - <td> - Represents the required pieces of an HTTP response provided by HTTP transport - </td> - </tr> - </table> - </div> - </div> - - - - - - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:15 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </div></body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_HttpTransportException.php.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_HttpTransportException.php.html deleted file mode 100644 index 03f7d50fb7587a0530236aa6e53b1f4ec8ae40cd..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_HttpTransportException.php.html +++ /dev/null @@ -1,63 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>Docs for page HttpTransportException.php</title> - <link rel="stylesheet" href="../../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <div class="page-body"> -<h2 class="file-name">/HttpTransportException.php</h2> - -<a name="sec-description"></a> -<div class="info-box"> - <div class="info-box-title">Description</div> - <div class="nav-bar"> - <span class="disabled">Description</span> | - <a href="#sec-classes">Classes</a> - </div> - <div class="info-box-body"> - <!-- ========== Info from phpDoc block ========= --> - <ul class="tags"> - <li><span class="field">filesource:</span> <a href="../../__filesource/fsource_Apache_Solr_HttpTransportException.php.html">Source Code for this file</a></li> - </ul> - - </div> -</div> - - <a name="sec-classes"></a> - <div class="info-box"> - <div class="info-box-title">Classes</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <span class="disabled">Classes</span> - </div> - <div class="info-box-body"> - <table cellpadding="2" cellspacing="0" class="class-table"> - <tr> - <th class="class-table-header">Class</th> - <th class="class-table-header">Description</th> - </tr> - <tr> - <td style="padding-right: 2em; vertical-align: top"> - <a href="../../Apache/Solr/Apache_Solr_HttpTransportException.html">Apache_Solr_HttpTransportException</a> - </td> - <td> - Copyright (c) 2007-2011, Servigistics, Inc. - </td> - </tr> - </table> - </div> - </div> - - - - - - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:14 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </div></body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_InvalidArgumentException.php.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_InvalidArgumentException.php.html deleted file mode 100644 index fdb0c671d9248314b559a1d51065d1bb897304dd..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_InvalidArgumentException.php.html +++ /dev/null @@ -1,63 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>Docs for page InvalidArgumentException.php</title> - <link rel="stylesheet" href="../../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <div class="page-body"> -<h2 class="file-name">/InvalidArgumentException.php</h2> - -<a name="sec-description"></a> -<div class="info-box"> - <div class="info-box-title">Description</div> - <div class="nav-bar"> - <span class="disabled">Description</span> | - <a href="#sec-classes">Classes</a> - </div> - <div class="info-box-body"> - <!-- ========== Info from phpDoc block ========= --> - <ul class="tags"> - <li><span class="field">filesource:</span> <a href="../../__filesource/fsource_Apache_Solr_InvalidArgumentException.php.html">Source Code for this file</a></li> - </ul> - - </div> -</div> - - <a name="sec-classes"></a> - <div class="info-box"> - <div class="info-box-title">Classes</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <span class="disabled">Classes</span> - </div> - <div class="info-box-body"> - <table cellpadding="2" cellspacing="0" class="class-table"> - <tr> - <th class="class-table-header">Class</th> - <th class="class-table-header">Description</th> - </tr> - <tr> - <td style="padding-right: 2em; vertical-align: top"> - <a href="../../Apache/Solr/Apache_Solr_InvalidArgumentException.html">Apache_Solr_InvalidArgumentException</a> - </td> - <td> - Copyright (c) 2007-2011, Servigistics, Inc. - </td> - </tr> - </table> - </div> - </div> - - - - - - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:15 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </div></body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_NoServiceAvailableException.php.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_NoServiceAvailableException.php.html deleted file mode 100644 index 00d4b4e0163dfc57a8bc6e6e68eedba7646fb227..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_NoServiceAvailableException.php.html +++ /dev/null @@ -1,63 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>Docs for page NoServiceAvailableException.php</title> - <link rel="stylesheet" href="../../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <div class="page-body"> -<h2 class="file-name">/NoServiceAvailableException.php</h2> - -<a name="sec-description"></a> -<div class="info-box"> - <div class="info-box-title">Description</div> - <div class="nav-bar"> - <span class="disabled">Description</span> | - <a href="#sec-classes">Classes</a> - </div> - <div class="info-box-body"> - <!-- ========== Info from phpDoc block ========= --> - <ul class="tags"> - <li><span class="field">filesource:</span> <a href="../../__filesource/fsource_Apache_Solr_NoServiceAvailableException.php.html">Source Code for this file</a></li> - </ul> - - </div> -</div> - - <a name="sec-classes"></a> - <div class="info-box"> - <div class="info-box-title">Classes</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <span class="disabled">Classes</span> - </div> - <div class="info-box-body"> - <table cellpadding="2" cellspacing="0" class="class-table"> - <tr> - <th class="class-table-header">Class</th> - <th class="class-table-header">Description</th> - </tr> - <tr> - <td style="padding-right: 2em; vertical-align: top"> - <a href="../../Apache/Solr/Apache_Solr_NoServiceAvailableException.html">Apache_Solr_NoServiceAvailableException</a> - </td> - <td> - Copyright (c) 2007-2011, Servigistics, Inc. - </td> - </tr> - </table> - </div> - </div> - - - - - - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:15 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </div></body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_ParserException.php.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_ParserException.php.html deleted file mode 100644 index 8a69171efc2ecfda94ccbe55ccda7ea970759cbb..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_ParserException.php.html +++ /dev/null @@ -1,63 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>Docs for page ParserException.php</title> - <link rel="stylesheet" href="../../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <div class="page-body"> -<h2 class="file-name">/ParserException.php</h2> - -<a name="sec-description"></a> -<div class="info-box"> - <div class="info-box-title">Description</div> - <div class="nav-bar"> - <span class="disabled">Description</span> | - <a href="#sec-classes">Classes</a> - </div> - <div class="info-box-body"> - <!-- ========== Info from phpDoc block ========= --> - <ul class="tags"> - <li><span class="field">filesource:</span> <a href="../../__filesource/fsource_Apache_Solr_ParserException.php.html">Source Code for this file</a></li> - </ul> - - </div> -</div> - - <a name="sec-classes"></a> - <div class="info-box"> - <div class="info-box-title">Classes</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <span class="disabled">Classes</span> - </div> - <div class="info-box-body"> - <table cellpadding="2" cellspacing="0" class="class-table"> - <tr> - <th class="class-table-header">Class</th> - <th class="class-table-header">Description</th> - </tr> - <tr> - <td style="padding-right: 2em; vertical-align: top"> - <a href="../../Apache/Solr/Apache_Solr_ParserException.html">Apache_Solr_ParserException</a> - </td> - <td> - Copyright (c) 2007-2011, Servigistics, Inc. - </td> - </tr> - </table> - </div> - </div> - - - - - - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:15 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </div></body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_Response.php.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_Response.php.html deleted file mode 100644 index 3093bbaca593e056169974f3624d466c6c137dfe..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_Response.php.html +++ /dev/null @@ -1,101 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>Docs for page Response.php</title> - <link rel="stylesheet" href="../../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <div class="page-body"> -<h2 class="file-name">/Response.php</h2> - -<a name="sec-description"></a> -<div class="info-box"> - <div class="info-box-title">Description</div> - <div class="nav-bar"> - <span class="disabled">Description</span> | - <a href="#sec-classes">Classes</a> - | <a href="#sec-includes">Includes</a> - </div> - <div class="info-box-body"> - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Copyright (c) 2007-2011, Servigistics, Inc.</p> -<p class="description"><p>All rights reserved.</p><p>Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:</p><p><ul><li>Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer.</li><li>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.</li><li>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.</li></ul> 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.</p></p> - <ul class="tags"> - <li><span class="field">author:</span> Donovan Jimenez <<a href="mailto:djimenez@conduit-it.com">djimenez@conduit-it.com</a>></li> - <li><span class="field">version:</span> $Id: Response.php 54 2011-02-04 16:29:18Z donovan.jimenez $</li> - <li><span class="field">copyright:</span> Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com)</li> - <li><span class="field">filesource:</span> <a href="../../__filesource/fsource_Apache_Solr_Response.php.html">Source Code for this file</a></li> - <li><span class="field">license:</span> <a href="http://solr-php-client.googlecode.com/svn/trunk/COPYING">New BSD</a></li> - </ul> - - </div> -</div> - - <a name="sec-classes"></a> - <div class="info-box"> - <div class="info-box-title">Classes</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <span class="disabled">Classes</span> - | <a href="#sec-includes">Includes</a> - </div> - <div class="info-box-body"> - <table cellpadding="2" cellspacing="0" class="class-table"> - <tr> - <th class="class-table-header">Class</th> - <th class="class-table-header">Description</th> - </tr> - <tr> - <td style="padding-right: 2em; vertical-align: top"> - <a href="../../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a> - </td> - <td> - Represents a Solr response. Parses the raw response into a set of stdClass objects and associative arrays for easy access. - </td> - </tr> - </table> - </div> - </div> - - <a name="sec-includes"></a> - <div class="info-box"> - <div class="info-box-title">Includes</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-classes">Classes</a> - | <span class="disabled">Includes</span> - </div> - <div class="info-box-body"> - <a name="_dirname(__FILE__)_/ParserException_php"><!-- --></a> -<div class="oddrow"> - - <div> - <span class="include-title"> - <span class="include-type">require_once</span> - (<span class="include-name">dirname(__FILE__).'/ParserException.php'</span>) - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Response.php.html#a39">39</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> - -</div> - </div> - </div> - - - - - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:15 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </div></body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_Service---Balancer.php.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_Service---Balancer.php.html deleted file mode 100644 index 9aaffbfb9b015016d1478394b29954081672183e..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_Service---Balancer.php.html +++ /dev/null @@ -1,115 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>Docs for page Balancer.php</title> - <link rel="stylesheet" href="../../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <div class="page-body"> -<h2 class="file-name">/Service/Balancer.php</h2> - -<a name="sec-description"></a> -<div class="info-box"> - <div class="info-box-title">Description</div> - <div class="nav-bar"> - <span class="disabled">Description</span> | - <a href="#sec-classes">Classes</a> - | <a href="#sec-includes">Includes</a> - </div> - <div class="info-box-body"> - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Copyright (c) 2007-2011, Servigistics, Inc.</p> -<p class="description"><p>All rights reserved.</p><p>Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:</p><p><ul><li>Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer.</li><li>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.</li><li>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.</li></ul> 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.</p></p> - <ul class="tags"> - <li><span class="field">author:</span> Donovan Jimenez <<a href="mailto:djimenez@conduit-it.com">djimenez@conduit-it.com</a>>, Dan Wolfe</li> - <li><span class="field">version:</span> $Id: Balancer.php 54 2011-02-04 16:29:18Z donovan.jimenez $</li> - <li><span class="field">copyright:</span> Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com)</li> - <li><span class="field">filesource:</span> <a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html">Source Code for this file</a></li> - <li><span class="field">license:</span> <a href="http://solr-php-client.googlecode.com/svn/trunk/COPYING">New BSD</a></li> - </ul> - - </div> -</div> - - <a name="sec-classes"></a> - <div class="info-box"> - <div class="info-box-title">Classes</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <span class="disabled">Classes</span> - | <a href="#sec-includes">Includes</a> - </div> - <div class="info-box-body"> - <table cellpadding="2" cellspacing="0" class="class-table"> - <tr> - <th class="class-table-header">Class</th> - <th class="class-table-header">Description</th> - </tr> - <tr> - <td style="padding-right: 2em; vertical-align: top"> - <a href="../../Apache/Solr/Apache_Solr_Service_Balancer.html">Apache_Solr_Service_Balancer</a> - </td> - <td> - Reference Implementation for using multiple Solr services in a distribution. Functionality - </td> - </tr> - </table> - </div> - </div> - - <a name="sec-includes"></a> - <div class="info-box"> - <div class="info-box-title">Includes</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-classes">Classes</a> - | <span class="disabled">Includes</span> - </div> - <div class="info-box-body"> - <a name="_dirname(dirname(__FILE__))_/Service_php"><!-- --></a> -<div class="evenrow"> - - <div> - <span class="include-title"> - <span class="include-type">require_once</span> - (<span class="include-name">dirname(dirname(__FILE__)).'/Service.php'</span>) - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a41">41</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> - -</div> -<a name="_dirname(dirname(__FILE__))_/NoServiceAvailableException_php"><!-- --></a> -<div class="oddrow"> - - <div> - <span class="include-title"> - <span class="include-type">require_once</span> - (<span class="include-name">dirname(dirname(__FILE__)).'/NoServiceAvailableException.php'</span>) - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_ServiceBalancer.php.html#a43">43</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> - -</div> - </div> - </div> - - - - - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:08 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </div></body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_Service.php.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_Service.php.html deleted file mode 100644 index 39725a045b5520a4a67b8a4610232475ef67d165..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/Apache/Solr/_Service.php.html +++ /dev/null @@ -1,171 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>Docs for page Service.php</title> - <link rel="stylesheet" href="../../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <div class="page-body"> -<h2 class="file-name">/Service.php</h2> - -<a name="sec-description"></a> -<div class="info-box"> - <div class="info-box-title">Description</div> - <div class="nav-bar"> - <span class="disabled">Description</span> | - <a href="#sec-classes">Classes</a> - | <a href="#sec-includes">Includes</a> - </div> - <div class="info-box-body"> - <!-- ========== Info from phpDoc block ========= --> -<p class="short-description">Copyright (c) 2007-2011, Servigistics, Inc.</p> -<p class="description"><p>All rights reserved.</p><p>Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:</p><p><ul><li>Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer.</li><li>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.</li><li>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.</li></ul> 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.</p></p> - <ul class="tags"> - <li><span class="field">author:</span> Donovan Jimenez <<a href="mailto:djimenez@conduit-it.com">djimenez@conduit-it.com</a>></li> - <li><span class="field">version:</span> $Id: Service.php 59 2011-02-08 20:38:59Z donovan.jimenez $</li> - <li><span class="field">copyright:</span> Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com)</li> - <li><span class="field">filesource:</span> <a href="../../__filesource/fsource_Apache_Solr_Service.php.html">Source Code for this file</a></li> - <li><span class="field">license:</span> <a href="http://solr-php-client.googlecode.com/svn/trunk/COPYING">New BSD</a></li> - </ul> - - </div> -</div> - - <a name="sec-classes"></a> - <div class="info-box"> - <div class="info-box-title">Classes</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <span class="disabled">Classes</span> - | <a href="#sec-includes">Includes</a> - </div> - <div class="info-box-body"> - <table cellpadding="2" cellspacing="0" class="class-table"> - <tr> - <th class="class-table-header">Class</th> - <th class="class-table-header">Description</th> - </tr> - <tr> - <td style="padding-right: 2em; vertical-align: top"> - <a href="../../Apache/Solr/Apache_Solr_Service.html">Apache_Solr_Service</a> - </td> - <td> - Starting point for the Solr API. Represents a Solr server resource and has methods for pinging, adding, deleting, committing, optimizing and searching. - </td> - </tr> - </table> - </div> - </div> - - <a name="sec-includes"></a> - <div class="info-box"> - <div class="info-box-title">Includes</div> - <div class="nav-bar"> - <a href="#sec-description">Description</a> | - <a href="#sec-classes">Classes</a> - | <span class="disabled">Includes</span> - </div> - <div class="info-box-body"> - <a name="_dirname(__FILE__)_/HttpTransportException_php"><!-- --></a> -<div class="evenrow"> - - <div> - <span class="include-title"> - <span class="include-type">require_once</span> - (<span class="include-name">dirname(__FILE__).'/HttpTransportException.php'</span>) - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a42">42</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> - -</div> -<a name="_dirname(__FILE__)_/Exception_php"><!-- --></a> -<div class="oddrow"> - - <div> - <span class="include-title"> - <span class="include-type">require_once</span> - (<span class="include-name">dirname(__FILE__).'/Exception.php'</span>) - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a41">41</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> - -</div> -<a name="_dirname(__FILE__)_/InvalidArgumentException_php"><!-- --></a> -<div class="evenrow"> - - <div> - <span class="include-title"> - <span class="include-type">require_once</span> - (<span class="include-name">dirname(__FILE__).'/InvalidArgumentException.php'</span>) - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a43">43</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> - -</div> -<a name="_dirname(__FILE__)_/Document_php"><!-- --></a> -<div class="oddrow"> - - <div> - <span class="include-title"> - <span class="include-type">require_once</span> - (<span class="include-name">dirname(__FILE__).'/Document.php'</span>) - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a45">45</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> - -</div> -<a name="_dirname(__FILE__)_/HttpTransport/Interface_php"><!-- --></a> -<div class="evenrow"> - - <div> - <span class="include-title"> - <span class="include-type">require_once</span> - (<span class="include-name">dirname(__FILE__).'/HttpTransport/Interface.php'</span>) - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a48">48</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> - -</div> -<a name="_dirname(__FILE__)_/Response_php"><!-- --></a> -<div class="oddrow"> - - <div> - <span class="include-title"> - <span class="include-type">require_once</span> - (<span class="include-name">dirname(__FILE__).'/Response.php'</span>) - (line <span class="line-number"><a href="../../__filesource/fsource_Apache_Solr_Service.php.html#a46">46</a></span>) - </span> - </div> - - <!-- ========== Info from phpDoc block ========= --> - -</div> - </div> - </div> - - - - - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:16 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </div></body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_Document.php.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_Document.php.html deleted file mode 100644 index fac94127a1ba5ea2f6c90c53763e71dc074671e1..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_Document.php.html +++ /dev/null @@ -1,387 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>File Source for Document.php</title> - <link rel="stylesheet" href="../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <h1>Source for file Document.php</h1> -<p>Documentation is available at <a href="../Apache/Solr/_Document.php.html">Document.php</a></p> -<div class="src-code"> -<div class="src-code"><ol><li><div class="src-line"><a name="a1"></a><span class="src-php"><?php</span></div></li> -<li><div class="src-line"><a name="a2"></a><span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a3"></a><span class="src-doc"> * Copyright (c) 2007-2011, Servigistics, Inc.</span></div></li> -<li><div class="src-line"><a name="a4"></a><span class="src-doc"> * All rights reserved.</span></div></li> -<li><div class="src-line"><a name="a5"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a6"></a><span class="src-doc"> * Redistribution and use in source and binary forms, with or without</span></div></li> -<li><div class="src-line"><a name="a7"></a><span class="src-doc"> * modification, are permitted provided that the following conditions are met:</span></div></li> -<li><div class="src-line"><a name="a8"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a9"></a><span class="src-doc"> * - Redistributions of source code must retain the above copyright notice,</span></div></li> -<li><div class="src-line"><a name="a10"></a><span class="src-doc"> * this list of conditions and the following disclaimer.</span></div></li> -<li><div class="src-line"><a name="a11"></a><span class="src-doc"> * - Redistributions in binary form must reproduce the above copyright</span></div></li> -<li><div class="src-line"><a name="a12"></a><span class="src-doc"> * notice, this list of conditions and the following disclaimer in the</span></div></li> -<li><div class="src-line"><a name="a13"></a><span class="src-doc"> * documentation and/or other materials provided with the distribution.</span></div></li> -<li><div class="src-line"><a name="a14"></a><span class="src-doc"> * - Neither the name of Servigistics, Inc. nor the names of</span></div></li> -<li><div class="src-line"><a name="a15"></a><span class="src-doc"> * its contributors may be used to endorse or promote products derived from</span></div></li> -<li><div class="src-line"><a name="a16"></a><span class="src-doc"> * this software without specific prior written permission.</span></div></li> -<li><div class="src-line"><a name="a17"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a18"></a><span class="src-doc"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span></div></li> -<li><div class="src-line"><a name="a19"></a><span class="src-doc"> * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div></li> -<li><div class="src-line"><a name="a20"></a><span class="src-doc"> * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span></div></li> -<li><div class="src-line"><a name="a21"></a><span class="src-doc"> * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span></div></li> -<li><div class="src-line"><a name="a22"></a><span class="src-doc"> * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span></div></li> -<li><div class="src-line"><a name="a23"></a><span class="src-doc"> * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span></div></li> -<li><div class="src-line"><a name="a24"></a><span class="src-doc"> * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span></div></li> -<li><div class="src-line"><a name="a25"></a><span class="src-doc"> * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span></div></li> -<li><div class="src-line"><a name="a26"></a><span class="src-doc"> * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span></div></li> -<li><div class="src-line"><a name="a27"></a><span class="src-doc"> * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE</span></div></li> -<li><div class="src-line"><a name="a28"></a><span class="src-doc"> * POSSIBILITY OF SUCH DAMAGE.</span></div></li> -<li><div class="src-line"><a name="a29"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a30"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@copyright</span><span class="src-doc"> Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com)</span></div></li> -<li><div class="src-line"><a name="a31"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@license</span><span class="src-doc"> http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD</span></div></li> -<li><div class="src-line"><a name="a32"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@version</span><span class="src-doc"> $Id: Document.php 54 2011-02-04 16:29:18Z donovan.jimenez $</span></div></li> -<li><div class="src-line"><a name="a33"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a34"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@package</span><span class="src-doc"> Apache</span></div></li> -<li><div class="src-line"><a name="a35"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@subpackage</span><span class="src-doc"> Solr</span></div></li> -<li><div class="src-line"><a name="a36"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@author</span><span class="src-doc"> Donovan Jimenez <djimenez@conduit-it.com></span></div></li> -<li><div class="src-line"><a name="a37"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a38"></a> </div></li> -<li><div class="src-line"><a name="a39"></a><span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a40"></a><span class="src-doc"> * Holds Key / Value pairs that represent a Solr Document along with any associated boost</span></div></li> -<li><div class="src-line"><a name="a41"></a><span class="src-doc"> * values. Field values can be accessed by direct dereferencing such as:</span></div></li> -<li><div class="src-line"><a name="a42"></a><span class="src-doc"> * <code></span></div></li> -<li><div class="src-line"><a name="a43"></a><span class="src-doc"> * ...</span></div></li> -<li><div class="src-line"><a name="a44"></a><span class="src-doc"> * $document->title = 'Something';</span></div></li> -<li><div class="src-line"><a name="a45"></a><span class="src-doc"> * echo $document->title;</span></div></li> -<li><div class="src-line"><a name="a46"></a><span class="src-doc"> * ...</span></div></li> -<li><div class="src-line"><a name="a47"></a><span class="src-doc"> * </code></span></div></li> -<li><div class="src-line"><a name="a48"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a49"></a><span class="src-doc"> * Additionally, the field values can be iterated with foreach</span></div></li> -<li><div class="src-line"><a name="a50"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a51"></a><span class="src-doc"> * <code></span></div></li> -<li><div class="src-line"><a name="a52"></a><span class="src-doc"> * foreach ($document as $fieldName => $fieldValue)</span></div></li> -<li><div class="src-line"><a name="a53"></a><span class="src-doc"> * {</span></div></li> -<li><div class="src-line"><a name="a54"></a><span class="src-doc"> * ...</span></div></li> -<li><div class="src-line"><a name="a55"></a><span class="src-doc"> * }</span></div></li> -<li><div class="src-line"><a name="a56"></a><span class="src-doc"> * </code></span></div></li> -<li><div class="src-line"><a name="a57"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a58"></a><span class="src-key">class </span><a href="../Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a> <span class="src-key">implements </span><span class="src-id">IteratorAggregate</span></div></li> -<li><div class="src-line"><a name="a59"></a><span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a60"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a61"></a><span class="src-doc"> * SVN Revision meta data for this class</span></div></li> -<li><div class="src-line"><a name="a62"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a63"></a> <span class="src-key">const </span><span class="src-id">SVN_REVISION </span>= <span class="src-str">'$Revision: 54 $'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a64"></a> </div></li> -<li><div class="src-line"><a name="a65"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a66"></a><span class="src-doc"> * SVN ID meta data for this class</span></div></li> -<li><div class="src-line"><a name="a67"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a68"></a> <span class="src-key">const </span><span class="src-id">SVN_ID </span>= <span class="src-str">'$Id: Document.php 54 2011-02-04 16:29:18Z donovan.jimenez $'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a69"></a> </div></li> -<li><div class="src-line"><a name="a70"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a71"></a><span class="src-doc"> * Document boost value</span></div></li> -<li><div class="src-line"><a name="a72"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a73"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@var </span><span class="src-doc-type">float </span></div></li> -<li><div class="src-line"><a name="a74"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a75"></a> <span class="src-key">protected </span><a href="../Apache/Solr/Apache_Solr_Document.html#var$_documentBoost">$_documentBoost</a> = <span class="src-id">false</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a76"></a> </div></li> -<li><div class="src-line"><a name="a77"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a78"></a><span class="src-doc"> * Document field values, indexed by name</span></div></li> -<li><div class="src-line"><a name="a79"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a80"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@var </span><span class="src-doc-type">array </span></div></li> -<li><div class="src-line"><a name="a81"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a82"></a> <span class="src-key">protected </span><a href="../Apache/Solr/Apache_Solr_Document.html#var$_fields">$_fields</a> = <span class="src-key">array</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a83"></a> </div></li> -<li><div class="src-line"><a name="a84"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a85"></a><span class="src-doc"> * Document field boost values, indexed by name</span></div></li> -<li><div class="src-line"><a name="a86"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a87"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@var </span><span class="src-doc-type">array </span><span class="src-doc">array of floats</span></div></li> -<li><div class="src-line"><a name="a88"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a89"></a> <span class="src-key">protected </span><a href="../Apache/Solr/Apache_Solr_Document.html#var$_fieldBoosts">$_fieldBoosts</a> = <span class="src-key">array</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a90"></a> </div></li> -<li><div class="src-line"><a name="a91"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a92"></a><span class="src-doc"> * Clear all boosts and fields from this document</span></div></li> -<li><div class="src-line"><a name="a93"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a94"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Document.html#methodclear">clear</a><span class="src-sym">(</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a95"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a96"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Document.html#var$_documentBoost">_documentBoost</a> = <span class="src-id">false</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a97"></a> </div></li> -<li><div class="src-line"><a name="a98"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Document.html#var$_fields">_fields</a> = <span class="src-key">array</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a99"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Document.html#var$_fieldBoosts">_fieldBoosts</a> = <span class="src-key">array</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a100"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a101"></a> </div></li> -<li><div class="src-line"><a name="a102"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a103"></a><span class="src-doc"> * Get current document boost</span></div></li> -<li><div class="src-line"><a name="a104"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a105"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">mixed </span><span class="src-doc">will be false for default, or else a float</span></div></li> -<li><div class="src-line"><a name="a106"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a107"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Document.html#methodgetBoost">getBoost</a><span class="src-sym">(</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a108"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a109"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Document.html#var$_documentBoost">_documentBoost</a><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a110"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a111"></a> </div></li> -<li><div class="src-line"><a name="a112"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a113"></a><span class="src-doc"> * Set document boost factor</span></div></li> -<li><div class="src-line"><a name="a114"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a115"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">mixed </span><span class="src-doc-var">$boost </span><span class="src-doc">Use false for default boost, else cast to float that should be > 0 or will be treated as false</span></div></li> -<li><div class="src-line"><a name="a116"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a117"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Document.html#methodsetBoost">setBoost</a><span class="src-sym">(</span><span class="src-var">$boost</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a118"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a119"></a> <span class="src-var">$boost </span>= (float) <span class="src-var">$boost</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a120"></a> </div></li> -<li><div class="src-line"><a name="a121"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$boost </span>> <span class="src-num">0.0</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a122"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a123"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Document.html#var$_documentBoost">_documentBoost</a> = <span class="src-var">$boost</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a124"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a125"></a> <span class="src-key">else</span></div></li> -<li><div class="src-line"><a name="a126"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a127"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Document.html#var$_documentBoost">_documentBoost</a> = <span class="src-id">false</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a128"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a129"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a130"></a> </div></li> -<li><div class="src-line"><a name="a131"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a132"></a><span class="src-doc"> * Add a value to a multi-valued field</span></div></li> -<li><div class="src-line"><a name="a133"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a134"></a><span class="src-doc"> * NOTE: the solr XML format allows you to specify boosts</span></div></li> -<li><div class="src-line"><a name="a135"></a><span class="src-doc"> * PER value even though the underlying Lucene implementation</span></div></li> -<li><div class="src-line"><a name="a136"></a><span class="src-doc"> * only allows a boost per field. To remedy this, the final</span></div></li> -<li><div class="src-line"><a name="a137"></a><span class="src-doc"> * field boost value will be the product of all specified boosts</span></div></li> -<li><div class="src-line"><a name="a138"></a><span class="src-doc"> * on field values - this is similar to SolrJ's functionality.</span></div></li> -<li><div class="src-line"><a name="a139"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a140"></a><span class="src-doc"> * <code></span></div></li> -<li><div class="src-line"><a name="a141"></a><span class="src-doc"> * $doc = new Apache_Solr_Document();</span></div></li> -<li><div class="src-line"><a name="a142"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a143"></a><span class="src-doc"> * $doc->addField('foo', 'bar', 2.0);</span></div></li> -<li><div class="src-line"><a name="a144"></a><span class="src-doc"> * $doc->addField('foo', 'baz', 3.0);</span></div></li> -<li><div class="src-line"><a name="a145"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a146"></a><span class="src-doc"> * // resultant field boost will be 6!</span></div></li> -<li><div class="src-line"><a name="a147"></a><span class="src-doc"> * echo $doc->getFieldBoost('foo');</span></div></li> -<li><div class="src-line"><a name="a148"></a><span class="src-doc"> * </code></span></div></li> -<li><div class="src-line"><a name="a149"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a150"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$key </span></div></li> -<li><div class="src-line"><a name="a151"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">mixed </span><span class="src-doc-var">$value </span></div></li> -<li><div class="src-line"><a name="a152"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">mixed </span><span class="src-doc-var">$boost </span><span class="src-doc">Use false for default boost, else cast to float that should be > 0 or will be treated as false</span></div></li> -<li><div class="src-line"><a name="a153"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a154"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Document.html#methodaddField">addField</a><span class="src-sym">(</span><span class="src-var">$key</span><span class="src-sym">, </span><span class="src-var">$value</span><span class="src-sym">, </span><span class="src-var">$boost </span>= <span class="src-id">false</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a155"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a156"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-sym">!</span>isset<span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Document.html#var$_fields">_fields</a><span class="src-sym">[</span><span class="src-var">$key</span><span class="src-sym">]</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a157"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a158"></a> <span class="src-comm">// create holding array if this is the first value</span></div></li> -<li><div class="src-line"><a name="a159"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Document.html#var$_fields">_fields</a><span class="src-sym">[</span><span class="src-var">$key</span><span class="src-sym">] </span>= <span class="src-key">array</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a160"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a161"></a> <span class="src-key">else </span><span class="src-key">if </span><span class="src-sym">(</span><span class="src-sym">!</span><a href="http://www.php.net/is_array">is_array</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Document.html#var$_fields">_fields</a><span class="src-sym">[</span><span class="src-var">$key</span><span class="src-sym">]</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a162"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a163"></a> <span class="src-comm">// move existing value into array if it is not already an array</span></div></li> -<li><div class="src-line"><a name="a164"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Document.html#var$_fields">_fields</a><span class="src-sym">[</span><span class="src-var">$key</span><span class="src-sym">] </span>= <span class="src-key">array</span><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Document.html#var$_fields">_fields</a><span class="src-sym">[</span><span class="src-var">$key</span><span class="src-sym">]</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a165"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a166"></a> </div></li> -<li><div class="src-line"><a name="a167"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Document.html#methodgetFieldBoost">getFieldBoost</a><span class="src-sym">(</span><span class="src-var">$key</span><span class="src-sym">) </span>=== <span class="src-id">false</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a168"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a169"></a> <span class="src-comm">// boost not already set, set it now</span></div></li> -<li><div class="src-line"><a name="a170"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Document.html#methodsetFieldBoost">setFieldBoost</a><span class="src-sym">(</span><span class="src-var">$key</span><span class="src-sym">, </span><span class="src-var">$boost</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a171"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a172"></a> <span class="src-key">else </span><span class="src-key">if </span><span class="src-sym">(</span>(float) <span class="src-var">$boost </span>> <span class="src-num">0.0</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a173"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a174"></a> <span class="src-comm">// multiply passed boost with current field boost - similar to SolrJ implementation</span></div></li> -<li><div class="src-line"><a name="a175"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Document.html#var$_fieldBoosts">_fieldBoosts</a><span class="src-sym">[</span><span class="src-var">$key</span><span class="src-sym">] </span>*= (float) <span class="src-var">$boost</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a176"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a177"></a> </div></li> -<li><div class="src-line"><a name="a178"></a> <span class="src-comm">// add value to array</span></div></li> -<li><div class="src-line"><a name="a179"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Document.html#var$_fields">_fields</a><span class="src-sym">[</span><span class="src-var">$key</span><span class="src-sym">]</span><span class="src-sym">[</span><span class="src-sym">] </span>= <span class="src-var">$value</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a180"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a181"></a> </div></li> -<li><div class="src-line"><a name="a182"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a183"></a><span class="src-doc"> * Handle the array manipulation for a multi-valued field</span></div></li> -<li><div class="src-line"><a name="a184"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a185"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$key </span></div></li> -<li><div class="src-line"><a name="a186"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$value </span></div></li> -<li><div class="src-line"><a name="a187"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">mixed </span><span class="src-doc-var">$boost </span><span class="src-doc">Use false for default boost, else cast to float that should be > 0 or will be treated as false</span></div></li> -<li><div class="src-line"><a name="a188"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a189"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@deprecated</span><span class="src-doc"> Use addField(...) instead</span></div></li> -<li><div class="src-line"><a name="a190"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a191"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Document.html#methodsetMultiValue">setMultiValue</a><span class="src-sym">(</span><span class="src-var">$key</span><span class="src-sym">, </span><span class="src-var">$value</span><span class="src-sym">, </span><span class="src-var">$boost </span>= <span class="src-id">false</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a192"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a193"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Document.html#methodaddField">addField</a><span class="src-sym">(</span><span class="src-var">$key</span><span class="src-sym">, </span><span class="src-var">$value</span><span class="src-sym">, </span><span class="src-var">$boost</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a194"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a195"></a> </div></li> -<li><div class="src-line"><a name="a196"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a197"></a><span class="src-doc"> * Get field information</span></div></li> -<li><div class="src-line"><a name="a198"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a199"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$key </span></div></li> -<li><div class="src-line"><a name="a200"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">mixed </span><span class="src-doc">associative array of info if field exists, false otherwise</span></div></li> -<li><div class="src-line"><a name="a201"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a202"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Document.html#methodgetField">getField</a><span class="src-sym">(</span><span class="src-var">$key</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a203"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a204"></a> <span class="src-key">if </span><span class="src-sym">(</span>isset<span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Document.html#var$_fields">_fields</a><span class="src-sym">[</span><span class="src-var">$key</span><span class="src-sym">]</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a205"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a206"></a> <span class="src-key">return </span><span class="src-key">array</span><span class="src-sym">(</span></div></li> -<li><div class="src-line"><a name="a207"></a> <span class="src-str">'name' </span>=> <span class="src-var">$key</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a208"></a> <span class="src-str">'value' </span>=> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Document.html#var$_fields">_fields</a><span class="src-sym">[</span><span class="src-var">$key</span><span class="src-sym">]</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a209"></a> <span class="src-str">'boost' </span>=> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Document.html#methodgetFieldBoost">getFieldBoost</a><span class="src-sym">(</span><span class="src-var">$key</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a210"></a> <span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a211"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a212"></a> </div></li> -<li><div class="src-line"><a name="a213"></a> <span class="src-key">return </span><span class="src-id">false</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a214"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a215"></a> </div></li> -<li><div class="src-line"><a name="a216"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a217"></a><span class="src-doc"> * Set a field value. Multi-valued fields should be set as arrays</span></div></li> -<li><div class="src-line"><a name="a218"></a><span class="src-doc"> * or instead use the addField(...) function which will automatically</span></div></li> -<li><div class="src-line"><a name="a219"></a><span class="src-doc"> * make sure the field is an array.</span></div></li> -<li><div class="src-line"><a name="a220"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a221"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$key </span></div></li> -<li><div class="src-line"><a name="a222"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">mixed </span><span class="src-doc-var">$value </span></div></li> -<li><div class="src-line"><a name="a223"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">mixed </span><span class="src-doc-var">$boost </span><span class="src-doc">Use false for default boost, else cast to float that should be > 0 or will be treated as false</span></div></li> -<li><div class="src-line"><a name="a224"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a225"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Document.html#methodsetField">setField</a><span class="src-sym">(</span><span class="src-var">$key</span><span class="src-sym">, </span><span class="src-var">$value</span><span class="src-sym">, </span><span class="src-var">$boost </span>= <span class="src-id">false</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a226"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a227"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Document.html#var$_fields">_fields</a><span class="src-sym">[</span><span class="src-var">$key</span><span class="src-sym">] </span>= <span class="src-var">$value</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a228"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Document.html#methodsetFieldBoost">setFieldBoost</a><span class="src-sym">(</span><span class="src-var">$key</span><span class="src-sym">, </span><span class="src-var">$boost</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a229"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a230"></a> </div></li> -<li><div class="src-line"><a name="a231"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a232"></a><span class="src-doc"> * Get the currently set field boost for a document field</span></div></li> -<li><div class="src-line"><a name="a233"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a234"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$key </span></div></li> -<li><div class="src-line"><a name="a235"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">float </span><span class="src-doc">currently set field boost, false if one is not set</span></div></li> -<li><div class="src-line"><a name="a236"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a237"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Document.html#methodgetFieldBoost">getFieldBoost</a><span class="src-sym">(</span><span class="src-var">$key</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a238"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a239"></a> <span class="src-key">return </span>isset<span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Document.html#var$_fieldBoosts">_fieldBoosts</a><span class="src-sym">[</span><span class="src-var">$key</span><span class="src-sym">]</span><span class="src-sym">) </span>? <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Document.html#var$_fieldBoosts">_fieldBoosts</a><span class="src-sym">[</span><span class="src-var">$key</span><span class="src-sym">] </span>: <span class="src-id">false</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a240"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a241"></a> </div></li> -<li><div class="src-line"><a name="a242"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a243"></a><span class="src-doc"> * Set the field boost for a document field</span></div></li> -<li><div class="src-line"><a name="a244"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a245"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$key </span><span class="src-doc">field name for the boost</span></div></li> -<li><div class="src-line"><a name="a246"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">mixed </span><span class="src-doc-var">$boost </span><span class="src-doc">Use false for default boost, else cast to float that should be > 0 or will be treated as false</span></div></li> -<li><div class="src-line"><a name="a247"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a248"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Document.html#methodsetFieldBoost">setFieldBoost</a><span class="src-sym">(</span><span class="src-var">$key</span><span class="src-sym">, </span><span class="src-var">$boost</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a249"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a250"></a> <span class="src-var">$boost </span>= (float) <span class="src-var">$boost</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a251"></a> </div></li> -<li><div class="src-line"><a name="a252"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$boost </span>> <span class="src-num">0.0</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a253"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a254"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Document.html#var$_fieldBoosts">_fieldBoosts</a><span class="src-sym">[</span><span class="src-var">$key</span><span class="src-sym">] </span>= <span class="src-var">$boost</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a255"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a256"></a> <span class="src-key">else</span></div></li> -<li><div class="src-line"><a name="a257"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a258"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Document.html#var$_fieldBoosts">_fieldBoosts</a><span class="src-sym">[</span><span class="src-var">$key</span><span class="src-sym">] </span>= <span class="src-id">false</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a259"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a260"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a261"></a> </div></li> -<li><div class="src-line"><a name="a262"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a263"></a><span class="src-doc"> * Return current field boosts, indexed by field name</span></div></li> -<li><div class="src-line"><a name="a264"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a265"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">array </span></div></li> -<li><div class="src-line"><a name="a266"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a267"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Document.html#methodgetFieldBoosts">getFieldBoosts</a><span class="src-sym">(</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a268"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a269"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Document.html#var$_fieldBoosts">_fieldBoosts</a><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a270"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a271"></a> </div></li> -<li><div class="src-line"><a name="a272"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a273"></a><span class="src-doc"> * Get the names of all fields in this document</span></div></li> -<li><div class="src-line"><a name="a274"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a275"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">array </span></div></li> -<li><div class="src-line"><a name="a276"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a277"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Document.html#methodgetFieldNames">getFieldNames</a><span class="src-sym">(</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a278"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a279"></a> <span class="src-key">return </span><a href="http://www.php.net/array_keys">array_keys</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Document.html#var$_fields">_fields</a><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a280"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a281"></a> </div></li> -<li><div class="src-line"><a name="a282"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a283"></a><span class="src-doc"> * Get the values of all fields in this document</span></div></li> -<li><div class="src-line"><a name="a284"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a285"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">array </span></div></li> -<li><div class="src-line"><a name="a286"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a287"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Document.html#methodgetFieldValues">getFieldValues</a><span class="src-sym">(</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a288"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a289"></a> <span class="src-key">return </span><a href="http://www.php.net/array_values">array_values</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Document.html#var$_fields">_fields</a><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a290"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a291"></a> </div></li> -<li><div class="src-line"><a name="a292"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a293"></a><span class="src-doc"> * IteratorAggregate implementation function. Allows usage:</span></div></li> -<li><div class="src-line"><a name="a294"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a295"></a><span class="src-doc"> * <code></span></div></li> -<li><div class="src-line"><a name="a296"></a><span class="src-doc"> * foreach ($document as $key => $value)</span></div></li> -<li><div class="src-line"><a name="a297"></a><span class="src-doc"> * {</span></div></li> -<li><div class="src-line"><a name="a298"></a><span class="src-doc"> * ...</span></div></li> -<li><div class="src-line"><a name="a299"></a><span class="src-doc"> * }</span></div></li> -<li><div class="src-line"><a name="a300"></a><span class="src-doc"> * </code></span></div></li> -<li><div class="src-line"><a name="a301"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a302"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Document.html#methodgetIterator">getIterator</a><span class="src-sym">(</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a303"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a304"></a> <span class="src-var">$arrayObject </span>= <span class="src-key">new </span><span class="src-id">ArrayObject</span><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Document.html#var$_fields">_fields</a><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a305"></a> </div></li> -<li><div class="src-line"><a name="a306"></a> <span class="src-key">return </span><span class="src-var">$arrayObject</span><span class="src-sym">-></span><span class="src-id">getIterator</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a307"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a308"></a> </div></li> -<li><div class="src-line"><a name="a309"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a310"></a><span class="src-doc"> * Magic get for field values</span></div></li> -<li><div class="src-line"><a name="a311"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a312"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$key </span></div></li> -<li><div class="src-line"><a name="a313"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">mixed </span></div></li> -<li><div class="src-line"><a name="a314"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a315"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Document.html#method__get">__get</a><span class="src-sym">(</span><span class="src-var">$key</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a316"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a317"></a> <span class="src-key">if </span><span class="src-sym">(</span>isset<span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Document.html#var$_fields">_fields</a><span class="src-sym">[</span><span class="src-var">$key</span><span class="src-sym">]</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a318"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a319"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Document.html#var$_fields">_fields</a><span class="src-sym">[</span><span class="src-var">$key</span><span class="src-sym">]</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a320"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a321"></a> </div></li> -<li><div class="src-line"><a name="a322"></a> <span class="src-key">return </span><span class="src-id">null</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a323"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a324"></a> </div></li> -<li><div class="src-line"><a name="a325"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a326"></a><span class="src-doc"> * Magic set for field values. Multi-valued fields should be set as arrays</span></div></li> -<li><div class="src-line"><a name="a327"></a><span class="src-doc"> * or instead use the addField(...) function which will automatically</span></div></li> -<li><div class="src-line"><a name="a328"></a><span class="src-doc"> * make sure the field is an array.</span></div></li> -<li><div class="src-line"><a name="a329"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a330"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$key </span></div></li> -<li><div class="src-line"><a name="a331"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">mixed </span><span class="src-doc-var">$value </span></div></li> -<li><div class="src-line"><a name="a332"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a333"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Document.html#method__set">__set</a><span class="src-sym">(</span><span class="src-var">$key</span><span class="src-sym">, </span><span class="src-var">$value</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a334"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a335"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Document.html#methodsetField">setField</a><span class="src-sym">(</span><span class="src-var">$key</span><span class="src-sym">, </span><span class="src-var">$value</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a336"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a337"></a> </div></li> -<li><div class="src-line"><a name="a338"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a339"></a><span class="src-doc"> * Magic isset for fields values. Do not call directly. Allows usage:</span></div></li> -<li><div class="src-line"><a name="a340"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a341"></a><span class="src-doc"> * <code></span></div></li> -<li><div class="src-line"><a name="a342"></a><span class="src-doc"> * isset($document->some_field);</span></div></li> -<li><div class="src-line"><a name="a343"></a><span class="src-doc"> * </code></span></div></li> -<li><div class="src-line"><a name="a344"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a345"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$key </span></div></li> -<li><div class="src-line"><a name="a346"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">boolean </span></div></li> -<li><div class="src-line"><a name="a347"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a348"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Document.html#method__isset">__isset</a><span class="src-sym">(</span><span class="src-var">$key</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a349"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a350"></a> <span class="src-key">return </span>isset<span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Document.html#var$_fields">_fields</a><span class="src-sym">[</span><span class="src-var">$key</span><span class="src-sym">]</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a351"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a352"></a> </div></li> -<li><div class="src-line"><a name="a353"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a354"></a><span class="src-doc"> * Magic unset for field values. Do not call directly. Allows usage:</span></div></li> -<li><div class="src-line"><a name="a355"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a356"></a><span class="src-doc"> * <code></span></div></li> -<li><div class="src-line"><a name="a357"></a><span class="src-doc"> * unset($document->some_field);</span></div></li> -<li><div class="src-line"><a name="a358"></a><span class="src-doc"> * </code></span></div></li> -<li><div class="src-line"><a name="a359"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a360"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$key </span></div></li> -<li><div class="src-line"><a name="a361"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a362"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Document.html#method__unset">__unset</a><span class="src-sym">(</span><span class="src-var">$key</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a363"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a364"></a> unset<span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Document.html#var$_fields">_fields</a><span class="src-sym">[</span><span class="src-var">$key</span><span class="src-sym">]</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a365"></a> unset<span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Document.html#var$_fieldBoosts">_fieldBoosts</a><span class="src-sym">[</span><span class="src-var">$key</span><span class="src-sym">]</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a366"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a367"></a><span class="src-sym">}</span></div></li> -</ol></div> -</div> - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:13 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_Exception.php.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_Exception.php.html deleted file mode 100644 index 956888b32aa04964c16b8330b064513e4cde479c..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_Exception.php.html +++ /dev/null @@ -1,70 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>File Source for Exception.php</title> - <link rel="stylesheet" href="../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <h1>Source for file Exception.php</h1> -<p>Documentation is available at <a href="../Apache/Solr/_Exception.php.html">Exception.php</a></p> -<div class="src-code"> -<div class="src-code"><ol><li><div class="src-line"><a name="a1"></a><span class="src-php"><?php</span></div></li> -<li><div class="src-line"><a name="a2"></a><span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a3"></a><span class="src-doc"> * Copyright (c) 2007-2011, Servigistics, Inc.</span></div></li> -<li><div class="src-line"><a name="a4"></a><span class="src-doc"> * All rights reserved.</span></div></li> -<li><div class="src-line"><a name="a5"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a6"></a><span class="src-doc"> * Redistribution and use in source and binary forms, with or without</span></div></li> -<li><div class="src-line"><a name="a7"></a><span class="src-doc"> * modification, are permitted provided that the following conditions are met:</span></div></li> -<li><div class="src-line"><a name="a8"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a9"></a><span class="src-doc"> * - Redistributions of source code must retain the above copyright notice,</span></div></li> -<li><div class="src-line"><a name="a10"></a><span class="src-doc"> * this list of conditions and the following disclaimer.</span></div></li> -<li><div class="src-line"><a name="a11"></a><span class="src-doc"> * - Redistributions in binary form must reproduce the above copyright</span></div></li> -<li><div class="src-line"><a name="a12"></a><span class="src-doc"> * notice, this list of conditions and the following disclaimer in the</span></div></li> -<li><div class="src-line"><a name="a13"></a><span class="src-doc"> * documentation and/or other materials provided with the distribution.</span></div></li> -<li><div class="src-line"><a name="a14"></a><span class="src-doc"> * - Neither the name of Servigistics, Inc. nor the names of</span></div></li> -<li><div class="src-line"><a name="a15"></a><span class="src-doc"> * its contributors may be used to endorse or promote products derived from</span></div></li> -<li><div class="src-line"><a name="a16"></a><span class="src-doc"> * this software without specific prior written permission.</span></div></li> -<li><div class="src-line"><a name="a17"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a18"></a><span class="src-doc"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span></div></li> -<li><div class="src-line"><a name="a19"></a><span class="src-doc"> * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div></li> -<li><div class="src-line"><a name="a20"></a><span class="src-doc"> * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span></div></li> -<li><div class="src-line"><a name="a21"></a><span class="src-doc"> * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span></div></li> -<li><div class="src-line"><a name="a22"></a><span class="src-doc"> * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span></div></li> -<li><div class="src-line"><a name="a23"></a><span class="src-doc"> * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span></div></li> -<li><div class="src-line"><a name="a24"></a><span class="src-doc"> * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span></div></li> -<li><div class="src-line"><a name="a25"></a><span class="src-doc"> * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span></div></li> -<li><div class="src-line"><a name="a26"></a><span class="src-doc"> * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span></div></li> -<li><div class="src-line"><a name="a27"></a><span class="src-doc"> * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE</span></div></li> -<li><div class="src-line"><a name="a28"></a><span class="src-doc"> * POSSIBILITY OF SUCH DAMAGE.</span></div></li> -<li><div class="src-line"><a name="a29"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a30"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@copyright</span><span class="src-doc"> Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com)</span></div></li> -<li><div class="src-line"><a name="a31"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@license</span><span class="src-doc"> http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD</span></div></li> -<li><div class="src-line"><a name="a32"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@version</span><span class="src-doc"> $Id: Exception.php 54 2011-02-04 16:29:18Z donovan.jimenez $</span></div></li> -<li><div class="src-line"><a name="a33"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a34"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@package</span><span class="src-doc"> Apache</span></div></li> -<li><div class="src-line"><a name="a35"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@subpackage</span><span class="src-doc"> Solr</span></div></li> -<li><div class="src-line"><a name="a36"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@author</span><span class="src-doc"> Donovan Jimenez <djimenez@conduit-it.com></span></div></li> -<li><div class="src-line"><a name="a37"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a38"></a> </div></li> -<li><div class="src-line"><a name="a39"></a><span class="src-key">class </span><a href="../Apache/Solr/Apache_Solr_Exception.html">Apache_Solr_Exception</a> <span class="src-key">extends </span><span class="src-id">Exception</span></div></li> -<li><div class="src-line"><a name="a40"></a><span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a41"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a42"></a><span class="src-doc"> * SVN Revision meta data for this class</span></div></li> -<li><div class="src-line"><a name="a43"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a44"></a> <span class="src-key">const </span><a href="../Apache/Solr/Apache_Solr_Exception.html#constSVN_REVISION">SVN_REVISION</a> = <span class="src-str">'$Revision: 54 $'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a45"></a> </div></li> -<li><div class="src-line"><a name="a46"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a47"></a><span class="src-doc"> * SVN ID meta data for this class</span></div></li> -<li><div class="src-line"><a name="a48"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a49"></a> <span class="src-key">const </span><a href="../Apache/Solr/Apache_Solr_Exception.html#constSVN_ID">SVN_ID</a> = <span class="src-str">'$Id: Exception.php 54 2011-02-04 16:29:18Z donovan.jimenez $'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a50"></a><span class="src-sym">}</span></div></li> -</ol></div> -</div> - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:13 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_HttpTransportAbstract.php.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_HttpTransportAbstract.php.html deleted file mode 100644 index 0641914cd566d4681703694727bd553f78a3e89a..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_HttpTransportAbstract.php.html +++ /dev/null @@ -1,109 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>File Source for Abstract.php</title> - <link rel="stylesheet" href="../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <h1>Source for file Abstract.php</h1> -<p>Documentation is available at <a href="../Apache/Solr/_HttpTransport---Abstract.php.html">Abstract.php</a></p> -<div class="src-code"> -<div class="src-code"><ol><li><div class="src-line"><a name="a1"></a><span class="src-php"><?php</span></div></li> -<li><div class="src-line"><a name="a2"></a><span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a3"></a><span class="src-doc"> * Copyright (c) 2007-2011, Servigistics, Inc.</span></div></li> -<li><div class="src-line"><a name="a4"></a><span class="src-doc"> * All rights reserved.</span></div></li> -<li><div class="src-line"><a name="a5"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a6"></a><span class="src-doc"> * Redistribution and use in source and binary forms, with or without</span></div></li> -<li><div class="src-line"><a name="a7"></a><span class="src-doc"> * modification, are permitted provided that the following conditions are met:</span></div></li> -<li><div class="src-line"><a name="a8"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a9"></a><span class="src-doc"> * - Redistributions of source code must retain the above copyright notice,</span></div></li> -<li><div class="src-line"><a name="a10"></a><span class="src-doc"> * this list of conditions and the following disclaimer.</span></div></li> -<li><div class="src-line"><a name="a11"></a><span class="src-doc"> * - Redistributions in binary form must reproduce the above copyright</span></div></li> -<li><div class="src-line"><a name="a12"></a><span class="src-doc"> * notice, this list of conditions and the following disclaimer in the</span></div></li> -<li><div class="src-line"><a name="a13"></a><span class="src-doc"> * documentation and/or other materials provided with the distribution.</span></div></li> -<li><div class="src-line"><a name="a14"></a><span class="src-doc"> * - Neither the name of Servigistics, Inc. nor the names of</span></div></li> -<li><div class="src-line"><a name="a15"></a><span class="src-doc"> * its contributors may be used to endorse or promote products derived from</span></div></li> -<li><div class="src-line"><a name="a16"></a><span class="src-doc"> * this software without specific prior written permission.</span></div></li> -<li><div class="src-line"><a name="a17"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a18"></a><span class="src-doc"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span></div></li> -<li><div class="src-line"><a name="a19"></a><span class="src-doc"> * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div></li> -<li><div class="src-line"><a name="a20"></a><span class="src-doc"> * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span></div></li> -<li><div class="src-line"><a name="a21"></a><span class="src-doc"> * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span></div></li> -<li><div class="src-line"><a name="a22"></a><span class="src-doc"> * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span></div></li> -<li><div class="src-line"><a name="a23"></a><span class="src-doc"> * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span></div></li> -<li><div class="src-line"><a name="a24"></a><span class="src-doc"> * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span></div></li> -<li><div class="src-line"><a name="a25"></a><span class="src-doc"> * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span></div></li> -<li><div class="src-line"><a name="a26"></a><span class="src-doc"> * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span></div></li> -<li><div class="src-line"><a name="a27"></a><span class="src-doc"> * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE</span></div></li> -<li><div class="src-line"><a name="a28"></a><span class="src-doc"> * POSSIBILITY OF SUCH DAMAGE.</span></div></li> -<li><div class="src-line"><a name="a29"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a30"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@copyright</span><span class="src-doc"> Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com)</span></div></li> -<li><div class="src-line"><a name="a31"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@license</span><span class="src-doc"> http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD</span></div></li> -<li><div class="src-line"><a name="a32"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@version</span><span class="src-doc"> $Id: $</span></div></li> -<li><div class="src-line"><a name="a33"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a34"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@package</span><span class="src-doc"> Apache</span></div></li> -<li><div class="src-line"><a name="a35"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@subpackage</span><span class="src-doc"> Solr</span></div></li> -<li><div class="src-line"><a name="a36"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@author</span><span class="src-doc"> Timo Schmidt <timo.schmidt@aoemedia.de>, Donovan Jimenez <djimenez@conduit-it.com></span></div></li> -<li><div class="src-line"><a name="a37"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a38"></a> </div></li> -<li><div class="src-line"><a name="a39"></a><span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a40"></a><span class="src-doc"> * Convenience class that implements the transport implementation. Can be extended by</span></div></li> -<li><div class="src-line"><a name="a41"></a><span class="src-doc"> * real implementations to do some of the common book keeping</span></div></li> -<li><div class="src-line"><a name="a42"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a43"></a><span class="src-key">abstract </span><span class="src-key">class </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Abstract.html">Apache_Solr_HttpTransport_Abstract</a> <span class="src-key">implements </span><span class="src-id">Apache_Solr_HttpTransport_Interface</span></div></li> -<li><div class="src-line"><a name="a44"></a><span class="src-sym">{ </span></div></li> -<li><div class="src-line"><a name="a45"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a46"></a><span class="src-doc"> * Our default timeout value for requests that don't specify a timeout</span></div></li> -<li><div class="src-line"><a name="a47"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a48"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@var </span><span class="src-doc-type">float </span></div></li> -<li><div class="src-line"><a name="a49"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a50"></a> <span class="src-key">private </span><span class="src-var">$_defaultTimeout </span>= <span class="src-id">false</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a51"></a> </div></li> -<li><div class="src-line"><a name="a52"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a53"></a><span class="src-doc"> * Get the current default timeout setting (initially the default_socket_timeout ini setting)</span></div></li> -<li><div class="src-line"><a name="a54"></a><span class="src-doc"> * in seconds</span></div></li> -<li><div class="src-line"><a name="a55"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a56"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">float </span></div></li> -<li><div class="src-line"><a name="a57"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a58"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Abstract.html#methodgetDefaultTimeout">getDefaultTimeout</a><span class="src-sym">(</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a59"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a60"></a> <span class="src-comm">// lazy load the default timeout from the ini settings</span></div></li> -<li><div class="src-line"><a name="a61"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_defaultTimeout </span>=== <span class="src-id">false</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a62"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a63"></a> <span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_defaultTimeout </span>= (int) <a href="http://www.php.net/ini_get">ini_get</a><span class="src-sym">(</span><span class="src-str">'default_socket_timeout'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a64"></a> </div></li> -<li><div class="src-line"><a name="a65"></a> <span class="src-comm">// double check we didn't get 0 for a timeout</span></div></li> -<li><div class="src-line"><a name="a66"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_defaultTimeout </span><= <span class="src-num">0</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a67"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a68"></a> <span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_defaultTimeout </span>= <span class="src-num">60</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a69"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a70"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a71"></a> </div></li> -<li><div class="src-line"><a name="a72"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_defaultTimeout</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a73"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a74"></a> </div></li> -<li><div class="src-line"><a name="a75"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a76"></a><span class="src-doc"> * Set the current default timeout for all HTTP requests</span></div></li> -<li><div class="src-line"><a name="a77"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a78"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">float </span><span class="src-doc-var">$timeout </span></div></li> -<li><div class="src-line"><a name="a79"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a80"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Abstract.html#methodsetDefaultTimeout">setDefaultTimeout</a><span class="src-sym">(</span><span class="src-var">$timeout</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a81"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a82"></a> <span class="src-var">$timeout </span>= (float) <span class="src-var">$timeout</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a83"></a> </div></li> -<li><div class="src-line"><a name="a84"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$timeout </span>>= <span class="src-num">0</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a85"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a86"></a> <span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_defaultTimeout </span>= <span class="src-var">$timeout</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a87"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a88"></a> <span class="src-sym">} </span></div></li> -<li><div class="src-line"><a name="a89"></a><span class="src-sym">}</span></div></li> -</ol></div> -</div> - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:08 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_HttpTransportCurl.php.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_HttpTransportCurl.php.html deleted file mode 100644 index c24897943ee636327cb378a6c840cab0adff78dc..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_HttpTransportCurl.php.html +++ /dev/null @@ -1,218 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>File Source for Curl.php</title> - <link rel="stylesheet" href="../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <h1>Source for file Curl.php</h1> -<p>Documentation is available at <a href="../Apache/Solr/_HttpTransport---Curl.php.html">Curl.php</a></p> -<div class="src-code"> -<div class="src-code"><ol><li><div class="src-line"><a name="a1"></a><span class="src-php"><?php</span></div></li> -<li><div class="src-line"><a name="a2"></a><span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a3"></a><span class="src-doc"> * Copyright (c) 2007-2011, Servigistics, Inc.</span></div></li> -<li><div class="src-line"><a name="a4"></a><span class="src-doc"> * All rights reserved.</span></div></li> -<li><div class="src-line"><a name="a5"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a6"></a><span class="src-doc"> * Redistribution and use in source and binary forms, with or without</span></div></li> -<li><div class="src-line"><a name="a7"></a><span class="src-doc"> * modification, are permitted provided that the following conditions are met:</span></div></li> -<li><div class="src-line"><a name="a8"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a9"></a><span class="src-doc"> * - Redistributions of source code must retain the above copyright notice,</span></div></li> -<li><div class="src-line"><a name="a10"></a><span class="src-doc"> * this list of conditions and the following disclaimer.</span></div></li> -<li><div class="src-line"><a name="a11"></a><span class="src-doc"> * - Redistributions in binary form must reproduce the above copyright</span></div></li> -<li><div class="src-line"><a name="a12"></a><span class="src-doc"> * notice, this list of conditions and the following disclaimer in the</span></div></li> -<li><div class="src-line"><a name="a13"></a><span class="src-doc"> * documentation and/or other materials provided with the distribution.</span></div></li> -<li><div class="src-line"><a name="a14"></a><span class="src-doc"> * - Neither the name of Servigistics, Inc. nor the names of</span></div></li> -<li><div class="src-line"><a name="a15"></a><span class="src-doc"> * its contributors may be used to endorse or promote products derived from</span></div></li> -<li><div class="src-line"><a name="a16"></a><span class="src-doc"> * this software without specific prior written permission.</span></div></li> -<li><div class="src-line"><a name="a17"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a18"></a><span class="src-doc"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span></div></li> -<li><div class="src-line"><a name="a19"></a><span class="src-doc"> * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div></li> -<li><div class="src-line"><a name="a20"></a><span class="src-doc"> * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span></div></li> -<li><div class="src-line"><a name="a21"></a><span class="src-doc"> * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span></div></li> -<li><div class="src-line"><a name="a22"></a><span class="src-doc"> * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span></div></li> -<li><div class="src-line"><a name="a23"></a><span class="src-doc"> * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span></div></li> -<li><div class="src-line"><a name="a24"></a><span class="src-doc"> * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span></div></li> -<li><div class="src-line"><a name="a25"></a><span class="src-doc"> * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span></div></li> -<li><div class="src-line"><a name="a26"></a><span class="src-doc"> * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span></div></li> -<li><div class="src-line"><a name="a27"></a><span class="src-doc"> * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE</span></div></li> -<li><div class="src-line"><a name="a28"></a><span class="src-doc"> * POSSIBILITY OF SUCH DAMAGE.</span></div></li> -<li><div class="src-line"><a name="a29"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a30"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@copyright</span><span class="src-doc"> Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com)</span></div></li> -<li><div class="src-line"><a name="a31"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@license</span><span class="src-doc"> http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD</span></div></li> -<li><div class="src-line"><a name="a32"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@version</span><span class="src-doc"> $Id: $</span></div></li> -<li><div class="src-line"><a name="a33"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a34"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@package</span><span class="src-doc"> Apache</span></div></li> -<li><div class="src-line"><a name="a35"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@subpackage</span><span class="src-doc"> Solr</span></div></li> -<li><div class="src-line"><a name="a36"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@author</span><span class="src-doc"> Timo Schmidt <timo.schmidt@aoemedia.de>, Donovan Jimenez <djimenez@conduit-it.com></span></div></li> -<li><div class="src-line"><a name="a37"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a38"></a> </div></li> -<li><div class="src-line"><a name="a39"></a><span class="src-comm">// Require Apache_Solr_HttpTransport_Abstract</span></div></li> -<li><div class="src-line"><a name="a40"></a><span class="src-inc">require_once</span><span class="src-sym">(</span><span class="src-id">dirname</span><span class="src-sym">(</span>__FILE__<span class="src-sym">) </span>. <span class="src-str">'/Abstract.php'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a41"></a> </div></li> -<li><div class="src-line"><a name="a42"></a><span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a43"></a><span class="src-doc"> * A Curl based HTTP transport. Uses a single curl session for all requests.</span></div></li> -<li><div class="src-line"><a name="a44"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a45"></a><span class="src-key">class </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Curl.html">Apache_Solr_HttpTransport_Curl</a> <span class="src-key">extends </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Abstract.html">Apache_Solr_HttpTransport_Abstract</a></div></li> -<li><div class="src-line"><a name="a46"></a><span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a47"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a48"></a><span class="src-doc"> * SVN Revision meta data for this class</span></div></li> -<li><div class="src-line"><a name="a49"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a50"></a> <span class="src-key">const </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Curl.html#constSVN_REVISION">SVN_REVISION</a> = <span class="src-str">'$Revision:$'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a51"></a> </div></li> -<li><div class="src-line"><a name="a52"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a53"></a><span class="src-doc"> * SVN ID meta data for this class</span></div></li> -<li><div class="src-line"><a name="a54"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a55"></a> <span class="src-key">const </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Curl.html#constSVN_ID">SVN_ID</a> = <span class="src-str">'$Id:$'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a56"></a> </div></li> -<li><div class="src-line"><a name="a57"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a58"></a><span class="src-doc"> * Curl Session Handle</span></div></li> -<li><div class="src-line"><a name="a59"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a60"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@var </span><span class="src-doc-type">resource </span></div></li> -<li><div class="src-line"><a name="a61"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a62"></a> <span class="src-key">private </span><span class="src-var">$_curl</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a63"></a> </div></li> -<li><div class="src-line"><a name="a64"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a65"></a><span class="src-doc"> * Initializes a curl session</span></div></li> -<li><div class="src-line"><a name="a66"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a67"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Curl.html#method__construct">__construct</a><span class="src-sym">(</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a68"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a69"></a> <span class="src-comm">// initialize a CURL session</span></div></li> -<li><div class="src-line"><a name="a70"></a> <span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_curl </span>= <a href="http://www.php.net/curl_init">curl_init</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a71"></a> </div></li> -<li><div class="src-line"><a name="a72"></a> <span class="src-comm">// set common options that will not be changed during the session</span></div></li> -<li><div class="src-line"><a name="a73"></a> <a href="http://www.php.net/curl_setopt_array">curl_setopt_array</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_curl</span><span class="src-sym">, </span><span class="src-key">array</span><span class="src-sym">(</span></div></li> -<li><div class="src-line"><a name="a74"></a> <span class="src-comm">// return the response body from curl_exec</span></div></li> -<li><div class="src-line"><a name="a75"></a> <span class="src-id">CURLOPT_RETURNTRANSFER </span>=> <span class="src-id">true</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a76"></a> </div></li> -<li><div class="src-line"><a name="a77"></a> <span class="src-comm">// get the output as binary data</span></div></li> -<li><div class="src-line"><a name="a78"></a> <span class="src-id">CURLOPT_BINARYTRANSFER </span>=> <span class="src-id">true</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a79"></a> </div></li> -<li><div class="src-line"><a name="a80"></a> <span class="src-comm">// we do not need the headers in the output, we get everything we need from curl_getinfo</span></div></li> -<li><div class="src-line"><a name="a81"></a> <span class="src-id">CURLOPT_HEADER </span>=> <span class="src-id">false</span></div></li> -<li><div class="src-line"><a name="a82"></a> <span class="src-sym">))</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a83"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a84"></a> </div></li> -<li><div class="src-line"><a name="a85"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a86"></a><span class="src-doc"> * Closes a curl session</span></div></li> -<li><div class="src-line"><a name="a87"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a88"></a> <span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Curl.html#method__destruct">__destruct</a><span class="src-sym">(</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a89"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a90"></a> <span class="src-comm">// close our curl session</span></div></li> -<li><div class="src-line"><a name="a91"></a> <a href="http://www.php.net/curl_close">curl_close</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_curl</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a92"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a93"></a> </div></li> -<li><div class="src-line"><a name="a94"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Curl.html#methodperformGetRequest">performGetRequest</a><span class="src-sym">(</span><span class="src-var">$url</span><span class="src-sym">, </span><span class="src-var">$timeout </span>= <span class="src-id">false</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a95"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a96"></a> <span class="src-comm">// check the timeout value</span></div></li> -<li><div class="src-line"><a name="a97"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$timeout </span>=== <span class="src-id">false </span>|| <span class="src-var">$timeout </span><= <span class="src-num">0.0</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a98"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a99"></a> <span class="src-comm">// use the default timeout</span></div></li> -<li><div class="src-line"><a name="a100"></a> <span class="src-var">$timeout </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Abstract.html#methodgetDefaultTimeout">getDefaultTimeout</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a101"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a102"></a> </div></li> -<li><div class="src-line"><a name="a103"></a> <span class="src-comm">// set curl GET options</span></div></li> -<li><div class="src-line"><a name="a104"></a> <a href="http://www.php.net/curl_setopt_array">curl_setopt_array</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_curl</span><span class="src-sym">, </span><span class="src-key">array</span><span class="src-sym">(</span></div></li> -<li><div class="src-line"><a name="a105"></a> <span class="src-comm">// make sure we're returning the body</span></div></li> -<li><div class="src-line"><a name="a106"></a> <span class="src-id">CURLOPT_NOBODY </span>=> <span class="src-id">false</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a107"></a> </div></li> -<li><div class="src-line"><a name="a108"></a> <span class="src-comm">// make sure we're GET</span></div></li> -<li><div class="src-line"><a name="a109"></a> <span class="src-id">CURLOPT_HTTPGET </span>=> <span class="src-id">true</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a110"></a> </div></li> -<li><div class="src-line"><a name="a111"></a> <span class="src-comm">// set the URL</span></div></li> -<li><div class="src-line"><a name="a112"></a> <span class="src-id">CURLOPT_URL </span>=> <span class="src-var">$url</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a113"></a> </div></li> -<li><div class="src-line"><a name="a114"></a> <span class="src-comm">// set the timeout</span></div></li> -<li><div class="src-line"><a name="a115"></a> <span class="src-id">CURLOPT_TIMEOUT </span>=> <span class="src-var">$timeout</span></div></li> -<li><div class="src-line"><a name="a116"></a> <span class="src-sym">))</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a117"></a> </div></li> -<li><div class="src-line"><a name="a118"></a> <span class="src-comm">// make the request</span></div></li> -<li><div class="src-line"><a name="a119"></a> <span class="src-var">$responseBody </span>= <a href="http://www.php.net/curl_exec">curl_exec</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_curl</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a120"></a> </div></li> -<li><div class="src-line"><a name="a121"></a> <span class="src-comm">// get info from the transfer</span></div></li> -<li><div class="src-line"><a name="a122"></a> <span class="src-var">$statusCode </span>= <a href="http://www.php.net/curl_getinfo">curl_getinfo</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_curl</span><span class="src-sym">, </span><span class="src-id">CURLINFO_HTTP_CODE</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a123"></a> <span class="src-var">$contentType </span>= <a href="http://www.php.net/curl_getinfo">curl_getinfo</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_curl</span><span class="src-sym">, </span><span class="src-id">CURLINFO_CONTENT_TYPE</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a124"></a> </div></li> -<li><div class="src-line"><a name="a125"></a> <span class="src-key">return </span><span class="src-key">new </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_HttpTransport_Response.html">Apache_Solr_HttpTransport_Response</a></span><span class="src-sym">(</span><span class="src-var">$statusCode</span><span class="src-sym">, </span><span class="src-var">$contentType</span><span class="src-sym">, </span><span class="src-var">$responseBody</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a126"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a127"></a> </div></li> -<li><div class="src-line"><a name="a128"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Curl.html#methodperformHeadRequest">performHeadRequest</a><span class="src-sym">(</span><span class="src-var">$url</span><span class="src-sym">, </span><span class="src-var">$timeout </span>= <span class="src-id">false</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a129"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a130"></a> <span class="src-comm">// check the timeout value</span></div></li> -<li><div class="src-line"><a name="a131"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$timeout </span>=== <span class="src-id">false </span>|| <span class="src-var">$timeout </span><= <span class="src-num">0.0</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a132"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a133"></a> <span class="src-comm">// use the default timeout</span></div></li> -<li><div class="src-line"><a name="a134"></a> <span class="src-var">$timeout </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Abstract.html#methodgetDefaultTimeout">getDefaultTimeout</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a135"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a136"></a> </div></li> -<li><div class="src-line"><a name="a137"></a> <span class="src-comm">// set curl HEAD options</span></div></li> -<li><div class="src-line"><a name="a138"></a> <a href="http://www.php.net/curl_setopt_array">curl_setopt_array</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_curl</span><span class="src-sym">, </span><span class="src-key">array</span><span class="src-sym">(</span></div></li> -<li><div class="src-line"><a name="a139"></a> <span class="src-comm">// this both sets the method to HEAD and says not to return a body</span></div></li> -<li><div class="src-line"><a name="a140"></a> <span class="src-id">CURLOPT_NOBODY </span>=> <span class="src-id">true</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a141"></a> </div></li> -<li><div class="src-line"><a name="a142"></a> <span class="src-comm">// set the URL</span></div></li> -<li><div class="src-line"><a name="a143"></a> <span class="src-id">CURLOPT_URL </span>=> <span class="src-var">$url</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a144"></a> </div></li> -<li><div class="src-line"><a name="a145"></a> <span class="src-comm">// set the timeout</span></div></li> -<li><div class="src-line"><a name="a146"></a> <span class="src-id">CURLOPT_TIMEOUT </span>=> <span class="src-var">$timeout</span></div></li> -<li><div class="src-line"><a name="a147"></a> <span class="src-sym">))</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a148"></a> </div></li> -<li><div class="src-line"><a name="a149"></a> <span class="src-comm">// make the request</span></div></li> -<li><div class="src-line"><a name="a150"></a> <span class="src-var">$responseBody </span>= <a href="http://www.php.net/curl_exec">curl_exec</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_curl</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a151"></a> </div></li> -<li><div class="src-line"><a name="a152"></a> <span class="src-comm">// get info from the transfer</span></div></li> -<li><div class="src-line"><a name="a153"></a> <span class="src-var">$statusCode </span>= <a href="http://www.php.net/curl_getinfo">curl_getinfo</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_curl</span><span class="src-sym">, </span><span class="src-id">CURLINFO_HTTP_CODE</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a154"></a> <span class="src-var">$contentType </span>= <a href="http://www.php.net/curl_getinfo">curl_getinfo</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_curl</span><span class="src-sym">, </span><span class="src-id">CURLINFO_CONTENT_TYPE</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a155"></a> </div></li> -<li><div class="src-line"><a name="a156"></a> <span class="src-key">return </span><span class="src-key">new </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_HttpTransport_Response.html">Apache_Solr_HttpTransport_Response</a></span><span class="src-sym">(</span><span class="src-var">$statusCode</span><span class="src-sym">, </span><span class="src-var">$contentType</span><span class="src-sym">, </span><span class="src-var">$responseBody</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a157"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a158"></a> </div></li> -<li><div class="src-line"><a name="a159"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Curl.html#methodperformPostRequest">performPostRequest</a><span class="src-sym">(</span><span class="src-var">$url</span><span class="src-sym">, </span><span class="src-var">$postData</span><span class="src-sym">, </span><span class="src-var">$contentType</span><span class="src-sym">, </span><span class="src-var">$timeout </span>= <span class="src-id">false</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a160"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a161"></a> <span class="src-comm">// check the timeout value</span></div></li> -<li><div class="src-line"><a name="a162"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$timeout </span>=== <span class="src-id">false </span>|| <span class="src-var">$timeout </span><= <span class="src-num">0.0</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a163"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a164"></a> <span class="src-comm">// use the default timeout</span></div></li> -<li><div class="src-line"><a name="a165"></a> <span class="src-var">$timeout </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Abstract.html#methodgetDefaultTimeout">getDefaultTimeout</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a166"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a167"></a> </div></li> -<li><div class="src-line"><a name="a168"></a> <span class="src-comm">// set curl POST options</span></div></li> -<li><div class="src-line"><a name="a169"></a> <a href="http://www.php.net/curl_setopt_array">curl_setopt_array</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_curl</span><span class="src-sym">, </span><span class="src-key">array</span><span class="src-sym">(</span></div></li> -<li><div class="src-line"><a name="a170"></a> <span class="src-comm">// make sure we're returning the body</span></div></li> -<li><div class="src-line"><a name="a171"></a> <span class="src-id">CURLOPT_NOBODY </span>=> <span class="src-id">false</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a172"></a> </div></li> -<li><div class="src-line"><a name="a173"></a> <span class="src-comm">// make sure we're POST</span></div></li> -<li><div class="src-line"><a name="a174"></a> <span class="src-id">CURLOPT_POST </span>=> <span class="src-id">true</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a175"></a> </div></li> -<li><div class="src-line"><a name="a176"></a> <span class="src-comm">// set the URL</span></div></li> -<li><div class="src-line"><a name="a177"></a> <span class="src-id">CURLOPT_URL </span>=> <span class="src-var">$url</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a178"></a> </div></li> -<li><div class="src-line"><a name="a179"></a> <span class="src-comm">// set the post data</span></div></li> -<li><div class="src-line"><a name="a180"></a> <span class="src-id">CURLOPT_POSTFIELDS </span>=> <span class="src-var">$postData</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a181"></a> </div></li> -<li><div class="src-line"><a name="a182"></a> <span class="src-comm">// set the content type</span></div></li> -<li><div class="src-line"><a name="a183"></a> <span class="src-id">CURLOPT_HTTPHEADER </span>=> <span class="src-key">array</span><span class="src-sym">(</span><span class="src-str">"</span><span class="src-str">Content-Type: {<span class="src-var">$contentType</span><span class="src-sym">}</span></span><span class="src-str">"</span><span class="src-sym">)</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a184"></a> </div></li> -<li><div class="src-line"><a name="a185"></a> <span class="src-comm">// set the timeout</span></div></li> -<li><div class="src-line"><a name="a186"></a> <span class="src-id">CURLOPT_TIMEOUT </span>=> <span class="src-var">$timeout</span></div></li> -<li><div class="src-line"><a name="a187"></a> <span class="src-sym">))</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a188"></a> </div></li> -<li><div class="src-line"><a name="a189"></a> <span class="src-comm">// make the request</span></div></li> -<li><div class="src-line"><a name="a190"></a> <span class="src-var">$responseBody </span>= <a href="http://www.php.net/curl_exec">curl_exec</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_curl</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a191"></a> </div></li> -<li><div class="src-line"><a name="a192"></a> <span class="src-comm">// get info from the transfer</span></div></li> -<li><div class="src-line"><a name="a193"></a> <span class="src-var">$statusCode </span>= <a href="http://www.php.net/curl_getinfo">curl_getinfo</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_curl</span><span class="src-sym">, </span><span class="src-id">CURLINFO_HTTP_CODE</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a194"></a> <span class="src-var">$contentType </span>= <a href="http://www.php.net/curl_getinfo">curl_getinfo</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_curl</span><span class="src-sym">, </span><span class="src-id">CURLINFO_CONTENT_TYPE</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a195"></a> </div></li> -<li><div class="src-line"><a name="a196"></a> <span class="src-key">return </span><span class="src-key">new </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_HttpTransport_Response.html">Apache_Solr_HttpTransport_Response</a></span><span class="src-sym">(</span><span class="src-var">$statusCode</span><span class="src-sym">, </span><span class="src-var">$contentType</span><span class="src-sym">, </span><span class="src-var">$responseBody</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a197"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a198"></a><span class="src-sym">}</span></div></li> -</ol></div> -</div> - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:12 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_HttpTransportCurlNoReuse.php.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_HttpTransportCurlNoReuse.php.html deleted file mode 100644 index 1f772d65c59a989eaba15aff17cc8dd3b6132587..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_HttpTransportCurlNoReuse.php.html +++ /dev/null @@ -1,216 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>File Source for CurlNoReuse.php</title> - <link rel="stylesheet" href="../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <h1>Source for file CurlNoReuse.php</h1> -<p>Documentation is available at <a href="../Apache/Solr/_HttpTransport---CurlNoReuse.php.html">CurlNoReuse.php</a></p> -<div class="src-code"> -<div class="src-code"><ol><li><div class="src-line"><a name="a1"></a><span class="src-php"><?php</span></div></li> -<li><div class="src-line"><a name="a2"></a><span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a3"></a><span class="src-doc"> * Copyright (c) 2007-2011, Servigistics, Inc.</span></div></li> -<li><div class="src-line"><a name="a4"></a><span class="src-doc"> * All rights reserved.</span></div></li> -<li><div class="src-line"><a name="a5"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a6"></a><span class="src-doc"> * Redistribution and use in source and binary forms, with or without</span></div></li> -<li><div class="src-line"><a name="a7"></a><span class="src-doc"> * modification, are permitted provided that the following conditions are met:</span></div></li> -<li><div class="src-line"><a name="a8"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a9"></a><span class="src-doc"> * - Redistributions of source code must retain the above copyright notice,</span></div></li> -<li><div class="src-line"><a name="a10"></a><span class="src-doc"> * this list of conditions and the following disclaimer.</span></div></li> -<li><div class="src-line"><a name="a11"></a><span class="src-doc"> * - Redistributions in binary form must reproduce the above copyright</span></div></li> -<li><div class="src-line"><a name="a12"></a><span class="src-doc"> * notice, this list of conditions and the following disclaimer in the</span></div></li> -<li><div class="src-line"><a name="a13"></a><span class="src-doc"> * documentation and/or other materials provided with the distribution.</span></div></li> -<li><div class="src-line"><a name="a14"></a><span class="src-doc"> * - Neither the name of Servigistics, Inc. nor the names of</span></div></li> -<li><div class="src-line"><a name="a15"></a><span class="src-doc"> * its contributors may be used to endorse or promote products derived from</span></div></li> -<li><div class="src-line"><a name="a16"></a><span class="src-doc"> * this software without specific prior written permission.</span></div></li> -<li><div class="src-line"><a name="a17"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a18"></a><span class="src-doc"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span></div></li> -<li><div class="src-line"><a name="a19"></a><span class="src-doc"> * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div></li> -<li><div class="src-line"><a name="a20"></a><span class="src-doc"> * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span></div></li> -<li><div class="src-line"><a name="a21"></a><span class="src-doc"> * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span></div></li> -<li><div class="src-line"><a name="a22"></a><span class="src-doc"> * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span></div></li> -<li><div class="src-line"><a name="a23"></a><span class="src-doc"> * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span></div></li> -<li><div class="src-line"><a name="a24"></a><span class="src-doc"> * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span></div></li> -<li><div class="src-line"><a name="a25"></a><span class="src-doc"> * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span></div></li> -<li><div class="src-line"><a name="a26"></a><span class="src-doc"> * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span></div></li> -<li><div class="src-line"><a name="a27"></a><span class="src-doc"> * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE</span></div></li> -<li><div class="src-line"><a name="a28"></a><span class="src-doc"> * POSSIBILITY OF SUCH DAMAGE.</span></div></li> -<li><div class="src-line"><a name="a29"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a30"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@copyright</span><span class="src-doc"> Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com)</span></div></li> -<li><div class="src-line"><a name="a31"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@license</span><span class="src-doc"> http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD</span></div></li> -<li><div class="src-line"><a name="a32"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@version</span><span class="src-doc"> $Id: $</span></div></li> -<li><div class="src-line"><a name="a33"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a34"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@package</span><span class="src-doc"> Apache</span></div></li> -<li><div class="src-line"><a name="a35"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@subpackage</span><span class="src-doc"> Solr</span></div></li> -<li><div class="src-line"><a name="a36"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@author</span><span class="src-doc"> Timo Schmidt <timo.schmidt@aoemedia.de>, Donovan Jimenez <djimenez@conduit-it.com></span></div></li> -<li><div class="src-line"><a name="a37"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a38"></a> </div></li> -<li><div class="src-line"><a name="a39"></a><span class="src-comm">// Require Apache_Solr_HttpTransport_Abstract</span></div></li> -<li><div class="src-line"><a name="a40"></a><span class="src-inc">require_once</span><span class="src-sym">(</span><span class="src-id">dirname</span><span class="src-sym">(</span>__FILE__<span class="src-sym">) </span>. <span class="src-str">'/Abstract.php'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a41"></a> </div></li> -<li><div class="src-line"><a name="a42"></a><span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a43"></a><span class="src-doc"> * An alternative Curl HTTP transport that opens and closes a curl session for</span></div></li> -<li><div class="src-line"><a name="a44"></a><span class="src-doc"> * every request. This isn't the recommended way to use curl, but some version of</span></div></li> -<li><div class="src-line"><a name="a45"></a><span class="src-doc"> * PHP have memory issues.</span></div></li> -<li><div class="src-line"><a name="a46"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a47"></a><span class="src-key">class </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_CurlNoReuse.html">Apache_Solr_HttpTransport_CurlNoReuse</a> <span class="src-key">extends </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Abstract.html">Apache_Solr_HttpTransport_Abstract</a></div></li> -<li><div class="src-line"><a name="a48"></a><span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a49"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a50"></a><span class="src-doc"> * SVN Revision meta data for this class</span></div></li> -<li><div class="src-line"><a name="a51"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a52"></a> <span class="src-key">const </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_CurlNoReuse.html#constSVN_REVISION">SVN_REVISION</a> = <span class="src-str">'$Revision:$'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a53"></a> </div></li> -<li><div class="src-line"><a name="a54"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a55"></a><span class="src-doc"> * SVN ID meta data for this class</span></div></li> -<li><div class="src-line"><a name="a56"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a57"></a> <span class="src-key">const </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_CurlNoReuse.html#constSVN_ID">SVN_ID</a> = <span class="src-str">'$Id:$'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a58"></a> </div></li> -<li><div class="src-line"><a name="a59"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_CurlNoReuse.html#methodperformGetRequest">performGetRequest</a><span class="src-sym">(</span><span class="src-var">$url</span><span class="src-sym">, </span><span class="src-var">$timeout </span>= <span class="src-id">false</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a60"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a61"></a> <span class="src-comm">// check the timeout value</span></div></li> -<li><div class="src-line"><a name="a62"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$timeout </span>=== <span class="src-id">false </span>|| <span class="src-var">$timeout </span><= <span class="src-num">0.0</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a63"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a64"></a> <span class="src-comm">// use the default timeout</span></div></li> -<li><div class="src-line"><a name="a65"></a> <span class="src-var">$timeout </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Abstract.html#methodgetDefaultTimeout">getDefaultTimeout</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a66"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a67"></a> </div></li> -<li><div class="src-line"><a name="a68"></a> <span class="src-var">$curl </span>= <a href="http://www.php.net/curl_init">curl_init</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a69"></a> </div></li> -<li><div class="src-line"><a name="a70"></a> <span class="src-comm">// set curl GET options</span></div></li> -<li><div class="src-line"><a name="a71"></a> <a href="http://www.php.net/curl_setopt_array">curl_setopt_array</a><span class="src-sym">(</span><span class="src-var">$curl</span><span class="src-sym">, </span><span class="src-key">array</span><span class="src-sym">(</span></div></li> -<li><div class="src-line"><a name="a72"></a> <span class="src-comm">// return the response body from curl_exec</span></div></li> -<li><div class="src-line"><a name="a73"></a> <span class="src-id">CURLOPT_RETURNTRANSFER </span>=> <span class="src-id">true</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a74"></a> </div></li> -<li><div class="src-line"><a name="a75"></a> <span class="src-comm">// get the output as binary data</span></div></li> -<li><div class="src-line"><a name="a76"></a> <span class="src-id">CURLOPT_BINARYTRANSFER </span>=> <span class="src-id">true</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a77"></a> </div></li> -<li><div class="src-line"><a name="a78"></a> <span class="src-comm">// we do not need the headers in the output, we get everything we need from curl_getinfo</span></div></li> -<li><div class="src-line"><a name="a79"></a> <span class="src-id">CURLOPT_HEADER </span>=> <span class="src-id">false</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a80"></a> </div></li> -<li><div class="src-line"><a name="a81"></a> <span class="src-comm">// set the URL</span></div></li> -<li><div class="src-line"><a name="a82"></a> <span class="src-id">CURLOPT_URL </span>=> <span class="src-var">$url</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a83"></a> </div></li> -<li><div class="src-line"><a name="a84"></a> <span class="src-comm">// set the timeout</span></div></li> -<li><div class="src-line"><a name="a85"></a> <span class="src-id">CURLOPT_TIMEOUT </span>=> <span class="src-var">$timeout</span></div></li> -<li><div class="src-line"><a name="a86"></a> <span class="src-sym">))</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a87"></a> </div></li> -<li><div class="src-line"><a name="a88"></a> <span class="src-comm">// make the request</span></div></li> -<li><div class="src-line"><a name="a89"></a> <span class="src-var">$responseBody </span>= <a href="http://www.php.net/curl_exec">curl_exec</a><span class="src-sym">(</span><span class="src-var">$curl</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a90"></a> </div></li> -<li><div class="src-line"><a name="a91"></a> <span class="src-comm">// get info from the transfer</span></div></li> -<li><div class="src-line"><a name="a92"></a> <span class="src-var">$statusCode </span>= <a href="http://www.php.net/curl_getinfo">curl_getinfo</a><span class="src-sym">(</span><span class="src-var">$curl</span><span class="src-sym">, </span><span class="src-id">CURLINFO_HTTP_CODE</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a93"></a> <span class="src-var">$contentType </span>= <a href="http://www.php.net/curl_getinfo">curl_getinfo</a><span class="src-sym">(</span><span class="src-var">$curl</span><span class="src-sym">, </span><span class="src-id">CURLINFO_CONTENT_TYPE</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a94"></a> </div></li> -<li><div class="src-line"><a name="a95"></a> <span class="src-comm">// close our curl session - we're done with it</span></div></li> -<li><div class="src-line"><a name="a96"></a> <a href="http://www.php.net/curl_close">curl_close</a><span class="src-sym">(</span><span class="src-var">$curl</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a97"></a> </div></li> -<li><div class="src-line"><a name="a98"></a> <span class="src-key">return </span><span class="src-key">new </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_HttpTransport_Response.html">Apache_Solr_HttpTransport_Response</a></span><span class="src-sym">(</span><span class="src-var">$statusCode</span><span class="src-sym">, </span><span class="src-var">$contentType</span><span class="src-sym">, </span><span class="src-var">$responseBody</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a99"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a100"></a> </div></li> -<li><div class="src-line"><a name="a101"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_CurlNoReuse.html#methodperformHeadRequest">performHeadRequest</a><span class="src-sym">(</span><span class="src-var">$url</span><span class="src-sym">, </span><span class="src-var">$timeout </span>= <span class="src-id">false</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a102"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a103"></a> <span class="src-comm">// check the timeout value</span></div></li> -<li><div class="src-line"><a name="a104"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$timeout </span>=== <span class="src-id">false </span>|| <span class="src-var">$timeout </span><= <span class="src-num">0.0</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a105"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a106"></a> <span class="src-comm">// use the default timeout</span></div></li> -<li><div class="src-line"><a name="a107"></a> <span class="src-var">$timeout </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Abstract.html#methodgetDefaultTimeout">getDefaultTimeout</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a108"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a109"></a> </div></li> -<li><div class="src-line"><a name="a110"></a> <span class="src-var">$curl </span>= <a href="http://www.php.net/curl_init">curl_init</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a111"></a> </div></li> -<li><div class="src-line"><a name="a112"></a> <span class="src-comm">// set curl HEAD options</span></div></li> -<li><div class="src-line"><a name="a113"></a> <a href="http://www.php.net/curl_setopt_array">curl_setopt_array</a><span class="src-sym">(</span><span class="src-var">$curl</span><span class="src-sym">, </span><span class="src-key">array</span><span class="src-sym">(</span></div></li> -<li><div class="src-line"><a name="a114"></a> <span class="src-comm">// return the response body from curl_exec</span></div></li> -<li><div class="src-line"><a name="a115"></a> <span class="src-id">CURLOPT_RETURNTRANSFER </span>=> <span class="src-id">true</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a116"></a> </div></li> -<li><div class="src-line"><a name="a117"></a> <span class="src-comm">// get the output as binary data</span></div></li> -<li><div class="src-line"><a name="a118"></a> <span class="src-id">CURLOPT_BINARYTRANSFER </span>=> <span class="src-id">true</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a119"></a> </div></li> -<li><div class="src-line"><a name="a120"></a> <span class="src-comm">// we do not need the headers in the output, we get everything we need from curl_getinfo</span></div></li> -<li><div class="src-line"><a name="a121"></a> <span class="src-id">CURLOPT_HEADER </span>=> <span class="src-id">false</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a122"></a> </div></li> -<li><div class="src-line"><a name="a123"></a> <span class="src-comm">// this both sets the method to HEAD and says not to return a body</span></div></li> -<li><div class="src-line"><a name="a124"></a> <span class="src-id">CURLOPT_NOBODY </span>=> <span class="src-id">true</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a125"></a> </div></li> -<li><div class="src-line"><a name="a126"></a> <span class="src-comm">// set the URL</span></div></li> -<li><div class="src-line"><a name="a127"></a> <span class="src-id">CURLOPT_URL </span>=> <span class="src-var">$url</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a128"></a> </div></li> -<li><div class="src-line"><a name="a129"></a> <span class="src-comm">// set the timeout</span></div></li> -<li><div class="src-line"><a name="a130"></a> <span class="src-id">CURLOPT_TIMEOUT </span>=> <span class="src-var">$timeout</span></div></li> -<li><div class="src-line"><a name="a131"></a> <span class="src-sym">))</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a132"></a> </div></li> -<li><div class="src-line"><a name="a133"></a> <span class="src-comm">// make the request</span></div></li> -<li><div class="src-line"><a name="a134"></a> <span class="src-var">$responseBody </span>= <a href="http://www.php.net/curl_exec">curl_exec</a><span class="src-sym">(</span><span class="src-var">$curl</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a135"></a> </div></li> -<li><div class="src-line"><a name="a136"></a> <span class="src-comm">// get info from the transfer</span></div></li> -<li><div class="src-line"><a name="a137"></a> <span class="src-var">$statusCode </span>= <a href="http://www.php.net/curl_getinfo">curl_getinfo</a><span class="src-sym">(</span><span class="src-var">$curl</span><span class="src-sym">, </span><span class="src-id">CURLINFO_HTTP_CODE</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a138"></a> <span class="src-var">$contentType </span>= <a href="http://www.php.net/curl_getinfo">curl_getinfo</a><span class="src-sym">(</span><span class="src-var">$curl</span><span class="src-sym">, </span><span class="src-id">CURLINFO_CONTENT_TYPE</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a139"></a> </div></li> -<li><div class="src-line"><a name="a140"></a> <span class="src-comm">// close our curl session - we're done with it</span></div></li> -<li><div class="src-line"><a name="a141"></a> <a href="http://www.php.net/curl_close">curl_close</a><span class="src-sym">(</span><span class="src-var">$curl</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a142"></a> </div></li> -<li><div class="src-line"><a name="a143"></a> <span class="src-key">return </span><span class="src-key">new </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_HttpTransport_Response.html">Apache_Solr_HttpTransport_Response</a></span><span class="src-sym">(</span><span class="src-var">$statusCode</span><span class="src-sym">, </span><span class="src-var">$contentType</span><span class="src-sym">, </span><span class="src-var">$responseBody</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a144"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a145"></a> </div></li> -<li><div class="src-line"><a name="a146"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_CurlNoReuse.html#methodperformPostRequest">performPostRequest</a><span class="src-sym">(</span><span class="src-var">$url</span><span class="src-sym">, </span><span class="src-var">$postData</span><span class="src-sym">, </span><span class="src-var">$contentType</span><span class="src-sym">, </span><span class="src-var">$timeout </span>= <span class="src-id">false</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a147"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a148"></a> <span class="src-comm">// check the timeout value</span></div></li> -<li><div class="src-line"><a name="a149"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$timeout </span>=== <span class="src-id">false </span>|| <span class="src-var">$timeout </span><= <span class="src-num">0.0</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a150"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a151"></a> <span class="src-comm">// use the default timeout</span></div></li> -<li><div class="src-line"><a name="a152"></a> <span class="src-var">$timeout </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Abstract.html#methodgetDefaultTimeout">getDefaultTimeout</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a153"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a154"></a> </div></li> -<li><div class="src-line"><a name="a155"></a> <span class="src-var">$curl </span>= <a href="http://www.php.net/curl_init">curl_init</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a156"></a> </div></li> -<li><div class="src-line"><a name="a157"></a> <span class="src-comm">// set curl POST options</span></div></li> -<li><div class="src-line"><a name="a158"></a> <a href="http://www.php.net/curl_setopt_array">curl_setopt_array</a><span class="src-sym">(</span><span class="src-var">$curl</span><span class="src-sym">, </span><span class="src-key">array</span><span class="src-sym">(</span></div></li> -<li><div class="src-line"><a name="a159"></a> <span class="src-comm">// return the response body from curl_exec</span></div></li> -<li><div class="src-line"><a name="a160"></a> <span class="src-id">CURLOPT_RETURNTRANSFER </span>=> <span class="src-id">true</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a161"></a> </div></li> -<li><div class="src-line"><a name="a162"></a> <span class="src-comm">// get the output as binary data</span></div></li> -<li><div class="src-line"><a name="a163"></a> <span class="src-id">CURLOPT_BINARYTRANSFER </span>=> <span class="src-id">true</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a164"></a> </div></li> -<li><div class="src-line"><a name="a165"></a> <span class="src-comm">// we do not need the headers in the output, we get everything we need from curl_getinfo</span></div></li> -<li><div class="src-line"><a name="a166"></a> <span class="src-id">CURLOPT_HEADER </span>=> <span class="src-id">false</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a167"></a> </div></li> -<li><div class="src-line"><a name="a168"></a> <span class="src-comm">// make sure we're POST</span></div></li> -<li><div class="src-line"><a name="a169"></a> <span class="src-id">CURLOPT_POST </span>=> <span class="src-id">true</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a170"></a> </div></li> -<li><div class="src-line"><a name="a171"></a> <span class="src-comm">// set the URL</span></div></li> -<li><div class="src-line"><a name="a172"></a> <span class="src-id">CURLOPT_URL </span>=> <span class="src-var">$url</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a173"></a> </div></li> -<li><div class="src-line"><a name="a174"></a> <span class="src-comm">// set the post data</span></div></li> -<li><div class="src-line"><a name="a175"></a> <span class="src-id">CURLOPT_POSTFIELDS </span>=> <span class="src-var">$postData</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a176"></a> </div></li> -<li><div class="src-line"><a name="a177"></a> <span class="src-comm">// set the content type</span></div></li> -<li><div class="src-line"><a name="a178"></a> <span class="src-id">CURLOPT_HTTPHEADER </span>=> <span class="src-key">array</span><span class="src-sym">(</span><span class="src-str">"</span><span class="src-str">Content-Type: {<span class="src-var">$contentType</span><span class="src-sym">}</span></span><span class="src-str">"</span><span class="src-sym">)</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a179"></a> </div></li> -<li><div class="src-line"><a name="a180"></a> <span class="src-comm">// set the timeout</span></div></li> -<li><div class="src-line"><a name="a181"></a> <span class="src-id">CURLOPT_TIMEOUT </span>=> <span class="src-var">$timeout</span></div></li> -<li><div class="src-line"><a name="a182"></a> <span class="src-sym">))</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a183"></a> </div></li> -<li><div class="src-line"><a name="a184"></a> <span class="src-comm">// make the request</span></div></li> -<li><div class="src-line"><a name="a185"></a> <span class="src-var">$responseBody </span>= <a href="http://www.php.net/curl_exec">curl_exec</a><span class="src-sym">(</span><span class="src-var">$curl</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a186"></a> </div></li> -<li><div class="src-line"><a name="a187"></a> <span class="src-comm">// get info from the transfer</span></div></li> -<li><div class="src-line"><a name="a188"></a> <span class="src-var">$statusCode </span>= <a href="http://www.php.net/curl_getinfo">curl_getinfo</a><span class="src-sym">(</span><span class="src-var">$curl</span><span class="src-sym">, </span><span class="src-id">CURLINFO_HTTP_CODE</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a189"></a> <span class="src-var">$contentType </span>= <a href="http://www.php.net/curl_getinfo">curl_getinfo</a><span class="src-sym">(</span><span class="src-var">$curl</span><span class="src-sym">, </span><span class="src-id">CURLINFO_CONTENT_TYPE</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a190"></a> </div></li> -<li><div class="src-line"><a name="a191"></a> <span class="src-comm">// close our curl session - we're done with it</span></div></li> -<li><div class="src-line"><a name="a192"></a> <a href="http://www.php.net/curl_close">curl_close</a><span class="src-sym">(</span><span class="src-var">$curl</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a193"></a> </div></li> -<li><div class="src-line"><a name="a194"></a> <span class="src-key">return </span><span class="src-key">new </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_HttpTransport_Response.html">Apache_Solr_HttpTransport_Response</a></span><span class="src-sym">(</span><span class="src-var">$statusCode</span><span class="src-sym">, </span><span class="src-var">$contentType</span><span class="src-sym">, </span><span class="src-var">$responseBody</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a195"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a196"></a><span class="src-sym">}</span></div></li> -</ol></div> -</div> - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:13 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_HttpTransportException.php.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_HttpTransportException.php.html deleted file mode 100644 index b51a64f31eb489caacf78da2a6681ca6c77537e3..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_HttpTransportException.php.html +++ /dev/null @@ -1,99 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>File Source for HttpTransportException.php</title> - <link rel="stylesheet" href="../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <h1>Source for file HttpTransportException.php</h1> -<p>Documentation is available at <a href="../Apache/Solr/_HttpTransportException.php.html">HttpTransportException.php</a></p> -<div class="src-code"> -<div class="src-code"><ol><li><div class="src-line"><a name="a1"></a><span class="src-php"><?php</span></div></li> -<li><div class="src-line"><a name="a2"></a><span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a3"></a><span class="src-doc"> * Copyright (c) 2007-2011, Servigistics, Inc.</span></div></li> -<li><div class="src-line"><a name="a4"></a><span class="src-doc"> * All rights reserved.</span></div></li> -<li><div class="src-line"><a name="a5"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a6"></a><span class="src-doc"> * Redistribution and use in source and binary forms, with or without</span></div></li> -<li><div class="src-line"><a name="a7"></a><span class="src-doc"> * modification, are permitted provided that the following conditions are met:</span></div></li> -<li><div class="src-line"><a name="a8"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a9"></a><span class="src-doc"> * - Redistributions of source code must retain the above copyright notice,</span></div></li> -<li><div class="src-line"><a name="a10"></a><span class="src-doc"> * this list of conditions and the following disclaimer.</span></div></li> -<li><div class="src-line"><a name="a11"></a><span class="src-doc"> * - Redistributions in binary form must reproduce the above copyright</span></div></li> -<li><div class="src-line"><a name="a12"></a><span class="src-doc"> * notice, this list of conditions and the following disclaimer in the</span></div></li> -<li><div class="src-line"><a name="a13"></a><span class="src-doc"> * documentation and/or other materials provided with the distribution.</span></div></li> -<li><div class="src-line"><a name="a14"></a><span class="src-doc"> * - Neither the name of Servigistics, Inc. nor the names of</span></div></li> -<li><div class="src-line"><a name="a15"></a><span class="src-doc"> * its contributors may be used to endorse or promote products derived from</span></div></li> -<li><div class="src-line"><a name="a16"></a><span class="src-doc"> * this software without specific prior written permission.</span></div></li> -<li><div class="src-line"><a name="a17"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a18"></a><span class="src-doc"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span></div></li> -<li><div class="src-line"><a name="a19"></a><span class="src-doc"> * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div></li> -<li><div class="src-line"><a name="a20"></a><span class="src-doc"> * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span></div></li> -<li><div class="src-line"><a name="a21"></a><span class="src-doc"> * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span></div></li> -<li><div class="src-line"><a name="a22"></a><span class="src-doc"> * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span></div></li> -<li><div class="src-line"><a name="a23"></a><span class="src-doc"> * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span></div></li> -<li><div class="src-line"><a name="a24"></a><span class="src-doc"> * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span></div></li> -<li><div class="src-line"><a name="a25"></a><span class="src-doc"> * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span></div></li> -<li><div class="src-line"><a name="a26"></a><span class="src-doc"> * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span></div></li> -<li><div class="src-line"><a name="a27"></a><span class="src-doc"> * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE</span></div></li> -<li><div class="src-line"><a name="a28"></a><span class="src-doc"> * POSSIBILITY OF SUCH DAMAGE.</span></div></li> -<li><div class="src-line"><a name="a29"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a30"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@copyright</span><span class="src-doc"> Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com)</span></div></li> -<li><div class="src-line"><a name="a31"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@license</span><span class="src-doc"> http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD</span></div></li> -<li><div class="src-line"><a name="a32"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@version</span><span class="src-doc"> $Id: HttpTransportException.php 54 2011-02-04 16:29:18Z donovan.jimenez $</span></div></li> -<li><div class="src-line"><a name="a33"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a34"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@package</span><span class="src-doc"> Apache</span></div></li> -<li><div class="src-line"><a name="a35"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@subpackage</span><span class="src-doc"> Solr</span></div></li> -<li><div class="src-line"><a name="a36"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@author</span><span class="src-doc"> Donovan Jimenez <djimenez@conduit-it.com></span></div></li> -<li><div class="src-line"><a name="a37"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a38"></a> </div></li> -<li><div class="src-line"><a name="a39"></a><span class="src-key">class </span><a href="../Apache/Solr/Apache_Solr_HttpTransportException.html">Apache_Solr_HttpTransportException</a> <span class="src-key">extends </span><a href="../Apache/Solr/Apache_Solr_Exception.html">Apache_Solr_Exception</a></div></li> -<li><div class="src-line"><a name="a40"></a><span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a41"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a42"></a><span class="src-doc"> * SVN Revision meta data for this class</span></div></li> -<li><div class="src-line"><a name="a43"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a44"></a> <span class="src-key">const </span><a href="../Apache/Solr/Apache_Solr_HttpTransportException.html#constSVN_REVISION">SVN_REVISION</a> = <span class="src-str">'$Revision: 54 $'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a45"></a> </div></li> -<li><div class="src-line"><a name="a46"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a47"></a><span class="src-doc"> * SVN ID meta data for this class</span></div></li> -<li><div class="src-line"><a name="a48"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a49"></a> <span class="src-key">const </span><a href="../Apache/Solr/Apache_Solr_HttpTransportException.html#constSVN_ID">SVN_ID</a> = <span class="src-str">'$Id: HttpTransportException.php 54 2011-02-04 16:29:18Z donovan.jimenez $'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a50"></a> </div></li> -<li><div class="src-line"><a name="a51"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a52"></a><span class="src-doc"> * Response for which exception was generated</span></div></li> -<li><div class="src-line"><a name="a53"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a54"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@var </span><span class="src-doc-type">Apache_Solr_Response </span></div></li> -<li><div class="src-line"><a name="a55"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a56"></a> <span class="src-key">private </span><span class="src-var">$_response</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a57"></a> </div></li> -<li><div class="src-line"><a name="a58"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a59"></a><span class="src-doc"> * HttpTransportException Constructor</span></div></li> -<li><div class="src-line"><a name="a60"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a61"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">Apache_Solr_Response </span><span class="src-doc-var">$response </span></div></li> -<li><div class="src-line"><a name="a62"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a63"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_HttpTransportException.html#method__construct">__construct</a><span class="src-sym">(</span><span class="src-id">Apache_Solr_Response </span><span class="src-var">$response</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a64"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a65"></a> <span class="src-id">parent</span><span class="src-sym">::</span><span class="src-id">__construct</span><span class="src-sym">(</span><span class="src-str">"</span><span class="src-str">'{<span class="src-var">$response</span></span><span class="src-sym">-></span><span class="src-id">getHttpStatus</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-str"></span><span class="src-sym">}</span>' Status: {<span class="src-var">$response</span></span><span class="src-sym">-></span><span class="src-id">getHttpStatusMessage</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-str"></span><span class="src-sym">}</span></span><span class="src-str">"</span><span class="src-sym">, </span><span class="src-var">$response</span><span class="src-sym">-></span><span class="src-id">getHttpStatus</span><span class="src-sym">(</span><span class="src-sym">))</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a66"></a> </div></li> -<li><div class="src-line"><a name="a67"></a> <span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_response </span>= <span class="src-var">$response</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a68"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a69"></a> </div></li> -<li><div class="src-line"><a name="a70"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a71"></a><span class="src-doc"> * Get the response for which this exception was generated</span></div></li> -<li><div class="src-line"><a name="a72"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a73"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">Apache_Solr_Response </span></div></li> -<li><div class="src-line"><a name="a74"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a75"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_HttpTransportException.html#methodgetResponse">getResponse</a><span class="src-sym">(</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a76"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a77"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_response</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a78"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a79"></a><span class="src-sym">}</span></div></li> -</ol></div> -</div> - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:14 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_HttpTransportFileGetContents.php.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_HttpTransportFileGetContents.php.html deleted file mode 100644 index 1a005cd2c86061c057b1d8c65e2ab1467b50e59b..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_HttpTransportFileGetContents.php.html +++ /dev/null @@ -1,236 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>File Source for FileGetContents.php</title> - <link rel="stylesheet" href="../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <h1>Source for file FileGetContents.php</h1> -<p>Documentation is available at <a href="../Apache/Solr/_HttpTransport---FileGetContents.php.html">FileGetContents.php</a></p> -<div class="src-code"> -<div class="src-code"><ol><li><div class="src-line"><a name="a1"></a><span class="src-php"><?php</span></div></li> -<li><div class="src-line"><a name="a2"></a><span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a3"></a><span class="src-doc"> * Copyright (c) 2007-2011, Servigistics, Inc.</span></div></li> -<li><div class="src-line"><a name="a4"></a><span class="src-doc"> * All rights reserved.</span></div></li> -<li><div class="src-line"><a name="a5"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a6"></a><span class="src-doc"> * Redistribution and use in source and binary forms, with or without</span></div></li> -<li><div class="src-line"><a name="a7"></a><span class="src-doc"> * modification, are permitted provided that the following conditions are met:</span></div></li> -<li><div class="src-line"><a name="a8"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a9"></a><span class="src-doc"> * - Redistributions of source code must retain the above copyright notice,</span></div></li> -<li><div class="src-line"><a name="a10"></a><span class="src-doc"> * this list of conditions and the following disclaimer.</span></div></li> -<li><div class="src-line"><a name="a11"></a><span class="src-doc"> * - Redistributions in binary form must reproduce the above copyright</span></div></li> -<li><div class="src-line"><a name="a12"></a><span class="src-doc"> * notice, this list of conditions and the following disclaimer in the</span></div></li> -<li><div class="src-line"><a name="a13"></a><span class="src-doc"> * documentation and/or other materials provided with the distribution.</span></div></li> -<li><div class="src-line"><a name="a14"></a><span class="src-doc"> * - Neither the name of Servigistics, Inc. nor the names of</span></div></li> -<li><div class="src-line"><a name="a15"></a><span class="src-doc"> * its contributors may be used to endorse or promote products derived from</span></div></li> -<li><div class="src-line"><a name="a16"></a><span class="src-doc"> * this software without specific prior written permission.</span></div></li> -<li><div class="src-line"><a name="a17"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a18"></a><span class="src-doc"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span></div></li> -<li><div class="src-line"><a name="a19"></a><span class="src-doc"> * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div></li> -<li><div class="src-line"><a name="a20"></a><span class="src-doc"> * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span></div></li> -<li><div class="src-line"><a name="a21"></a><span class="src-doc"> * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span></div></li> -<li><div class="src-line"><a name="a22"></a><span class="src-doc"> * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span></div></li> -<li><div class="src-line"><a name="a23"></a><span class="src-doc"> * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span></div></li> -<li><div class="src-line"><a name="a24"></a><span class="src-doc"> * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span></div></li> -<li><div class="src-line"><a name="a25"></a><span class="src-doc"> * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span></div></li> -<li><div class="src-line"><a name="a26"></a><span class="src-doc"> * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span></div></li> -<li><div class="src-line"><a name="a27"></a><span class="src-doc"> * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE</span></div></li> -<li><div class="src-line"><a name="a28"></a><span class="src-doc"> * POSSIBILITY OF SUCH DAMAGE.</span></div></li> -<li><div class="src-line"><a name="a29"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a30"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@copyright</span><span class="src-doc"> Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com)</span></div></li> -<li><div class="src-line"><a name="a31"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@license</span><span class="src-doc"> http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD</span></div></li> -<li><div class="src-line"><a name="a32"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@version</span><span class="src-doc"> $Id: $</span></div></li> -<li><div class="src-line"><a name="a33"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a34"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@package</span><span class="src-doc"> Apache</span></div></li> -<li><div class="src-line"><a name="a35"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@subpackage</span><span class="src-doc"> Solr</span></div></li> -<li><div class="src-line"><a name="a36"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@author</span><span class="src-doc"> Donovan Jimenez <djimenez@conduit-it.com></span></div></li> -<li><div class="src-line"><a name="a37"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a38"></a> </div></li> -<li><div class="src-line"><a name="a39"></a><span class="src-comm">// Require Apache_Solr_HttpTransport_Abstract</span></div></li> -<li><div class="src-line"><a name="a40"></a><span class="src-inc">require_once</span><span class="src-sym">(</span><span class="src-id">dirname</span><span class="src-sym">(</span>__FILE__<span class="src-sym">) </span>. <span class="src-str">'/Abstract.php'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a41"></a> </div></li> -<li><div class="src-line"><a name="a42"></a><span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a43"></a><span class="src-doc"> * HTTP Transport implemenation that uses the builtin http URL wrappers and file_get_contents</span></div></li> -<li><div class="src-line"><a name="a44"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a45"></a><span class="src-key">class </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_FileGetContents.html">Apache_Solr_HttpTransport_FileGetContents</a> <span class="src-key">extends </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Abstract.html">Apache_Solr_HttpTransport_Abstract</a></div></li> -<li><div class="src-line"><a name="a46"></a><span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a47"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a48"></a><span class="src-doc"> * SVN Revision meta data for this class</span></div></li> -<li><div class="src-line"><a name="a49"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a50"></a> <span class="src-key">const </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_FileGetContents.html#constSVN_REVISION">SVN_REVISION</a> = <span class="src-str">'$Revision: $'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a51"></a> </div></li> -<li><div class="src-line"><a name="a52"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a53"></a><span class="src-doc"> * SVN ID meta data for this class</span></div></li> -<li><div class="src-line"><a name="a54"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a55"></a> <span class="src-key">const </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_FileGetContents.html#constSVN_ID">SVN_ID</a> = <span class="src-str">'$Id: $'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a56"></a> </div></li> -<li><div class="src-line"><a name="a57"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a58"></a><span class="src-doc"> * Reusable stream context resources for GET and POST operations</span></div></li> -<li><div class="src-line"><a name="a59"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a60"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@var </span><span class="src-doc-type">resource </span></div></li> -<li><div class="src-line"><a name="a61"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a62"></a> <span class="src-key">private </span><span class="src-var">$_getContext</span><span class="src-sym">, </span><span class="src-var">$_headContext</span><span class="src-sym">, </span><span class="src-var">$_postContext</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a63"></a> </div></li> -<li><div class="src-line"><a name="a64"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a65"></a><span class="src-doc"> * Initializes our reuseable get and post stream contexts</span></div></li> -<li><div class="src-line"><a name="a66"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a67"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_FileGetContents.html#method__construct">__construct</a><span class="src-sym">(</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a68"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a69"></a> <span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_getContext </span>= <a href="http://www.php.net/stream_context_create">stream_context_create</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a70"></a> <span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_headContext </span>= <a href="http://www.php.net/stream_context_create">stream_context_create</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a71"></a> <span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_postContext </span>= <a href="http://www.php.net/stream_context_create">stream_context_create</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a72"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a73"></a> </div></li> -<li><div class="src-line"><a name="a74"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_FileGetContents.html#methodperformGetRequest">performGetRequest</a><span class="src-sym">(</span><span class="src-var">$url</span><span class="src-sym">, </span><span class="src-var">$timeout </span>= <span class="src-id">false</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a75"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a76"></a> <span class="src-comm">// set the timeout if specified</span></div></li> -<li><div class="src-line"><a name="a77"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$timeout </span>!== <span class="src-id">FALSE </span>&& <span class="src-var">$timeout </span>> <span class="src-num">0.0</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a78"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a79"></a> <span class="src-comm">// timeouts with file_get_contents seem to need</span></div></li> -<li><div class="src-line"><a name="a80"></a> <span class="src-comm">// to be halved to work as expected</span></div></li> -<li><div class="src-line"><a name="a81"></a> <span class="src-var">$timeout </span>= (float) <span class="src-var">$timeout </span>/ <span class="src-num">2</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a82"></a> </div></li> -<li><div class="src-line"><a name="a83"></a> <a href="http://www.php.net/stream_context_set_option">stream_context_set_option</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_getContext</span><span class="src-sym">, </span><span class="src-str">'http'</span><span class="src-sym">, </span><span class="src-str">'timeout'</span><span class="src-sym">, </span><span class="src-var">$timeout</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a84"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a85"></a> <span class="src-key">else</span></div></li> -<li><div class="src-line"><a name="a86"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a87"></a> <span class="src-comm">// use the default timeout pulled from default_socket_timeout otherwise</span></div></li> -<li><div class="src-line"><a name="a88"></a> <a href="http://www.php.net/stream_context_set_option">stream_context_set_option</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_getContext</span><span class="src-sym">, </span><span class="src-str">'http'</span><span class="src-sym">, </span><span class="src-str">'timeout'</span><span class="src-sym">, </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Abstract.html#methodgetDefaultTimeout">getDefaultTimeout</a><span class="src-sym">(</span><span class="src-sym">))</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a89"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a90"></a> </div></li> -<li><div class="src-line"><a name="a91"></a> <span class="src-comm">// $http_response_headers will be updated by the call to file_get_contents later</span></div></li> -<li><div class="src-line"><a name="a92"></a> <span class="src-comm">// see http://us.php.net/manual/en/wrappers.http.php for documentation</span></div></li> -<li><div class="src-line"><a name="a93"></a> <span class="src-comm">// Unfortunately, it will still create a notice in analyzers if we don't set it here</span></div></li> -<li><div class="src-line"><a name="a94"></a> <span class="src-var">$http_response_header </span>= <span class="src-id">null</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a95"></a> <span class="src-var">$responseBody </span>= <span class="src-sym">@</span><a href="http://www.php.net/file_get_contents">file_get_contents</a><span class="src-sym">(</span><span class="src-var">$url</span><span class="src-sym">, </span><span class="src-id">false</span><span class="src-sym">, </span><span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_getContext</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a96"></a> </div></li> -<li><div class="src-line"><a name="a97"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><span class="src-id">_getResponseFromParts</span><span class="src-sym">(</span><span class="src-var">$responseBody</span><span class="src-sym">, </span><span class="src-var">$http_response_header</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a98"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a99"></a> </div></li> -<li><div class="src-line"><a name="a100"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_FileGetContents.html#methodperformHeadRequest">performHeadRequest</a><span class="src-sym">(</span><span class="src-var">$url</span><span class="src-sym">, </span><span class="src-var">$timeout </span>= <span class="src-id">false</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a101"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a102"></a> <a href="http://www.php.net/stream_context_set_option">stream_context_set_option</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_headContext</span><span class="src-sym">, </span><span class="src-key">array</span><span class="src-sym">(</span></div></li> -<li><div class="src-line"><a name="a103"></a> <span class="src-str">'http' </span>=> <span class="src-key">array</span><span class="src-sym">(</span></div></li> -<li><div class="src-line"><a name="a104"></a> <span class="src-comm">// set HTTP method</span></div></li> -<li><div class="src-line"><a name="a105"></a> <span class="src-str">'method' </span>=> <span class="src-str">'HEAD'</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a106"></a> </div></li> -<li><div class="src-line"><a name="a107"></a> <span class="src-comm">// default timeout</span></div></li> -<li><div class="src-line"><a name="a108"></a> <span class="src-str">'timeout' </span>=> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Abstract.html#methodgetDefaultTimeout">getDefaultTimeout</a><span class="src-sym">(</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a109"></a> <span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a110"></a> <span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a111"></a> <span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a112"></a> </div></li> -<li><div class="src-line"><a name="a113"></a> <span class="src-comm">// set the timeout if specified</span></div></li> -<li><div class="src-line"><a name="a114"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$timeout </span>!== <span class="src-id">FALSE </span>&& <span class="src-var">$timeout </span>> <span class="src-num">0.0</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a115"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a116"></a> <span class="src-comm">// timeouts with file_get_contents seem to need</span></div></li> -<li><div class="src-line"><a name="a117"></a> <span class="src-comm">// to be halved to work as expected</span></div></li> -<li><div class="src-line"><a name="a118"></a> <span class="src-var">$timeout </span>= (float) <span class="src-var">$timeout </span>/ <span class="src-num">2</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a119"></a> </div></li> -<li><div class="src-line"><a name="a120"></a> <a href="http://www.php.net/stream_context_set_option">stream_context_set_option</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_headContext</span><span class="src-sym">, </span><span class="src-str">'http'</span><span class="src-sym">, </span><span class="src-str">'timeout'</span><span class="src-sym">, </span><span class="src-var">$timeout</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a121"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a122"></a> </div></li> -<li><div class="src-line"><a name="a123"></a> <span class="src-comm">// $http_response_headers will be updated by the call to file_get_contents later</span></div></li> -<li><div class="src-line"><a name="a124"></a> <span class="src-comm">// see http://us.php.net/manual/en/wrappers.http.php for documentation</span></div></li> -<li><div class="src-line"><a name="a125"></a> <span class="src-comm">// Unfortunately, it will still create a notice in analyzers if we don't set it here</span></div></li> -<li><div class="src-line"><a name="a126"></a> <span class="src-var">$http_response_header </span>= <span class="src-id">null</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a127"></a> <span class="src-var">$responseBody </span>= <span class="src-sym">@</span><a href="http://www.php.net/file_get_contents">file_get_contents</a><span class="src-sym">(</span><span class="src-var">$url</span><span class="src-sym">, </span><span class="src-id">false</span><span class="src-sym">, </span><span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_headContext</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a128"></a> </div></li> -<li><div class="src-line"><a name="a129"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><span class="src-id">_getResponseFromParts</span><span class="src-sym">(</span><span class="src-var">$responseBody</span><span class="src-sym">, </span><span class="src-var">$http_response_header</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a130"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a131"></a> </div></li> -<li><div class="src-line"><a name="a132"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_FileGetContents.html#methodperformPostRequest">performPostRequest</a><span class="src-sym">(</span><span class="src-var">$url</span><span class="src-sym">, </span><span class="src-var">$rawPost</span><span class="src-sym">, </span><span class="src-var">$contentType</span><span class="src-sym">, </span><span class="src-var">$timeout </span>= <span class="src-id">false</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a133"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a134"></a> <a href="http://www.php.net/stream_context_set_option">stream_context_set_option</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_postContext</span><span class="src-sym">, </span><span class="src-key">array</span><span class="src-sym">(</span></div></li> -<li><div class="src-line"><a name="a135"></a> <span class="src-str">'http' </span>=> <span class="src-key">array</span><span class="src-sym">(</span></div></li> -<li><div class="src-line"><a name="a136"></a> <span class="src-comm">// set HTTP method</span></div></li> -<li><div class="src-line"><a name="a137"></a> <span class="src-str">'method' </span>=> <span class="src-str">'POST'</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a138"></a> </div></li> -<li><div class="src-line"><a name="a139"></a> <span class="src-comm">// Add our posted content type</span></div></li> -<li><div class="src-line"><a name="a140"></a> <span class="src-str">'header' </span>=> <span class="src-str">"</span><span class="src-str">Content-Type: <span class="src-var">$contentType</span></span><span class="src-str">"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a141"></a> </div></li> -<li><div class="src-line"><a name="a142"></a> <span class="src-comm">// the posted content</span></div></li> -<li><div class="src-line"><a name="a143"></a> <span class="src-str">'content' </span>=> <span class="src-var">$rawPost</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a144"></a> </div></li> -<li><div class="src-line"><a name="a145"></a> <span class="src-comm">// default timeout</span></div></li> -<li><div class="src-line"><a name="a146"></a> <span class="src-str">'timeout' </span>=> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Abstract.html#methodgetDefaultTimeout">getDefaultTimeout</a><span class="src-sym">(</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a147"></a> <span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a148"></a> <span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a149"></a> <span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a150"></a> </div></li> -<li><div class="src-line"><a name="a151"></a> <span class="src-comm">// set the timeout if specified</span></div></li> -<li><div class="src-line"><a name="a152"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$timeout </span>!== <span class="src-id">FALSE </span>&& <span class="src-var">$timeout </span>> <span class="src-num">0.0</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a153"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a154"></a> <span class="src-comm">// timeouts with file_get_contents seem to need</span></div></li> -<li><div class="src-line"><a name="a155"></a> <span class="src-comm">// to be halved to work as expected</span></div></li> -<li><div class="src-line"><a name="a156"></a> <span class="src-var">$timeout </span>= (float) <span class="src-var">$timeout </span>/ <span class="src-num">2</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a157"></a> </div></li> -<li><div class="src-line"><a name="a158"></a> <a href="http://www.php.net/stream_context_set_option">stream_context_set_option</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_postContext</span><span class="src-sym">, </span><span class="src-str">'http'</span><span class="src-sym">, </span><span class="src-str">'timeout'</span><span class="src-sym">, </span><span class="src-var">$timeout</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a159"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a160"></a> </div></li> -<li><div class="src-line"><a name="a161"></a> <span class="src-comm">// $http_response_header will be updated by the call to file_get_contents later</span></div></li> -<li><div class="src-line"><a name="a162"></a> <span class="src-comm">// see http://us.php.net/manual/en/wrappers.http.php for documentation</span></div></li> -<li><div class="src-line"><a name="a163"></a> <span class="src-comm">// Unfortunately, it will still create a notice in analyzers if we don't set it here</span></div></li> -<li><div class="src-line"><a name="a164"></a> <span class="src-var">$http_response_header </span>= <span class="src-id">null</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a165"></a> <span class="src-var">$responseBody </span>= <span class="src-sym">@</span><a href="http://www.php.net/file_get_contents">file_get_contents</a><span class="src-sym">(</span><span class="src-var">$url</span><span class="src-sym">, </span><span class="src-id">false</span><span class="src-sym">, </span><span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_postContext</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a166"></a> </div></li> -<li><div class="src-line"><a name="a167"></a> <span class="src-comm">// reset content of post context to reclaim memory</span></div></li> -<li><div class="src-line"><a name="a168"></a> <a href="http://www.php.net/stream_context_set_option">stream_context_set_option</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_postContext</span><span class="src-sym">, </span><span class="src-str">'http'</span><span class="src-sym">, </span><span class="src-str">'content'</span><span class="src-sym">, </span><span class="src-str">''</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a169"></a> </div></li> -<li><div class="src-line"><a name="a170"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><span class="src-id">_getResponseFromParts</span><span class="src-sym">(</span><span class="src-var">$responseBody</span><span class="src-sym">, </span><span class="src-var">$http_response_header</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a171"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a172"></a> </div></li> -<li><div class="src-line"><a name="a173"></a> <span class="src-key">private </span><span class="src-key">function </span><span class="src-id">_getResponseFromParts</span><span class="src-sym">(</span><span class="src-var">$rawResponse</span><span class="src-sym">, </span><span class="src-var">$httpHeaders</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a174"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a175"></a> <span class="src-comm">//Assume 0, false as defaults</span></div></li> -<li><div class="src-line"><a name="a176"></a> <span class="src-var">$status </span>= <span class="src-num">0</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a177"></a> <span class="src-var">$contentType </span>= <span class="src-id">false</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a178"></a> </div></li> -<li><div class="src-line"><a name="a179"></a> <span class="src-comm">//iterate through headers for real status, type, and encoding</span></div></li> -<li><div class="src-line"><a name="a180"></a> <span class="src-key">if </span><span class="src-sym">(</span><a href="http://www.php.net/is_array">is_array</a><span class="src-sym">(</span><span class="src-var">$httpHeaders</span><span class="src-sym">) </span>&& <a href="http://www.php.net/count">count</a><span class="src-sym">(</span><span class="src-var">$httpHeaders</span><span class="src-sym">) </span>> <span class="src-num">0</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a181"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a182"></a> <span class="src-comm">//look at the first headers for the HTTP status code</span></div></li> -<li><div class="src-line"><a name="a183"></a> <span class="src-comm">//and message (errors are usually returned this way)</span></div></li> -<li><div class="src-line"><a name="a184"></a> <span class="src-comm">//</span></div></li> -<li><div class="src-line"><a name="a185"></a> <span class="src-comm">//HTTP 100 Continue response can also be returned before</span></div></li> -<li><div class="src-line"><a name="a186"></a> <span class="src-comm">//the REAL status header, so we need look until we find</span></div></li> -<li><div class="src-line"><a name="a187"></a> <span class="src-comm">//the last header starting with HTTP</span></div></li> -<li><div class="src-line"><a name="a188"></a> <span class="src-comm">//</span></div></li> -<li><div class="src-line"><a name="a189"></a> <span class="src-comm">//the spec: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.1</span></div></li> -<li><div class="src-line"><a name="a190"></a> <span class="src-comm">//</span></div></li> -<li><div class="src-line"><a name="a191"></a> <span class="src-comm">//Thanks to Daniel Andersson for pointing out this oversight</span></div></li> -<li><div class="src-line"><a name="a192"></a> <span class="src-key">while </span><span class="src-sym">(</span>isset<span class="src-sym">(</span><span class="src-var">$httpHeaders</span><span class="src-sym">[</span><span class="src-num">0</span><span class="src-sym">]</span><span class="src-sym">) </span>&& <a href="http://www.php.net/substr">substr</a><span class="src-sym">(</span><span class="src-var">$httpHeaders</span><span class="src-sym">[</span><span class="src-num">0</span><span class="src-sym">]</span><span class="src-sym">, </span><span class="src-num">0</span><span class="src-sym">, </span><span class="src-num">4</span><span class="src-sym">) </span>== <span class="src-str">'HTTP'</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a193"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a194"></a> <span class="src-comm">// we can do a intval on status line without the "HTTP/1.X " to get the code</span></div></li> -<li><div class="src-line"><a name="a195"></a> <span class="src-var">$status </span>= <a href="http://www.php.net/intval">intval</a><span class="src-sym">(</span><a href="http://www.php.net/substr">substr</a><span class="src-sym">(</span><span class="src-var">$httpHeaders</span><span class="src-sym">[</span><span class="src-num">0</span><span class="src-sym">]</span><span class="src-sym">, </span><span class="src-num">9</span><span class="src-sym">))</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a196"></a> </div></li> -<li><div class="src-line"><a name="a197"></a> <span class="src-comm">// remove this from the headers so we can check for more</span></div></li> -<li><div class="src-line"><a name="a198"></a> <a href="http://www.php.net/array_shift">array_shift</a><span class="src-sym">(</span><span class="src-var">$httpHeaders</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a199"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a200"></a> </div></li> -<li><div class="src-line"><a name="a201"></a> <span class="src-comm">//Look for the Content-Type response header and determine type</span></div></li> -<li><div class="src-line"><a name="a202"></a> <span class="src-comm">//and encoding from it (if possible - such as 'Content-Type: text/plain; charset=UTF-8')</span></div></li> -<li><div class="src-line"><a name="a203"></a> <span class="src-key">foreach </span><span class="src-sym">(</span><span class="src-var">$httpHeaders </span><span class="src-key">as </span><span class="src-var">$header</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a204"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a205"></a> <span class="src-comm">// look for the header that starts appropriately</span></div></li> -<li><div class="src-line"><a name="a206"></a> <span class="src-key">if </span><span class="src-sym">(</span><a href="http://www.php.net/strncasecmp">strncasecmp</a><span class="src-sym">(</span><span class="src-var">$header</span><span class="src-sym">, </span><span class="src-str">'Content-Type:'</span><span class="src-sym">, </span><span class="src-num">13</span><span class="src-sym">) </span>== <span class="src-num">0</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a207"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a208"></a> <span class="src-var">$contentType </span>= <a href="http://www.php.net/substr">substr</a><span class="src-sym">(</span><span class="src-var">$header</span><span class="src-sym">, </span><span class="src-num">13</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a209"></a> <span class="src-key">break</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a210"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a211"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a212"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a213"></a> </div></li> -<li><div class="src-line"><a name="a214"></a> <span class="src-key">return </span><span class="src-key">new </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_HttpTransport_Response.html">Apache_Solr_HttpTransport_Response</a></span><span class="src-sym">(</span><span class="src-var">$status</span><span class="src-sym">, </span><span class="src-var">$contentType</span><span class="src-sym">, </span><span class="src-var">$rawResponse</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a215"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a216"></a><span class="src-sym">}</span></div></li> -</ol></div> -</div> - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:14 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_HttpTransportInterface.php.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_HttpTransportInterface.php.html deleted file mode 100644 index 24be1b0522497d97c7e996155b3e50935d48b8b7..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_HttpTransportInterface.php.html +++ /dev/null @@ -1,114 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>File Source for Interface.php</title> - <link rel="stylesheet" href="../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <h1>Source for file Interface.php</h1> -<p>Documentation is available at <a href="../Apache/Solr/_HttpTransport---Interface.php.html">Interface.php</a></p> -<div class="src-code"> -<div class="src-code"><ol><li><div class="src-line"><a name="a1"></a><span class="src-php"><?php</span></div></li> -<li><div class="src-line"><a name="a2"></a><span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a3"></a><span class="src-doc"> * Copyright (c) 2007-2011, Servigistics, Inc.</span></div></li> -<li><div class="src-line"><a name="a4"></a><span class="src-doc"> * All rights reserved.</span></div></li> -<li><div class="src-line"><a name="a5"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a6"></a><span class="src-doc"> * Redistribution and use in source and binary forms, with or without</span></div></li> -<li><div class="src-line"><a name="a7"></a><span class="src-doc"> * modification, are permitted provided that the following conditions are met:</span></div></li> -<li><div class="src-line"><a name="a8"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a9"></a><span class="src-doc"> * - Redistributions of source code must retain the above copyright notice,</span></div></li> -<li><div class="src-line"><a name="a10"></a><span class="src-doc"> * this list of conditions and the following disclaimer.</span></div></li> -<li><div class="src-line"><a name="a11"></a><span class="src-doc"> * - Redistributions in binary form must reproduce the above copyright</span></div></li> -<li><div class="src-line"><a name="a12"></a><span class="src-doc"> * notice, this list of conditions and the following disclaimer in the</span></div></li> -<li><div class="src-line"><a name="a13"></a><span class="src-doc"> * documentation and/or other materials provided with the distribution.</span></div></li> -<li><div class="src-line"><a name="a14"></a><span class="src-doc"> * - Neither the name of Servigistics, Inc. nor the names of</span></div></li> -<li><div class="src-line"><a name="a15"></a><span class="src-doc"> * its contributors may be used to endorse or promote products derived from</span></div></li> -<li><div class="src-line"><a name="a16"></a><span class="src-doc"> * this software without specific prior written permission.</span></div></li> -<li><div class="src-line"><a name="a17"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a18"></a><span class="src-doc"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span></div></li> -<li><div class="src-line"><a name="a19"></a><span class="src-doc"> * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div></li> -<li><div class="src-line"><a name="a20"></a><span class="src-doc"> * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span></div></li> -<li><div class="src-line"><a name="a21"></a><span class="src-doc"> * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span></div></li> -<li><div class="src-line"><a name="a22"></a><span class="src-doc"> * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span></div></li> -<li><div class="src-line"><a name="a23"></a><span class="src-doc"> * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span></div></li> -<li><div class="src-line"><a name="a24"></a><span class="src-doc"> * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span></div></li> -<li><div class="src-line"><a name="a25"></a><span class="src-doc"> * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span></div></li> -<li><div class="src-line"><a name="a26"></a><span class="src-doc"> * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span></div></li> -<li><div class="src-line"><a name="a27"></a><span class="src-doc"> * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE</span></div></li> -<li><div class="src-line"><a name="a28"></a><span class="src-doc"> * POSSIBILITY OF SUCH DAMAGE.</span></div></li> -<li><div class="src-line"><a name="a29"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a30"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@copyright</span><span class="src-doc"> Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com)</span></div></li> -<li><div class="src-line"><a name="a31"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@license</span><span class="src-doc"> http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD</span></div></li> -<li><div class="src-line"><a name="a32"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@version</span><span class="src-doc"> $Id: $</span></div></li> -<li><div class="src-line"><a name="a33"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a34"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@package</span><span class="src-doc"> Apache</span></div></li> -<li><div class="src-line"><a name="a35"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@subpackage</span><span class="src-doc"> Solr</span></div></li> -<li><div class="src-line"><a name="a36"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@author</span><span class="src-doc"> Timo Schmidt <timo.schmidt@aoemedia.de>, Donovan Jimenez <djimenez@conduit-it.com></span></div></li> -<li><div class="src-line"><a name="a37"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a38"></a> </div></li> -<li><div class="src-line"><a name="a39"></a><span class="src-comm">// require Apache_Solr_HttpTransport_Response</span></div></li> -<li><div class="src-line"><a name="a40"></a><span class="src-inc">require_once</span><span class="src-sym">(</span><span class="src-id">dirname</span><span class="src-sym">(</span>__FILE__<span class="src-sym">) </span>. <span class="src-str">'/Response.php'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a41"></a> </div></li> -<li><div class="src-line"><a name="a42"></a><span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a43"></a><span class="src-doc"> * Interface that all Transport (HTTP Requester) implementations must implement. These</span></div></li> -<li><div class="src-line"><a name="a44"></a><span class="src-doc"> * Implementations can then be plugged into the Service instance in order to user their</span></div></li> -<li><div class="src-line"><a name="a45"></a><span class="src-doc"> * the desired method for making HTTP requests</span></div></li> -<li><div class="src-line"><a name="a46"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a47"></a><span class="src-key">interface </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Interface.html">Apache_Solr_HttpTransport_Interface</a></div></li> -<li><div class="src-line"><a name="a48"></a><span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a49"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a50"></a><span class="src-doc"> * Get the current default timeout for all HTTP requests</span></div></li> -<li><div class="src-line"><a name="a51"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a52"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">float </span></div></li> -<li><div class="src-line"><a name="a53"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a54"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Interface.html#methodgetDefaultTimeout">getDefaultTimeout</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a55"></a> </div></li> -<li><div class="src-line"><a name="a56"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a57"></a><span class="src-doc"> * Set the current default timeout for all HTTP requests</span></div></li> -<li><div class="src-line"><a name="a58"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a59"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">float </span><span class="src-doc-var">$timeout </span></div></li> -<li><div class="src-line"><a name="a60"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a61"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Interface.html#methodsetDefaultTimeout">setDefaultTimeout</a><span class="src-sym">(</span><span class="src-var">$timeout</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a62"></a> </div></li> -<li><div class="src-line"><a name="a63"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a64"></a><span class="src-doc"> * Perform a GET HTTP operation with an optional timeout and return the response</span></div></li> -<li><div class="src-line"><a name="a65"></a><span class="src-doc"> * contents, use getLastResponseHeaders to retrieve HTTP headers</span></div></li> -<li><div class="src-line"><a name="a66"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a67"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$url </span></div></li> -<li><div class="src-line"><a name="a68"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">float </span><span class="src-doc-var">$timeout </span></div></li> -<li><div class="src-line"><a name="a69"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">Apache_Solr_HttpTransport_Response </span><span class="src-doc">HTTP response</span></div></li> -<li><div class="src-line"><a name="a70"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a71"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Interface.html#methodperformGetRequest">performGetRequest</a><span class="src-sym">(</span><span class="src-var">$url</span><span class="src-sym">, </span><span class="src-var">$timeout </span>= <span class="src-id">false</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a72"></a> </div></li> -<li><div class="src-line"><a name="a73"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a74"></a><span class="src-doc"> * Perform a HEAD HTTP operation with an optional timeout and return the response</span></div></li> -<li><div class="src-line"><a name="a75"></a><span class="src-doc"> * headers - NOTE: head requests have no response body</span></div></li> -<li><div class="src-line"><a name="a76"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a77"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$url </span></div></li> -<li><div class="src-line"><a name="a78"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">float </span><span class="src-doc-var">$timeout </span></div></li> -<li><div class="src-line"><a name="a79"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">Apache_Solr_HttpTransport_Response </span><span class="src-doc">HTTP response</span></div></li> -<li><div class="src-line"><a name="a80"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a81"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Interface.html#methodperformHeadRequest">performHeadRequest</a><span class="src-sym">(</span><span class="src-var">$url</span><span class="src-sym">, </span><span class="src-var">$timeout </span>= <span class="src-id">false</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a82"></a> </div></li> -<li><div class="src-line"><a name="a83"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a84"></a><span class="src-doc"> * Perform a POST HTTP operation with an optional timeout and return the response</span></div></li> -<li><div class="src-line"><a name="a85"></a><span class="src-doc"> * contents, use getLastResponseHeaders to retrieve HTTP headers</span></div></li> -<li><div class="src-line"><a name="a86"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a87"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$url </span></div></li> -<li><div class="src-line"><a name="a88"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$rawPost </span></div></li> -<li><div class="src-line"><a name="a89"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$contentType </span></div></li> -<li><div class="src-line"><a name="a90"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">float </span><span class="src-doc-var">$timeout </span></div></li> -<li><div class="src-line"><a name="a91"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">Apache_Solr_HttpTransport_Response </span><span class="src-doc">HTTP response</span></div></li> -<li><div class="src-line"><a name="a92"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a93"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Interface.html#methodperformPostRequest">performPostRequest</a><span class="src-sym">(</span><span class="src-var">$url</span><span class="src-sym">, </span><span class="src-var">$rawPost</span><span class="src-sym">, </span><span class="src-var">$contentType</span><span class="src-sym">, </span><span class="src-var">$timeout </span>= <span class="src-id">false</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a94"></a><span class="src-sym">}</span></div></li> -</ol></div> -</div> - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:15 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_HttpTransportResponse.php.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_HttpTransportResponse.php.html deleted file mode 100644 index 4ad92f51ce29acec71fbfffd3ae1158546753c6f..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_HttpTransportResponse.php.html +++ /dev/null @@ -1,275 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>File Source for Response.php</title> - <link rel="stylesheet" href="../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <h1>Source for file Response.php</h1> -<p>Documentation is available at <a href="../Apache/Solr/_HttpTransport---Response.php.html">Response.php</a></p> -<div class="src-code"> -<div class="src-code"><ol><li><div class="src-line"><a name="a1"></a><span class="src-php"><?php</span></div></li> -<li><div class="src-line"><a name="a2"></a><span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a3"></a><span class="src-doc"> * Copyright (c) 2007-2011, Servigistics, Inc.</span></div></li> -<li><div class="src-line"><a name="a4"></a><span class="src-doc"> * All rights reserved.</span></div></li> -<li><div class="src-line"><a name="a5"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a6"></a><span class="src-doc"> * Redistribution and use in source and binary forms, with or without</span></div></li> -<li><div class="src-line"><a name="a7"></a><span class="src-doc"> * modification, are permitted provided that the following conditions are met:</span></div></li> -<li><div class="src-line"><a name="a8"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a9"></a><span class="src-doc"> * - Redistributions of source code must retain the above copyright notice,</span></div></li> -<li><div class="src-line"><a name="a10"></a><span class="src-doc"> * this list of conditions and the following disclaimer.</span></div></li> -<li><div class="src-line"><a name="a11"></a><span class="src-doc"> * - Redistributions in binary form must reproduce the above copyright</span></div></li> -<li><div class="src-line"><a name="a12"></a><span class="src-doc"> * notice, this list of conditions and the following disclaimer in the</span></div></li> -<li><div class="src-line"><a name="a13"></a><span class="src-doc"> * documentation and/or other materials provided with the distribution.</span></div></li> -<li><div class="src-line"><a name="a14"></a><span class="src-doc"> * - Neither the name of Servigistics, Inc. nor the names of</span></div></li> -<li><div class="src-line"><a name="a15"></a><span class="src-doc"> * its contributors may be used to endorse or promote products derived from</span></div></li> -<li><div class="src-line"><a name="a16"></a><span class="src-doc"> * this software without specific prior written permission.</span></div></li> -<li><div class="src-line"><a name="a17"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a18"></a><span class="src-doc"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span></div></li> -<li><div class="src-line"><a name="a19"></a><span class="src-doc"> * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div></li> -<li><div class="src-line"><a name="a20"></a><span class="src-doc"> * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span></div></li> -<li><div class="src-line"><a name="a21"></a><span class="src-doc"> * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span></div></li> -<li><div class="src-line"><a name="a22"></a><span class="src-doc"> * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span></div></li> -<li><div class="src-line"><a name="a23"></a><span class="src-doc"> * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span></div></li> -<li><div class="src-line"><a name="a24"></a><span class="src-doc"> * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span></div></li> -<li><div class="src-line"><a name="a25"></a><span class="src-doc"> * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span></div></li> -<li><div class="src-line"><a name="a26"></a><span class="src-doc"> * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span></div></li> -<li><div class="src-line"><a name="a27"></a><span class="src-doc"> * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE</span></div></li> -<li><div class="src-line"><a name="a28"></a><span class="src-doc"> * POSSIBILITY OF SUCH DAMAGE.</span></div></li> -<li><div class="src-line"><a name="a29"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a30"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@copyright</span><span class="src-doc"> Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com)</span></div></li> -<li><div class="src-line"><a name="a31"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@license</span><span class="src-doc"> http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD</span></div></li> -<li><div class="src-line"><a name="a32"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@version</span><span class="src-doc"> $Id: $</span></div></li> -<li><div class="src-line"><a name="a33"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a34"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@package</span><span class="src-doc"> Apache</span></div></li> -<li><div class="src-line"><a name="a35"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@subpackage</span><span class="src-doc"> Solr</span></div></li> -<li><div class="src-line"><a name="a36"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@author</span><span class="src-doc"> Donovan Jimenez <djimenez@conduit-it.com></span></div></li> -<li><div class="src-line"><a name="a37"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a38"></a> </div></li> -<li><div class="src-line"><a name="a39"></a><span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a40"></a><span class="src-doc"> * Represents the required pieces of an HTTP response provided by HTTP transport</span></div></li> -<li><div class="src-line"><a name="a41"></a><span class="src-doc"> * implementations and then consumed by the Apache_Solr_Response class which provides</span></div></li> -<li><div class="src-line"><a name="a42"></a><span class="src-doc"> * decoding</span></div></li> -<li><div class="src-line"><a name="a43"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a44"></a><span class="src-key">class </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Response.html">Apache_Solr_HttpTransport_Response</a></div></li> -<li><div class="src-line"><a name="a45"></a><span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a46"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a47"></a><span class="src-doc"> * Status Messages indexed by Status Code</span></div></li> -<li><div class="src-line"><a name="a48"></a><span class="src-doc"> * Obtained from: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html</span></div></li> -<li><div class="src-line"><a name="a49"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a50"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@var </span><span class="src-doc-type">array </span></div></li> -<li><div class="src-line"><a name="a51"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a52"></a> <span class="src-key">static </span><span class="src-key">private </span><span class="src-var">$_defaultStatusMessages </span>= <span class="src-key">array</span><span class="src-sym">(</span></div></li> -<li><div class="src-line"><a name="a53"></a> <span class="src-comm">// Specific to PHP Solr Client</span></div></li> -<li><div class="src-line"><a name="a54"></a> <span class="src-num">0 </span>=> <span class="src-str">"Communication Error"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a55"></a> </div></li> -<li><div class="src-line"><a name="a56"></a> <span class="src-comm">// Informational 1XX</span></div></li> -<li><div class="src-line"><a name="a57"></a> <span class="src-num">100 </span>=> <span class="src-str">"Continue"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a58"></a> <span class="src-num">101 </span>=> <span class="src-str">"Switching Protocols"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a59"></a> </div></li> -<li><div class="src-line"><a name="a60"></a> <span class="src-comm">// Successful 2XX</span></div></li> -<li><div class="src-line"><a name="a61"></a> <span class="src-num">200 </span>=> <span class="src-str">"OK"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a62"></a> <span class="src-num">201 </span>=> <span class="src-str">"Created"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a63"></a> <span class="src-num">202 </span>=> <span class="src-str">"Accepted"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a64"></a> <span class="src-num">203 </span>=> <span class="src-str">"Non-Authoritative Information"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a65"></a> <span class="src-num">204 </span>=> <span class="src-str">"No Content"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a66"></a> <span class="src-num">205 </span>=> <span class="src-str">"Reset Content"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a67"></a> <span class="src-num">206 </span>=> <span class="src-str">"Partial Content"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a68"></a> </div></li> -<li><div class="src-line"><a name="a69"></a> <span class="src-comm">// Redirection 3XX</span></div></li> -<li><div class="src-line"><a name="a70"></a> <span class="src-num">300 </span>=> <span class="src-str">"Multiple Choices"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a71"></a> <span class="src-num">301 </span>=> <span class="src-str">"Moved Permanently"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a72"></a> <span class="src-num">302 </span>=> <span class="src-str">"Found"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a73"></a> <span class="src-num">303 </span>=> <span class="src-str">"See Other"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a74"></a> <span class="src-num">304 </span>=> <span class="src-str">"Not Modified"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a75"></a> <span class="src-num">305 </span>=> <span class="src-str">"Use Proxy"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a76"></a> <span class="src-num">307 </span>=> <span class="src-str">"Temporary Redirect"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a77"></a> </div></li> -<li><div class="src-line"><a name="a78"></a> <span class="src-comm">// Client Error 4XX</span></div></li> -<li><div class="src-line"><a name="a79"></a> <span class="src-num">400 </span>=> <span class="src-str">"Bad Request"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a80"></a> <span class="src-num">401 </span>=> <span class="src-str">"Unauthorized"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a81"></a> <span class="src-num">402 </span>=> <span class="src-str">"Payment Required"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a82"></a> <span class="src-num">403 </span>=> <span class="src-str">"Forbidden"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a83"></a> <span class="src-num">404 </span>=> <span class="src-str">"Not Found"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a84"></a> <span class="src-num">405 </span>=> <span class="src-str">"Method Not Allowed"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a85"></a> <span class="src-num">406 </span>=> <span class="src-str">"Not Acceptable"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a86"></a> <span class="src-num">407 </span>=> <span class="src-str">"Proxy Authentication Required"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a87"></a> <span class="src-num">408 </span>=> <span class="src-str">"Request Timeout"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a88"></a> <span class="src-num">409 </span>=> <span class="src-str">"Conflict"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a89"></a> <span class="src-num">410 </span>=> <span class="src-str">"Gone"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a90"></a> <span class="src-num">411 </span>=> <span class="src-str">"Length Required"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a91"></a> <span class="src-num">412 </span>=> <span class="src-str">"Precondition Failed"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a92"></a> <span class="src-num">413 </span>=> <span class="src-str">"Request Entity Too Large"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a93"></a> <span class="src-num">414 </span>=> <span class="src-str">"Request-URI Too Long"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a94"></a> <span class="src-num">415 </span>=> <span class="src-str">"Unsupported Media Type"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a95"></a> <span class="src-num">416 </span>=> <span class="src-str">"Request Range Not Satisfiable"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a96"></a> <span class="src-num">417 </span>=> <span class="src-str">"Expectation Failed"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a97"></a> </div></li> -<li><div class="src-line"><a name="a98"></a> <span class="src-comm">// Server Error 5XX</span></div></li> -<li><div class="src-line"><a name="a99"></a> <span class="src-num">500 </span>=> <span class="src-str">"Internal Server Error"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a100"></a> <span class="src-num">501 </span>=> <span class="src-str">"Not Implemented"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a101"></a> <span class="src-num">502 </span>=> <span class="src-str">"Bad Gateway"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a102"></a> <span class="src-num">503 </span>=> <span class="src-str">"Service Unavailable"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a103"></a> <span class="src-num">504 </span>=> <span class="src-str">"Gateway Timeout"</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a104"></a> <span class="src-num">505 </span>=> <span class="src-str">"HTTP Version Not Supported"</span></div></li> -<li><div class="src-line"><a name="a105"></a> <span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a106"></a> </div></li> -<li><div class="src-line"><a name="a107"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a108"></a><span class="src-doc"> * Get the HTTP status message based on status code</span></div></li> -<li><div class="src-line"><a name="a109"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a110"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">string </span></div></li> -<li><div class="src-line"><a name="a111"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a112"></a> <span class="src-key">public </span><span class="src-key">static </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Response.html#methodgetDefaultStatusMessage">getDefaultStatusMessage</a><span class="src-sym">(</span><span class="src-var">$statusCode</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a113"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a114"></a> <span class="src-var">$statusCode </span>= (int) <span class="src-var">$statusCode</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a115"></a> </div></li> -<li><div class="src-line"><a name="a116"></a> <span class="src-key">if </span><span class="src-sym">(</span>isset<span class="src-sym">(</span><span class="src-id">self</span><span class="src-sym">::</span><span class="src-var">$_defaultStatusMessages</span><span class="src-sym">[</span><span class="src-var">$statusCode</span><span class="src-sym">]</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a117"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a118"></a> <span class="src-key">return </span><span class="src-id">self</span><span class="src-sym">::</span><span class="src-var">$_defaultStatusMessages</span><span class="src-sym">[</span><span class="src-var">$statusCode</span><span class="src-sym">]</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a119"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a120"></a> </div></li> -<li><div class="src-line"><a name="a121"></a> <span class="src-key">return </span><span class="src-str">"Unknown Status"</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a122"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a123"></a> </div></li> -<li><div class="src-line"><a name="a124"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a125"></a><span class="src-doc"> * The response's HTTP status code</span></div></li> -<li><div class="src-line"><a name="a126"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a127"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@var </span><span class="src-doc-type">integer </span></div></li> -<li><div class="src-line"><a name="a128"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a129"></a> <span class="src-key">private </span><span class="src-var">$_statusCode</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a130"></a> </div></li> -<li><div class="src-line"><a name="a131"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a132"></a><span class="src-doc"> * The response's HTTP status message</span></div></li> -<li><div class="src-line"><a name="a133"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a134"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@var </span><span class="src-doc-type">string </span></div></li> -<li><div class="src-line"><a name="a135"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a136"></a> <span class="src-key">private </span><span class="src-var">$_statusMessage</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a137"></a> </div></li> -<li><div class="src-line"><a name="a138"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a139"></a><span class="src-doc"> * The response's mime type</span></div></li> -<li><div class="src-line"><a name="a140"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a141"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@var </span><span class="src-doc-type">string </span></div></li> -<li><div class="src-line"><a name="a142"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a143"></a> <span class="src-key">private </span><span class="src-var">$_mimeType</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a144"></a> </div></li> -<li><div class="src-line"><a name="a145"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a146"></a><span class="src-doc"> * The response's character encoding</span></div></li> -<li><div class="src-line"><a name="a147"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a148"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@var </span><span class="src-doc-type">string </span></div></li> -<li><div class="src-line"><a name="a149"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a150"></a> <span class="src-key">private </span><span class="src-var">$_encoding</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a151"></a> </div></li> -<li><div class="src-line"><a name="a152"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a153"></a><span class="src-doc"> * The response's data</span></div></li> -<li><div class="src-line"><a name="a154"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a155"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@var </span><span class="src-doc-type">string </span></div></li> -<li><div class="src-line"><a name="a156"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a157"></a> <span class="src-key">private </span><span class="src-var">$_responseBody</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a158"></a> </div></li> -<li><div class="src-line"><a name="a159"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a160"></a><span class="src-doc"> * Construct a HTTP transport response</span></div></li> -<li><div class="src-line"><a name="a161"></a><span class="src-doc"> * </span></div></li> -<li><div class="src-line"><a name="a162"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">integer </span><span class="src-doc-var">$statusCode </span><span class="src-doc">The HTTP status code</span></div></li> -<li><div class="src-line"><a name="a163"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$contentType </span><span class="src-doc">The VALUE of the Content-Type HTTP header</span></div></li> -<li><div class="src-line"><a name="a164"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$responseBody </span><span class="src-doc">The body of the HTTP response</span></div></li> -<li><div class="src-line"><a name="a165"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a166"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Response.html#method__construct">__construct</a><span class="src-sym">(</span><span class="src-var">$statusCode</span><span class="src-sym">, </span><span class="src-var">$contentType</span><span class="src-sym">, </span><span class="src-var">$responseBody</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a167"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a168"></a> <span class="src-comm">// set the status code, make sure its an integer</span></div></li> -<li><div class="src-line"><a name="a169"></a> <span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_statusCode </span>= (int) <span class="src-var">$statusCode</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a170"></a> </div></li> -<li><div class="src-line"><a name="a171"></a> <span class="src-comm">// lookup up status message based on code</span></div></li> -<li><div class="src-line"><a name="a172"></a> <span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_statusMessage </span>= <span class="src-id">self</span><span class="src-sym">::</span><span class="src-id">getDefaultStatusMessage</span><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_statusCode</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a173"></a> </div></li> -<li><div class="src-line"><a name="a174"></a> <span class="src-comm">// set the response body, it should always be a string</span></div></li> -<li><div class="src-line"><a name="a175"></a> <span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_responseBody </span>= (string) <span class="src-var">$responseBody</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a176"></a> </div></li> -<li><div class="src-line"><a name="a177"></a> <span class="src-comm">// parse the content type header value for mimetype and encoding</span></div></li> -<li><div class="src-line"><a name="a178"></a> <span class="src-comm">// first set default values that will remain if we can't find</span></div></li> -<li><div class="src-line"><a name="a179"></a> <span class="src-comm">// what we're looking for in the content type</span></div></li> -<li><div class="src-line"><a name="a180"></a> <span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_mimeType </span>= <span class="src-str">"text/plain"</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a181"></a> <span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_encoding </span>= <span class="src-str">"UTF-8"</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a182"></a> </div></li> -<li><div class="src-line"><a name="a183"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$contentType</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a184"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a185"></a> <span class="src-comm">// now break apart the header to see if there's character encoding</span></div></li> -<li><div class="src-line"><a name="a186"></a> <span class="src-var">$contentTypeParts </span>= <a href="http://www.php.net/explode">explode</a><span class="src-sym">(</span><span class="src-str">';'</span><span class="src-sym">, </span><span class="src-var">$contentType</span><span class="src-sym">, </span><span class="src-num">2</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a187"></a> </div></li> -<li><div class="src-line"><a name="a188"></a> <span class="src-key">if </span><span class="src-sym">(</span>isset<span class="src-sym">(</span><span class="src-var">$contentTypeParts</span><span class="src-sym">[</span><span class="src-num">0</span><span class="src-sym">]</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a189"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a190"></a> <span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_mimeType </span>= <a href="http://www.php.net/trim">trim</a><span class="src-sym">(</span><span class="src-var">$contentTypeParts</span><span class="src-sym">[</span><span class="src-num">0</span><span class="src-sym">]</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a191"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a192"></a> </div></li> -<li><div class="src-line"><a name="a193"></a> <span class="src-key">if </span><span class="src-sym">(</span>isset<span class="src-sym">(</span><span class="src-var">$contentTypeParts</span><span class="src-sym">[</span><span class="src-num">1</span><span class="src-sym">]</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a194"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a195"></a> <span class="src-comm">// we have a second part, split it further</span></div></li> -<li><div class="src-line"><a name="a196"></a> <span class="src-var">$contentTypeParts </span>= <a href="http://www.php.net/explode">explode</a><span class="src-sym">(</span><span class="src-str">'='</span><span class="src-sym">, </span><span class="src-var">$contentTypeParts</span><span class="src-sym">[</span><span class="src-num">1</span><span class="src-sym">]</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a197"></a> </div></li> -<li><div class="src-line"><a name="a198"></a> <span class="src-key">if </span><span class="src-sym">(</span>isset<span class="src-sym">(</span><span class="src-var">$contentTypeParts</span><span class="src-sym">[</span><span class="src-num">1</span><span class="src-sym">]</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a199"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a200"></a> <span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_encoding </span>= <a href="http://www.php.net/trim">trim</a><span class="src-sym">(</span><span class="src-var">$contentTypeParts</span><span class="src-sym">[</span><span class="src-num">1</span><span class="src-sym">]</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a201"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a202"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a203"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a204"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a205"></a> </div></li> -<li><div class="src-line"><a name="a206"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a207"></a><span class="src-doc"> * Get the status code of the response</span></div></li> -<li><div class="src-line"><a name="a208"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a209"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">integer </span></div></li> -<li><div class="src-line"><a name="a210"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a211"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Response.html#methodgetStatusCode">getStatusCode</a><span class="src-sym">(</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a212"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a213"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_statusCode</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a214"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a215"></a> </div></li> -<li><div class="src-line"><a name="a216"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a217"></a><span class="src-doc"> * Get the status message of the response</span></div></li> -<li><div class="src-line"><a name="a218"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a219"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">string </span></div></li> -<li><div class="src-line"><a name="a220"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a221"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Response.html#methodgetStatusMessage">getStatusMessage</a><span class="src-sym">(</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a222"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a223"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_statusMessage</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a224"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a225"></a> </div></li> -<li><div class="src-line"><a name="a226"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a227"></a><span class="src-doc"> * Get the mimetype of the response body</span></div></li> -<li><div class="src-line"><a name="a228"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a229"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">string </span></div></li> -<li><div class="src-line"><a name="a230"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a231"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Response.html#methodgetMimeType">getMimeType</a><span class="src-sym">(</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a232"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a233"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_mimeType</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a234"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a235"></a> </div></li> -<li><div class="src-line"><a name="a236"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a237"></a><span class="src-doc"> * Get the charset encoding of the response body.</span></div></li> -<li><div class="src-line"><a name="a238"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a239"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">string </span></div></li> -<li><div class="src-line"><a name="a240"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a241"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Response.html#methodgetEncoding">getEncoding</a><span class="src-sym">(</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a242"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a243"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_encoding</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a244"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a245"></a> </div></li> -<li><div class="src-line"><a name="a246"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a247"></a><span class="src-doc"> * Get the raw response body</span></div></li> -<li><div class="src-line"><a name="a248"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a249"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">string </span></div></li> -<li><div class="src-line"><a name="a250"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a251"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Response.html#methodgetBody">getBody</a><span class="src-sym">(</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a252"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a253"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_responseBody</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a254"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a255"></a><span class="src-sym">}</span></div></li> -</ol></div> -</div> - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:16 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_InvalidArgumentException.php.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_InvalidArgumentException.php.html deleted file mode 100644 index 5f7d4e81d3a18ebe7b0570a6ffb91c530aad5470..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_InvalidArgumentException.php.html +++ /dev/null @@ -1,70 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>File Source for InvalidArgumentException.php</title> - <link rel="stylesheet" href="../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <h1>Source for file InvalidArgumentException.php</h1> -<p>Documentation is available at <a href="../Apache/Solr/_InvalidArgumentException.php.html">InvalidArgumentException.php</a></p> -<div class="src-code"> -<div class="src-code"><ol><li><div class="src-line"><a name="a1"></a><span class="src-php"><?php</span></div></li> -<li><div class="src-line"><a name="a2"></a><span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a3"></a><span class="src-doc"> * Copyright (c) 2007-2011, Servigistics, Inc.</span></div></li> -<li><div class="src-line"><a name="a4"></a><span class="src-doc"> * All rights reserved.</span></div></li> -<li><div class="src-line"><a name="a5"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a6"></a><span class="src-doc"> * Redistribution and use in source and binary forms, with or without</span></div></li> -<li><div class="src-line"><a name="a7"></a><span class="src-doc"> * modification, are permitted provided that the following conditions are met:</span></div></li> -<li><div class="src-line"><a name="a8"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a9"></a><span class="src-doc"> * - Redistributions of source code must retain the above copyright notice,</span></div></li> -<li><div class="src-line"><a name="a10"></a><span class="src-doc"> * this list of conditions and the following disclaimer.</span></div></li> -<li><div class="src-line"><a name="a11"></a><span class="src-doc"> * - Redistributions in binary form must reproduce the above copyright</span></div></li> -<li><div class="src-line"><a name="a12"></a><span class="src-doc"> * notice, this list of conditions and the following disclaimer in the</span></div></li> -<li><div class="src-line"><a name="a13"></a><span class="src-doc"> * documentation and/or other materials provided with the distribution.</span></div></li> -<li><div class="src-line"><a name="a14"></a><span class="src-doc"> * - Neither the name of Servigistics, Inc. nor the names of</span></div></li> -<li><div class="src-line"><a name="a15"></a><span class="src-doc"> * its contributors may be used to endorse or promote products derived from</span></div></li> -<li><div class="src-line"><a name="a16"></a><span class="src-doc"> * this software without specific prior written permission.</span></div></li> -<li><div class="src-line"><a name="a17"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a18"></a><span class="src-doc"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span></div></li> -<li><div class="src-line"><a name="a19"></a><span class="src-doc"> * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div></li> -<li><div class="src-line"><a name="a20"></a><span class="src-doc"> * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span></div></li> -<li><div class="src-line"><a name="a21"></a><span class="src-doc"> * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span></div></li> -<li><div class="src-line"><a name="a22"></a><span class="src-doc"> * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span></div></li> -<li><div class="src-line"><a name="a23"></a><span class="src-doc"> * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span></div></li> -<li><div class="src-line"><a name="a24"></a><span class="src-doc"> * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span></div></li> -<li><div class="src-line"><a name="a25"></a><span class="src-doc"> * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span></div></li> -<li><div class="src-line"><a name="a26"></a><span class="src-doc"> * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span></div></li> -<li><div class="src-line"><a name="a27"></a><span class="src-doc"> * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE</span></div></li> -<li><div class="src-line"><a name="a28"></a><span class="src-doc"> * POSSIBILITY OF SUCH DAMAGE.</span></div></li> -<li><div class="src-line"><a name="a29"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a30"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@copyright</span><span class="src-doc"> Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com)</span></div></li> -<li><div class="src-line"><a name="a31"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@license</span><span class="src-doc"> http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD</span></div></li> -<li><div class="src-line"><a name="a32"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@version</span><span class="src-doc"> $Id: InvalidArgumentException.php 54 2011-02-04 16:29:18Z donovan.jimenez $</span></div></li> -<li><div class="src-line"><a name="a33"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a34"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@package</span><span class="src-doc"> Apache</span></div></li> -<li><div class="src-line"><a name="a35"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@subpackage</span><span class="src-doc"> Solr</span></div></li> -<li><div class="src-line"><a name="a36"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@author</span><span class="src-doc"> Donovan Jimenez <djimenez@conduit-it.com></span></div></li> -<li><div class="src-line"><a name="a37"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a38"></a> </div></li> -<li><div class="src-line"><a name="a39"></a><span class="src-key">class </span><a href="../Apache/Solr/Apache_Solr_InvalidArgumentException.html">Apache_Solr_InvalidArgumentException</a> <span class="src-key">extends </span><a href="../Apache/Solr/Apache_Solr_Exception.html">Apache_Solr_Exception</a></div></li> -<li><div class="src-line"><a name="a40"></a><span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a41"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a42"></a><span class="src-doc"> * SVN Revision meta data for this class</span></div></li> -<li><div class="src-line"><a name="a43"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a44"></a> <span class="src-key">const </span><a href="../Apache/Solr/Apache_Solr_InvalidArgumentException.html#constSVN_REVISION">SVN_REVISION</a> = <span class="src-str">'$Revision: 54 $'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a45"></a> </div></li> -<li><div class="src-line"><a name="a46"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a47"></a><span class="src-doc"> * SVN ID meta data for this class</span></div></li> -<li><div class="src-line"><a name="a48"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a49"></a> <span class="src-key">const </span><a href="../Apache/Solr/Apache_Solr_InvalidArgumentException.html#constSVN_ID">SVN_ID</a> = <span class="src-str">'$Id: InvalidArgumentException.php 54 2011-02-04 16:29:18Z donovan.jimenez $'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a50"></a><span class="src-sym">}</span></div></li> -</ol></div> -</div> - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:15 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_NoServiceAvailableException.php.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_NoServiceAvailableException.php.html deleted file mode 100644 index 00a144e7596cdaba7ff41e09326c4518a82574d3..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_NoServiceAvailableException.php.html +++ /dev/null @@ -1,70 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>File Source for NoServiceAvailableException.php</title> - <link rel="stylesheet" href="../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <h1>Source for file NoServiceAvailableException.php</h1> -<p>Documentation is available at <a href="../Apache/Solr/_NoServiceAvailableException.php.html">NoServiceAvailableException.php</a></p> -<div class="src-code"> -<div class="src-code"><ol><li><div class="src-line"><a name="a1"></a><span class="src-php"><?php</span></div></li> -<li><div class="src-line"><a name="a2"></a><span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a3"></a><span class="src-doc"> * Copyright (c) 2007-2011, Servigistics, Inc.</span></div></li> -<li><div class="src-line"><a name="a4"></a><span class="src-doc"> * All rights reserved.</span></div></li> -<li><div class="src-line"><a name="a5"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a6"></a><span class="src-doc"> * Redistribution and use in source and binary forms, with or without</span></div></li> -<li><div class="src-line"><a name="a7"></a><span class="src-doc"> * modification, are permitted provided that the following conditions are met:</span></div></li> -<li><div class="src-line"><a name="a8"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a9"></a><span class="src-doc"> * - Redistributions of source code must retain the above copyright notice,</span></div></li> -<li><div class="src-line"><a name="a10"></a><span class="src-doc"> * this list of conditions and the following disclaimer.</span></div></li> -<li><div class="src-line"><a name="a11"></a><span class="src-doc"> * - Redistributions in binary form must reproduce the above copyright</span></div></li> -<li><div class="src-line"><a name="a12"></a><span class="src-doc"> * notice, this list of conditions and the following disclaimer in the</span></div></li> -<li><div class="src-line"><a name="a13"></a><span class="src-doc"> * documentation and/or other materials provided with the distribution.</span></div></li> -<li><div class="src-line"><a name="a14"></a><span class="src-doc"> * - Neither the name of Servigistics, Inc. nor the names of</span></div></li> -<li><div class="src-line"><a name="a15"></a><span class="src-doc"> * its contributors may be used to endorse or promote products derived from</span></div></li> -<li><div class="src-line"><a name="a16"></a><span class="src-doc"> * this software without specific prior written permission.</span></div></li> -<li><div class="src-line"><a name="a17"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a18"></a><span class="src-doc"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span></div></li> -<li><div class="src-line"><a name="a19"></a><span class="src-doc"> * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div></li> -<li><div class="src-line"><a name="a20"></a><span class="src-doc"> * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span></div></li> -<li><div class="src-line"><a name="a21"></a><span class="src-doc"> * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span></div></li> -<li><div class="src-line"><a name="a22"></a><span class="src-doc"> * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span></div></li> -<li><div class="src-line"><a name="a23"></a><span class="src-doc"> * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span></div></li> -<li><div class="src-line"><a name="a24"></a><span class="src-doc"> * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span></div></li> -<li><div class="src-line"><a name="a25"></a><span class="src-doc"> * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span></div></li> -<li><div class="src-line"><a name="a26"></a><span class="src-doc"> * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span></div></li> -<li><div class="src-line"><a name="a27"></a><span class="src-doc"> * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE</span></div></li> -<li><div class="src-line"><a name="a28"></a><span class="src-doc"> * POSSIBILITY OF SUCH DAMAGE.</span></div></li> -<li><div class="src-line"><a name="a29"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a30"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@copyright</span><span class="src-doc"> Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com)</span></div></li> -<li><div class="src-line"><a name="a31"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@license</span><span class="src-doc"> http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD</span></div></li> -<li><div class="src-line"><a name="a32"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@version</span><span class="src-doc"> $Id: NoServiceAvailableException.php 54 2011-02-04 16:29:18Z donovan.jimenez $</span></div></li> -<li><div class="src-line"><a name="a33"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a34"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@package</span><span class="src-doc"> Apache</span></div></li> -<li><div class="src-line"><a name="a35"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@subpackage</span><span class="src-doc"> Solr</span></div></li> -<li><div class="src-line"><a name="a36"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@author</span><span class="src-doc"> Donovan Jimenez <djimenez@conduit-it.com></span></div></li> -<li><div class="src-line"><a name="a37"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a38"></a> </div></li> -<li><div class="src-line"><a name="a39"></a><span class="src-key">class </span><a href="../Apache/Solr/Apache_Solr_NoServiceAvailableException.html">Apache_Solr_NoServiceAvailableException</a> <span class="src-key">extends </span><a href="../Apache/Solr/Apache_Solr_Exception.html">Apache_Solr_Exception</a></div></li> -<li><div class="src-line"><a name="a40"></a><span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a41"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a42"></a><span class="src-doc"> * SVN Revision meta data for this class</span></div></li> -<li><div class="src-line"><a name="a43"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a44"></a> <span class="src-key">const </span><a href="../Apache/Solr/Apache_Solr_NoServiceAvailableException.html#constSVN_REVISION">SVN_REVISION</a> = <span class="src-str">'$Revision: 54 $'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a45"></a> </div></li> -<li><div class="src-line"><a name="a46"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a47"></a><span class="src-doc"> * SVN ID meta data for this class</span></div></li> -<li><div class="src-line"><a name="a48"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a49"></a> <span class="src-key">const </span><a href="../Apache/Solr/Apache_Solr_NoServiceAvailableException.html#constSVN_ID">SVN_ID</a> = <span class="src-str">'$Id: NoServiceAvailableException.php 54 2011-02-04 16:29:18Z donovan.jimenez $'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a50"></a><span class="src-sym">}</span></div></li> -</ol></div> -</div> - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:15 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_ParserException.php.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_ParserException.php.html deleted file mode 100644 index 72c0d353fa7bce1ef6576eda3d6a1d6b8022da9f..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_ParserException.php.html +++ /dev/null @@ -1,70 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>File Source for ParserException.php</title> - <link rel="stylesheet" href="../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <h1>Source for file ParserException.php</h1> -<p>Documentation is available at <a href="../Apache/Solr/_ParserException.php.html">ParserException.php</a></p> -<div class="src-code"> -<div class="src-code"><ol><li><div class="src-line"><a name="a1"></a><span class="src-php"><?php</span></div></li> -<li><div class="src-line"><a name="a2"></a><span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a3"></a><span class="src-doc"> * Copyright (c) 2007-2011, Servigistics, Inc.</span></div></li> -<li><div class="src-line"><a name="a4"></a><span class="src-doc"> * All rights reserved.</span></div></li> -<li><div class="src-line"><a name="a5"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a6"></a><span class="src-doc"> * Redistribution and use in source and binary forms, with or without</span></div></li> -<li><div class="src-line"><a name="a7"></a><span class="src-doc"> * modification, are permitted provided that the following conditions are met:</span></div></li> -<li><div class="src-line"><a name="a8"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a9"></a><span class="src-doc"> * - Redistributions of source code must retain the above copyright notice,</span></div></li> -<li><div class="src-line"><a name="a10"></a><span class="src-doc"> * this list of conditions and the following disclaimer.</span></div></li> -<li><div class="src-line"><a name="a11"></a><span class="src-doc"> * - Redistributions in binary form must reproduce the above copyright</span></div></li> -<li><div class="src-line"><a name="a12"></a><span class="src-doc"> * notice, this list of conditions and the following disclaimer in the</span></div></li> -<li><div class="src-line"><a name="a13"></a><span class="src-doc"> * documentation and/or other materials provided with the distribution.</span></div></li> -<li><div class="src-line"><a name="a14"></a><span class="src-doc"> * - Neither the name of Servigistics, Inc. nor the names of</span></div></li> -<li><div class="src-line"><a name="a15"></a><span class="src-doc"> * its contributors may be used to endorse or promote products derived from</span></div></li> -<li><div class="src-line"><a name="a16"></a><span class="src-doc"> * this software without specific prior written permission.</span></div></li> -<li><div class="src-line"><a name="a17"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a18"></a><span class="src-doc"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span></div></li> -<li><div class="src-line"><a name="a19"></a><span class="src-doc"> * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div></li> -<li><div class="src-line"><a name="a20"></a><span class="src-doc"> * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span></div></li> -<li><div class="src-line"><a name="a21"></a><span class="src-doc"> * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span></div></li> -<li><div class="src-line"><a name="a22"></a><span class="src-doc"> * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span></div></li> -<li><div class="src-line"><a name="a23"></a><span class="src-doc"> * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span></div></li> -<li><div class="src-line"><a name="a24"></a><span class="src-doc"> * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span></div></li> -<li><div class="src-line"><a name="a25"></a><span class="src-doc"> * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span></div></li> -<li><div class="src-line"><a name="a26"></a><span class="src-doc"> * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span></div></li> -<li><div class="src-line"><a name="a27"></a><span class="src-doc"> * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE</span></div></li> -<li><div class="src-line"><a name="a28"></a><span class="src-doc"> * POSSIBILITY OF SUCH DAMAGE.</span></div></li> -<li><div class="src-line"><a name="a29"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a30"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@copyright</span><span class="src-doc"> Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com)</span></div></li> -<li><div class="src-line"><a name="a31"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@license</span><span class="src-doc"> http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD</span></div></li> -<li><div class="src-line"><a name="a32"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@version</span><span class="src-doc"> $Id: ParserException.php 54 2011-02-04 16:29:18Z donovan.jimenez $</span></div></li> -<li><div class="src-line"><a name="a33"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a34"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@package</span><span class="src-doc"> Apache</span></div></li> -<li><div class="src-line"><a name="a35"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@subpackage</span><span class="src-doc"> Solr</span></div></li> -<li><div class="src-line"><a name="a36"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@author</span><span class="src-doc"> Donovan Jimenez <djimenez@conduit-it.com></span></div></li> -<li><div class="src-line"><a name="a37"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a38"></a> </div></li> -<li><div class="src-line"><a name="a39"></a><span class="src-key">class </span><a href="../Apache/Solr/Apache_Solr_ParserException.html">Apache_Solr_ParserException</a> <span class="src-key">extends </span><a href="../Apache/Solr/Apache_Solr_Exception.html">Apache_Solr_Exception</a></div></li> -<li><div class="src-line"><a name="a40"></a><span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a41"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a42"></a><span class="src-doc"> * SVN Revision meta data for this class</span></div></li> -<li><div class="src-line"><a name="a43"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a44"></a> <span class="src-key">const </span><a href="../Apache/Solr/Apache_Solr_ParserException.html#constSVN_REVISION">SVN_REVISION</a> = <span class="src-str">'$Revision: 54 $'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a45"></a> </div></li> -<li><div class="src-line"><a name="a46"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a47"></a><span class="src-doc"> * SVN ID meta data for this class</span></div></li> -<li><div class="src-line"><a name="a48"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a49"></a> <span class="src-key">const </span><a href="../Apache/Solr/Apache_Solr_ParserException.html#constSVN_ID">SVN_ID</a> = <span class="src-str">'$Id: ParserException.php 54 2011-02-04 16:29:18Z donovan.jimenez $'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a50"></a><span class="src-sym">}</span></div></li> -</ol></div> -</div> - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:15 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_Response.php.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_Response.php.html deleted file mode 100644 index 9ec737860a81629b7b854a82f7168fa6c0dfd70d..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_Response.php.html +++ /dev/null @@ -1,267 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>File Source for Response.php</title> - <link rel="stylesheet" href="../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <h1>Source for file Response.php</h1> -<p>Documentation is available at <a href="../Apache/Solr/_Response.php.html">Response.php</a></p> -<div class="src-code"> -<div class="src-code"><ol><li><div class="src-line"><a name="a1"></a><span class="src-php"><?php</span></div></li> -<li><div class="src-line"><a name="a2"></a><span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a3"></a><span class="src-doc"> * Copyright (c) 2007-2011, Servigistics, Inc.</span></div></li> -<li><div class="src-line"><a name="a4"></a><span class="src-doc"> * All rights reserved.</span></div></li> -<li><div class="src-line"><a name="a5"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a6"></a><span class="src-doc"> * Redistribution and use in source and binary forms, with or without</span></div></li> -<li><div class="src-line"><a name="a7"></a><span class="src-doc"> * modification, are permitted provided that the following conditions are met:</span></div></li> -<li><div class="src-line"><a name="a8"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a9"></a><span class="src-doc"> * - Redistributions of source code must retain the above copyright notice,</span></div></li> -<li><div class="src-line"><a name="a10"></a><span class="src-doc"> * this list of conditions and the following disclaimer.</span></div></li> -<li><div class="src-line"><a name="a11"></a><span class="src-doc"> * - Redistributions in binary form must reproduce the above copyright</span></div></li> -<li><div class="src-line"><a name="a12"></a><span class="src-doc"> * notice, this list of conditions and the following disclaimer in the</span></div></li> -<li><div class="src-line"><a name="a13"></a><span class="src-doc"> * documentation and/or other materials provided with the distribution.</span></div></li> -<li><div class="src-line"><a name="a14"></a><span class="src-doc"> * - Neither the name of Servigistics, Inc. nor the names of</span></div></li> -<li><div class="src-line"><a name="a15"></a><span class="src-doc"> * its contributors may be used to endorse or promote products derived from</span></div></li> -<li><div class="src-line"><a name="a16"></a><span class="src-doc"> * this software without specific prior written permission.</span></div></li> -<li><div class="src-line"><a name="a17"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a18"></a><span class="src-doc"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span></div></li> -<li><div class="src-line"><a name="a19"></a><span class="src-doc"> * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div></li> -<li><div class="src-line"><a name="a20"></a><span class="src-doc"> * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span></div></li> -<li><div class="src-line"><a name="a21"></a><span class="src-doc"> * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span></div></li> -<li><div class="src-line"><a name="a22"></a><span class="src-doc"> * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span></div></li> -<li><div class="src-line"><a name="a23"></a><span class="src-doc"> * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span></div></li> -<li><div class="src-line"><a name="a24"></a><span class="src-doc"> * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span></div></li> -<li><div class="src-line"><a name="a25"></a><span class="src-doc"> * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span></div></li> -<li><div class="src-line"><a name="a26"></a><span class="src-doc"> * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span></div></li> -<li><div class="src-line"><a name="a27"></a><span class="src-doc"> * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE</span></div></li> -<li><div class="src-line"><a name="a28"></a><span class="src-doc"> * POSSIBILITY OF SUCH DAMAGE.</span></div></li> -<li><div class="src-line"><a name="a29"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a30"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@copyright</span><span class="src-doc"> Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com)</span></div></li> -<li><div class="src-line"><a name="a31"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@license</span><span class="src-doc"> http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD</span></div></li> -<li><div class="src-line"><a name="a32"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@version</span><span class="src-doc"> $Id: Response.php 54 2011-02-04 16:29:18Z donovan.jimenez $</span></div></li> -<li><div class="src-line"><a name="a33"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a34"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@package</span><span class="src-doc"> Apache</span></div></li> -<li><div class="src-line"><a name="a35"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@subpackage</span><span class="src-doc"> Solr</span></div></li> -<li><div class="src-line"><a name="a36"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@author</span><span class="src-doc"> Donovan Jimenez <djimenez@conduit-it.com></span></div></li> -<li><div class="src-line"><a name="a37"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a38"></a> </div></li> -<li><div class="src-line"><a name="a39"></a><span class="src-inc">require_once</span><span class="src-sym">(</span><span class="src-id">dirname</span><span class="src-sym">(</span>__FILE__<span class="src-sym">) </span>. <span class="src-str">'/ParserException.php'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a40"></a> </div></li> -<li><div class="src-line"><a name="a41"></a><span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a42"></a><span class="src-doc"> * Represents a Solr response. Parses the raw response into a set of stdClass objects</span></div></li> -<li><div class="src-line"><a name="a43"></a><span class="src-doc"> * and associative arrays for easy access.</span></div></li> -<li><div class="src-line"><a name="a44"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a45"></a><span class="src-doc"> * Currently requires json_decode which is bundled with PHP >= 5.2.0, Alternatively can be</span></div></li> -<li><div class="src-line"><a name="a46"></a><span class="src-doc"> * installed with PECL. Zend Framework also includes a purely PHP solution.</span></div></li> -<li><div class="src-line"><a name="a47"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a48"></a><span class="src-key">class </span><a href="../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></div></li> -<li><div class="src-line"><a name="a49"></a><span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a50"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a51"></a><span class="src-doc"> * SVN Revision meta data for this class</span></div></li> -<li><div class="src-line"><a name="a52"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a53"></a> <span class="src-key">const </span><span class="src-id">SVN_REVISION </span>= <span class="src-str">'$Revision: 54 $'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a54"></a> </div></li> -<li><div class="src-line"><a name="a55"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a56"></a><span class="src-doc"> * SVN ID meta data for this class</span></div></li> -<li><div class="src-line"><a name="a57"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a58"></a> <span class="src-key">const </span><span class="src-id">SVN_ID </span>= <span class="src-str">'$Id: Response.php 54 2011-02-04 16:29:18Z donovan.jimenez $'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a59"></a> </div></li> -<li><div class="src-line"><a name="a60"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a61"></a><span class="src-doc"> * Holds the raw response used in construction</span></div></li> -<li><div class="src-line"><a name="a62"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a63"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@var </span><span class="src-doc-type">Apache_Solr_HttpTransport_Response </span><span class="src-doc">HTTP response</span></div></li> -<li><div class="src-line"><a name="a64"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a65"></a> <span class="src-key">protected </span><a href="../Apache/Solr/Apache_Solr_Response.html#var$_response">$_response</a><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a66"></a> </div></li> -<li><div class="src-line"><a name="a67"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a68"></a><span class="src-doc"> * Whether the raw response has been parsed</span></div></li> -<li><div class="src-line"><a name="a69"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a70"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@var </span><span class="src-doc-type">boolean </span></div></li> -<li><div class="src-line"><a name="a71"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a72"></a> <span class="src-key">protected </span><a href="../Apache/Solr/Apache_Solr_Response.html#var$_isParsed">$_isParsed</a> = <span class="src-id">false</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a73"></a> </div></li> -<li><div class="src-line"><a name="a74"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a75"></a><span class="src-doc"> * Parsed representation of the data</span></div></li> -<li><div class="src-line"><a name="a76"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a77"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@var </span><span class="src-doc-type">mixed </span></div></li> -<li><div class="src-line"><a name="a78"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a79"></a> <span class="src-key">protected </span><a href="../Apache/Solr/Apache_Solr_Response.html#var$_parsedData">$_parsedData</a><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a80"></a> </div></li> -<li><div class="src-line"><a name="a81"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a82"></a><span class="src-doc"> * Data parsing flags. Determines what extra processing should be done</span></div></li> -<li><div class="src-line"><a name="a83"></a><span class="src-doc"> * after the data is initially converted to a data structure.</span></div></li> -<li><div class="src-line"><a name="a84"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a85"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@var </span><span class="src-doc-type">boolean </span></div></li> -<li><div class="src-line"><a name="a86"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a87"></a> <span class="src-key">protected </span><a href="../Apache/Solr/Apache_Solr_Response.html#var$_createDocuments">$_createDocuments</a> = <span class="src-id">true</span><span class="src-sym">,</span></div></li> -<li><div class="src-line"><a name="a88"></a> <a href="../Apache/Solr/Apache_Solr_Response.html#var$_collapseSingleValueArrays">$_collapseSingleValueArrays</a> = <span class="src-id">true</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a89"></a> </div></li> -<li><div class="src-line"><a name="a90"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a91"></a><span class="src-doc"> * Constructor. Takes the raw HTTP response body and the exploded HTTP headers</span></div></li> -<li><div class="src-line"><a name="a92"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a93"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">Apache_Solr_HttpTransport_Response </span><span class="src-doc">HTTP response</span></div></li> -<li><div class="src-line"><a name="a94"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">boolean </span><span class="src-doc-var">$createDocuments </span><span class="src-doc">Whether to convert the documents json_decoded as stdClass instances to Apache_Solr_Document instances</span></div></li> -<li><div class="src-line"><a name="a95"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">boolean </span><span class="src-doc-var">$collapseSingleValueArrays </span><span class="src-doc">Whether to make multivalued fields appear as single values</span></div></li> -<li><div class="src-line"><a name="a96"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a97"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Response.html#method__construct">__construct</a><span class="src-sym">(</span><span class="src-id">Apache_Solr_HttpTransport_Response </span><span class="src-var">$response</span><span class="src-sym">, </span><span class="src-var">$createDocuments </span>= <span class="src-id">true</span><span class="src-sym">, </span><span class="src-var">$collapseSingleValueArrays </span>= <span class="src-id">true</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a98"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a99"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Response.html#var$_response">_response</a> = <span class="src-var">$response</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a100"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Response.html#var$_createDocuments">_createDocuments</a> = (bool) <span class="src-var">$createDocuments</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a101"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Response.html#var$_collapseSingleValueArrays">_collapseSingleValueArrays</a> = (bool) <span class="src-var">$collapseSingleValueArrays</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a102"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a103"></a> </div></li> -<li><div class="src-line"><a name="a104"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a105"></a><span class="src-doc"> * Get the HTTP status code</span></div></li> -<li><div class="src-line"><a name="a106"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a107"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">integer </span></div></li> -<li><div class="src-line"><a name="a108"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a109"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Response.html#methodgetHttpStatus">getHttpStatus</a><span class="src-sym">(</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a110"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a111"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Response.html#var$_response">_response</a><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Response.html#methodgetStatusCode">getStatusCode</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a112"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a113"></a> </div></li> -<li><div class="src-line"><a name="a114"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a115"></a><span class="src-doc"> * Get the HTTP status message of the response</span></div></li> -<li><div class="src-line"><a name="a116"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a117"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">string </span></div></li> -<li><div class="src-line"><a name="a118"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a119"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Response.html#methodgetHttpStatusMessage">getHttpStatusMessage</a><span class="src-sym">(</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a120"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a121"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Response.html#var$_response">_response</a><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Response.html#methodgetStatusMessage">getStatusMessage</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a122"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a123"></a> </div></li> -<li><div class="src-line"><a name="a124"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a125"></a><span class="src-doc"> * Get content type of this Solr response</span></div></li> -<li><div class="src-line"><a name="a126"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a127"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">string </span></div></li> -<li><div class="src-line"><a name="a128"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a129"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Response.html#methodgetType">getType</a><span class="src-sym">(</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a130"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a131"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Response.html#var$_response">_response</a><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Response.html#methodgetMimeType">getMimeType</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a132"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a133"></a> </div></li> -<li><div class="src-line"><a name="a134"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a135"></a><span class="src-doc"> * Get character encoding of this response. Should usually be utf-8, but just in case</span></div></li> -<li><div class="src-line"><a name="a136"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a137"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">string </span></div></li> -<li><div class="src-line"><a name="a138"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a139"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Response.html#methodgetEncoding">getEncoding</a><span class="src-sym">(</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a140"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a141"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Response.html#var$_response">_response</a><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Response.html#methodgetEncoding">getEncoding</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a142"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a143"></a> </div></li> -<li><div class="src-line"><a name="a144"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a145"></a><span class="src-doc"> * Get the raw response as it was given to this object</span></div></li> -<li><div class="src-line"><a name="a146"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a147"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">string </span></div></li> -<li><div class="src-line"><a name="a148"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a149"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Response.html#methodgetRawResponse">getRawResponse</a><span class="src-sym">(</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a150"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a151"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Response.html#var$_response">_response</a><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Response.html#methodgetBody">getBody</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a152"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a153"></a> </div></li> -<li><div class="src-line"><a name="a154"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a155"></a><span class="src-doc"> * Magic get to expose the parsed data and to lazily load it</span></div></li> -<li><div class="src-line"><a name="a156"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a157"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$key </span></div></li> -<li><div class="src-line"><a name="a158"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">mixed </span></div></li> -<li><div class="src-line"><a name="a159"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a160"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Response.html#method__get">__get</a><span class="src-sym">(</span><span class="src-var">$key</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a161"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a162"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-sym">!</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Response.html#var$_isParsed">_isParsed</a><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a163"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a164"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Response.html#method_parseData">_parseData</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a165"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Response.html#var$_isParsed">_isParsed</a> = <span class="src-id">true</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a166"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a167"></a> </div></li> -<li><div class="src-line"><a name="a168"></a> <span class="src-key">if </span><span class="src-sym">(</span>isset<span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Response.html#var$_parsedData">_parsedData</a><span class="src-sym">-></span><span class="src-var">$key</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a169"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a170"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Response.html#var$_parsedData">_parsedData</a><span class="src-sym">-></span><span class="src-var">$key</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a171"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a172"></a> </div></li> -<li><div class="src-line"><a name="a173"></a> <span class="src-key">return </span><span class="src-id">null</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a174"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a175"></a> </div></li> -<li><div class="src-line"><a name="a176"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a177"></a><span class="src-doc"> * Magic function for isset function on parsed data</span></div></li> -<li><div class="src-line"><a name="a178"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a179"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$key </span></div></li> -<li><div class="src-line"><a name="a180"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">boolean </span></div></li> -<li><div class="src-line"><a name="a181"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a182"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Response.html#method__isset">__isset</a><span class="src-sym">(</span><span class="src-var">$key</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a183"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a184"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-sym">!</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Response.html#var$_isParsed">_isParsed</a><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a185"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a186"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Response.html#method_parseData">_parseData</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a187"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Response.html#var$_isParsed">_isParsed</a> = <span class="src-id">true</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a188"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a189"></a> </div></li> -<li><div class="src-line"><a name="a190"></a> <span class="src-key">return </span>isset<span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Response.html#var$_parsedData">_parsedData</a><span class="src-sym">-></span><span class="src-var">$key</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a191"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a192"></a> </div></li> -<li><div class="src-line"><a name="a193"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a194"></a><span class="src-doc"> * Parse the raw response into the parsed_data array for access</span></div></li> -<li><div class="src-line"><a name="a195"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a196"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@throws</span><span class="src-doc"> Apache_Solr_ParserException If the data could not be parsed</span></div></li> -<li><div class="src-line"><a name="a197"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a198"></a> <span class="src-key">protected </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Response.html#method_parseData">_parseData</a><span class="src-sym">(</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a199"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a200"></a> <span class="src-comm">//An alternative would be to use Zend_Json::decode(...)</span></div></li> -<li><div class="src-line"><a name="a201"></a> <span class="src-var">$data </span>= <a href="http://www.php.net/json_decode">json_decode</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Response.html#var$_response">_response</a><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_HttpTransport_Response.html#methodgetBody">getBody</a><span class="src-sym">(</span><span class="src-sym">))</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a202"></a> </div></li> -<li><div class="src-line"><a name="a203"></a> <span class="src-comm">// check that we receive a valid JSON response - we should never receive a null</span></div></li> -<li><div class="src-line"><a name="a204"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$data </span>=== <span class="src-id">null</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a205"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a206"></a> throw <span class="src-key">new </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_ParserException.html">Apache_Solr_ParserException</a></span><span class="src-sym">(</span><span class="src-str">'Solr response does not appear to be valid JSON, please examine the raw response with getRawResponse() method'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a207"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a208"></a> </div></li> -<li><div class="src-line"><a name="a209"></a> <span class="src-comm">//if we're configured to collapse single valued arrays or to convert them to Apache_Solr_Document objects</span></div></li> -<li><div class="src-line"><a name="a210"></a> <span class="src-comm">//and we have response documents, then try to collapse the values and / or convert them now</span></div></li> -<li><div class="src-line"><a name="a211"></a> <span class="src-key">if </span><span class="src-sym">((</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Response.html#var$_createDocuments">_createDocuments</a> || <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Response.html#var$_collapseSingleValueArrays">_collapseSingleValueArrays</a><span class="src-sym">) </span>&& isset<span class="src-sym">(</span><span class="src-var">$data</span><span class="src-sym">-></span><span class="src-id">response</span><span class="src-sym">) </span>&& <a href="http://www.php.net/is_array">is_array</a><span class="src-sym">(</span><span class="src-var">$data</span><span class="src-sym">-></span><span class="src-id">response</span><span class="src-sym">-></span><span class="src-id">docs</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a212"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a213"></a> <span class="src-var">$documents </span>= <span class="src-key">array</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a214"></a> </div></li> -<li><div class="src-line"><a name="a215"></a> <span class="src-key">foreach </span><span class="src-sym">(</span><span class="src-var">$data</span><span class="src-sym">-></span><span class="src-id">response</span><span class="src-sym">-></span><span class="src-id">docs </span><span class="src-key">as </span><span class="src-var">$originalDocument</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a216"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a217"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Response.html#var$_createDocuments">_createDocuments</a><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a218"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a219"></a> <span class="src-var">$document </span>= <span class="src-key">new </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a></span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a220"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a221"></a> <span class="src-key">else</span></div></li> -<li><div class="src-line"><a name="a222"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a223"></a> <span class="src-var">$document </span>= <span class="src-var">$originalDocument</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a224"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a225"></a> </div></li> -<li><div class="src-line"><a name="a226"></a> <span class="src-key">foreach </span><span class="src-sym">(</span><span class="src-var">$originalDocument </span><span class="src-key">as </span><span class="src-var">$key </span>=> <span class="src-var">$value</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a227"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a228"></a> <span class="src-comm">//If a result is an array with only a single</span></div></li> -<li><div class="src-line"><a name="a229"></a> <span class="src-comm">//value then its nice to be able to access</span></div></li> -<li><div class="src-line"><a name="a230"></a> <span class="src-comm">//it as if it were always a single value</span></div></li> -<li><div class="src-line"><a name="a231"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Response.html#var$_collapseSingleValueArrays">_collapseSingleValueArrays</a> && <a href="http://www.php.net/is_array">is_array</a><span class="src-sym">(</span><span class="src-var">$value</span><span class="src-sym">) </span>&& <a href="http://www.php.net/count">count</a><span class="src-sym">(</span><span class="src-var">$value</span><span class="src-sym">) </span><= <span class="src-num">1</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a232"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a233"></a> <span class="src-var">$value </span>= <a href="http://www.php.net/array_shift">array_shift</a><span class="src-sym">(</span><span class="src-var">$value</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a234"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a235"></a> </div></li> -<li><div class="src-line"><a name="a236"></a> <span class="src-var">$document</span><span class="src-sym">-></span><span class="src-var">$key </span>= <span class="src-var">$value</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a237"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a238"></a> </div></li> -<li><div class="src-line"><a name="a239"></a> <span class="src-var">$documents</span><span class="src-sym">[</span><span class="src-sym">] </span>= <span class="src-var">$document</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a240"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a241"></a> </div></li> -<li><div class="src-line"><a name="a242"></a> <span class="src-var">$data</span><span class="src-sym">-></span><span class="src-id">response</span><span class="src-sym">-></span><span class="src-id">docs </span>= <span class="src-var">$documents</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a243"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a244"></a> </div></li> -<li><div class="src-line"><a name="a245"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Response.html#var$_parsedData">_parsedData</a> = <span class="src-var">$data</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a246"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a247"></a><span class="src-sym">}</span></div></li> -</ol></div> -</div> - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:15 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_Service.php.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_Service.php.html deleted file mode 100644 index 9f1a43884650df9b84253c97a99f955f8325eb42..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_Service.php.html +++ /dev/null @@ -1,1201 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>File Source for Service.php</title> - <link rel="stylesheet" href="../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <h1>Source for file Service.php</h1> -<p>Documentation is available at <a href="../Apache/Solr/_Service.php.html">Service.php</a></p> -<div class="src-code"> -<div class="src-code"><ol><li><div class="src-line"><a name="a1"></a><span class="src-php"><?php</span></div></li> -<li><div class="src-line"><a name="a2"></a><span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a3"></a><span class="src-doc"> * Copyright (c) 2007-2011, Servigistics, Inc.</span></div></li> -<li><div class="src-line"><a name="a4"></a><span class="src-doc"> * All rights reserved.</span></div></li> -<li><div class="src-line"><a name="a5"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a6"></a><span class="src-doc"> * Redistribution and use in source and binary forms, with or without</span></div></li> -<li><div class="src-line"><a name="a7"></a><span class="src-doc"> * modification, are permitted provided that the following conditions are met:</span></div></li> -<li><div class="src-line"><a name="a8"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a9"></a><span class="src-doc"> * - Redistributions of source code must retain the above copyright notice,</span></div></li> -<li><div class="src-line"><a name="a10"></a><span class="src-doc"> * this list of conditions and the following disclaimer.</span></div></li> -<li><div class="src-line"><a name="a11"></a><span class="src-doc"> * - Redistributions in binary form must reproduce the above copyright</span></div></li> -<li><div class="src-line"><a name="a12"></a><span class="src-doc"> * notice, this list of conditions and the following disclaimer in the</span></div></li> -<li><div class="src-line"><a name="a13"></a><span class="src-doc"> * documentation and/or other materials provided with the distribution.</span></div></li> -<li><div class="src-line"><a name="a14"></a><span class="src-doc"> * - Neither the name of Servigistics, Inc. nor the names of</span></div></li> -<li><div class="src-line"><a name="a15"></a><span class="src-doc"> * its contributors may be used to endorse or promote products derived from</span></div></li> -<li><div class="src-line"><a name="a16"></a><span class="src-doc"> * this software without specific prior written permission.</span></div></li> -<li><div class="src-line"><a name="a17"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a18"></a><span class="src-doc"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span></div></li> -<li><div class="src-line"><a name="a19"></a><span class="src-doc"> * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div></li> -<li><div class="src-line"><a name="a20"></a><span class="src-doc"> * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span></div></li> -<li><div class="src-line"><a name="a21"></a><span class="src-doc"> * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span></div></li> -<li><div class="src-line"><a name="a22"></a><span class="src-doc"> * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span></div></li> -<li><div class="src-line"><a name="a23"></a><span class="src-doc"> * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span></div></li> -<li><div class="src-line"><a name="a24"></a><span class="src-doc"> * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span></div></li> -<li><div class="src-line"><a name="a25"></a><span class="src-doc"> * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span></div></li> -<li><div class="src-line"><a name="a26"></a><span class="src-doc"> * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span></div></li> -<li><div class="src-line"><a name="a27"></a><span class="src-doc"> * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE</span></div></li> -<li><div class="src-line"><a name="a28"></a><span class="src-doc"> * POSSIBILITY OF SUCH DAMAGE.</span></div></li> -<li><div class="src-line"><a name="a29"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a30"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@copyright</span><span class="src-doc"> Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com)</span></div></li> -<li><div class="src-line"><a name="a31"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@license</span><span class="src-doc"> http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD</span></div></li> -<li><div class="src-line"><a name="a32"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@version</span><span class="src-doc"> $Id: Service.php 59 2011-02-08 20:38:59Z donovan.jimenez $</span></div></li> -<li><div class="src-line"><a name="a33"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a34"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@package</span><span class="src-doc"> Apache</span></div></li> -<li><div class="src-line"><a name="a35"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@subpackage</span><span class="src-doc"> Solr</span></div></li> -<li><div class="src-line"><a name="a36"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@author</span><span class="src-doc"> Donovan Jimenez <djimenez@conduit-it.com></span></div></li> -<li><div class="src-line"><a name="a37"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a38"></a> </div></li> -<li><div class="src-line"><a name="a39"></a><span class="src-comm">// See Issue #1 (http://code.google.com/p/solr-php-client/issues/detail?id=1)</span></div></li> -<li><div class="src-line"><a name="a40"></a><span class="src-comm">// Doesn't follow typical include path conventions, but is more convenient for users</span></div></li> -<li><div class="src-line"><a name="a41"></a><span class="src-inc">require_once</span><span class="src-sym">(</span><span class="src-id">dirname</span><span class="src-sym">(</span>__FILE__<span class="src-sym">) </span>. <span class="src-str">'/Exception.php'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a42"></a><span class="src-inc">require_once</span><span class="src-sym">(</span><span class="src-id">dirname</span><span class="src-sym">(</span>__FILE__<span class="src-sym">) </span>. <span class="src-str">'/HttpTransportException.php'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a43"></a><span class="src-inc">require_once</span><span class="src-sym">(</span><span class="src-id">dirname</span><span class="src-sym">(</span>__FILE__<span class="src-sym">) </span>. <span class="src-str">'/InvalidArgumentException.php'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a44"></a> </div></li> -<li><div class="src-line"><a name="a45"></a><span class="src-inc">require_once</span><span class="src-sym">(</span><span class="src-id">dirname</span><span class="src-sym">(</span>__FILE__<span class="src-sym">) </span>. <span class="src-str">'/Document.php'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a46"></a><span class="src-inc">require_once</span><span class="src-sym">(</span><span class="src-id">dirname</span><span class="src-sym">(</span>__FILE__<span class="src-sym">) </span>. <span class="src-str">'/Response.php'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a47"></a> </div></li> -<li><div class="src-line"><a name="a48"></a><span class="src-inc">require_once</span><span class="src-sym">(</span><span class="src-id">dirname</span><span class="src-sym">(</span>__FILE__<span class="src-sym">) </span>. <span class="src-str">'/HttpTransport/Interface.php'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a49"></a> </div></li> -<li><div class="src-line"><a name="a50"></a><span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a51"></a><span class="src-doc"> * Starting point for the Solr API. Represents a Solr server resource and has</span></div></li> -<li><div class="src-line"><a name="a52"></a><span class="src-doc"> * methods for pinging, adding, deleting, committing, optimizing and searching.</span></div></li> -<li><div class="src-line"><a name="a53"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a54"></a><span class="src-doc"> * Example Usage:</span></div></li> -<li><div class="src-line"><a name="a55"></a><span class="src-doc"> * <code></span></div></li> -<li><div class="src-line"><a name="a56"></a><span class="src-doc"> * ...</span></div></li> -<li><div class="src-line"><a name="a57"></a><span class="src-doc"> * $solr = new Apache_Solr_Service(); //or explicitly new Apache_Solr_Service('localhost', 8180, '/solr')</span></div></li> -<li><div class="src-line"><a name="a58"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a59"></a><span class="src-doc"> * if ($solr->ping())</span></div></li> -<li><div class="src-line"><a name="a60"></a><span class="src-doc"> * {</span></div></li> -<li><div class="src-line"><a name="a61"></a><span class="src-doc"> * $solr->deleteByQuery('*:*'); //deletes ALL documents - be careful :)</span></div></li> -<li><div class="src-line"><a name="a62"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a63"></a><span class="src-doc"> * $document = new Apache_Solr_Document();</span></div></li> -<li><div class="src-line"><a name="a64"></a><span class="src-doc"> * $document->id = uniqid(); //or something else suitably unique</span></div></li> -<li><div class="src-line"><a name="a65"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a66"></a><span class="src-doc"> * $document->title = 'Some Title';</span></div></li> -<li><div class="src-line"><a name="a67"></a><span class="src-doc"> * $document->content = 'Some content for this wonderful document. Blah blah blah.';</span></div></li> -<li><div class="src-line"><a name="a68"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a69"></a><span class="src-doc"> * $solr->addDocument($document); //if you're going to be adding documents in bulk using addDocuments</span></div></li> -<li><div class="src-line"><a name="a70"></a><span class="src-doc"> * //with an array of documents is faster</span></div></li> -<li><div class="src-line"><a name="a71"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a72"></a><span class="src-doc"> * $solr->commit(); //commit to see the deletes and the document</span></div></li> -<li><div class="src-line"><a name="a73"></a><span class="src-doc"> * $solr->optimize(); //merges multiple segments into one</span></div></li> -<li><div class="src-line"><a name="a74"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a75"></a><span class="src-doc"> * //and the one we all care about, search!</span></div></li> -<li><div class="src-line"><a name="a76"></a><span class="src-doc"> * //any other common or custom parameters to the request handler can go in the</span></div></li> -<li><div class="src-line"><a name="a77"></a><span class="src-doc"> * //optional 4th array argument.</span></div></li> -<li><div class="src-line"><a name="a78"></a><span class="src-doc"> * $solr->search('content:blah', 0, 10, array('sort' => 'timestamp desc'));</span></div></li> -<li><div class="src-line"><a name="a79"></a><span class="src-doc"> * }</span></div></li> -<li><div class="src-line"><a name="a80"></a><span class="src-doc"> * ...</span></div></li> -<li><div class="src-line"><a name="a81"></a><span class="src-doc"> * </code></span></div></li> -<li><div class="src-line"><a name="a82"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a83"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@todo</span><span class="src-doc"> Investigate using other HTTP clients other than file_get_contents built-in handler. Could provide performance</span></div></li> -<li><div class="src-line"><a name="a84"></a><span class="src-doc"> * improvements when dealing with multiple requests by using HTTP's keep alive functionality</span></div></li> -<li><div class="src-line"><a name="a85"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a86"></a><span class="src-key">class </span><a href="../Apache/Solr/Apache_Solr_Service.html">Apache_Solr_Service</a></div></li> -<li><div class="src-line"><a name="a87"></a><span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a88"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a89"></a><span class="src-doc"> * SVN Revision meta data for this class</span></div></li> -<li><div class="src-line"><a name="a90"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a91"></a> <span class="src-key">const </span><span class="src-id">SVN_REVISION </span>= <span class="src-str">'$Revision: 59 $'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a92"></a> </div></li> -<li><div class="src-line"><a name="a93"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a94"></a><span class="src-doc"> * SVN ID meta data for this class</span></div></li> -<li><div class="src-line"><a name="a95"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a96"></a> <span class="src-key">const </span><span class="src-id">SVN_ID </span>= <span class="src-str">'$Id: Service.php 59 2011-02-08 20:38:59Z donovan.jimenez $'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a97"></a> </div></li> -<li><div class="src-line"><a name="a98"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a99"></a><span class="src-doc"> * Response writer we'll request - JSON. See http://code.google.com/p/solr-php-client/issues/detail?id=6#c1 for reasoning</span></div></li> -<li><div class="src-line"><a name="a100"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a101"></a> <span class="src-key">const </span><span class="src-id">SOLR_WRITER </span>= <span class="src-str">'json'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a102"></a> </div></li> -<li><div class="src-line"><a name="a103"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a104"></a><span class="src-doc"> * NamedList Treatment constants</span></div></li> -<li><div class="src-line"><a name="a105"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a106"></a> <span class="src-key">const </span><span class="src-id">NAMED_LIST_FLAT </span>= <span class="src-str">'flat'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a107"></a> <span class="src-key">const </span><span class="src-id">NAMED_LIST_MAP </span>= <span class="src-str">'map'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a108"></a> </div></li> -<li><div class="src-line"><a name="a109"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a110"></a><span class="src-doc"> * Search HTTP Methods</span></div></li> -<li><div class="src-line"><a name="a111"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a112"></a> <span class="src-key">const </span><span class="src-id">METHOD_GET </span>= <span class="src-str">'GET'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a113"></a> <span class="src-key">const </span><span class="src-id">METHOD_POST </span>= <span class="src-str">'POST'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a114"></a> </div></li> -<li><div class="src-line"><a name="a115"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a116"></a><span class="src-doc"> * Servlet mappings</span></div></li> -<li><div class="src-line"><a name="a117"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a118"></a> <span class="src-key">const </span><span class="src-id">PING_SERVLET </span>= <span class="src-str">'admin/ping'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a119"></a> <span class="src-key">const </span><span class="src-id">UPDATE_SERVLET </span>= <span class="src-str">'update'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a120"></a> <span class="src-key">const </span><span class="src-id">SEARCH_SERVLET </span>= <span class="src-str">'select'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a121"></a> <span class="src-key">const </span><span class="src-id">THREADS_SERVLET </span>= <span class="src-str">'admin/threads'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a122"></a> <span class="src-key">const </span><span class="src-id">EXTRACT_SERVLET </span>= <span class="src-str">'update/extract'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a123"></a> </div></li> -<li><div class="src-line"><a name="a124"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a125"></a><span class="src-doc"> * Server identification strings</span></div></li> -<li><div class="src-line"><a name="a126"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a127"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@var </span><span class="src-doc-type">string </span></div></li> -<li><div class="src-line"><a name="a128"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a129"></a> <span class="src-key">protected </span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_host">$_host</a><span class="src-sym">, </span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_port">$_port</a><span class="src-sym">, </span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_path">$_path</a><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a130"></a> </div></li> -<li><div class="src-line"><a name="a131"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a132"></a><span class="src-doc"> * Whether </span><span class="src-doc-inlinetag">{@link Apache_Solr_Response}</span><span class="src-doc"> objects should create </span><span class="src-doc-inlinetag">{@link Apache_Solr_Document}</span><span class="src-doc">s in</span></div></li> -<li><div class="src-line"><a name="a133"></a><span class="src-doc"> * the returned parsed data</span></div></li> -<li><div class="src-line"><a name="a134"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a135"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@var </span><span class="src-doc-type">boolean </span></div></li> -<li><div class="src-line"><a name="a136"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a137"></a> <span class="src-key">protected </span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_createDocuments">$_createDocuments</a> = <span class="src-id">true</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a138"></a> </div></li> -<li><div class="src-line"><a name="a139"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a140"></a><span class="src-doc"> * Whether </span><span class="src-doc-inlinetag">{@link Apache_Solr_Response}</span><span class="src-doc"> objects should have multivalue fields with only a single value</span></div></li> -<li><div class="src-line"><a name="a141"></a><span class="src-doc"> * collapsed to appear as a single value would.</span></div></li> -<li><div class="src-line"><a name="a142"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a143"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@var </span><span class="src-doc-type">boolean </span></div></li> -<li><div class="src-line"><a name="a144"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a145"></a> <span class="src-key">protected </span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_collapseSingleValueArrays">$_collapseSingleValueArrays</a> = <span class="src-id">true</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a146"></a> </div></li> -<li><div class="src-line"><a name="a147"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a148"></a><span class="src-doc"> * How NamedLists should be formatted in the output. This specifically effects facet counts. Valid values</span></div></li> -<li><div class="src-line"><a name="a149"></a><span class="src-doc"> * are </span><span class="src-doc-inlinetag">{@link Apache_Solr_Service::NAMED_LIST_MAP}</span><span class="src-doc"> (default) or </span><span class="src-doc-inlinetag">{@link Apache_Solr_Service::NAMED_LIST_FLAT}</span><span class="src-doc">.</span></div></li> -<li><div class="src-line"><a name="a150"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a151"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@var </span><span class="src-doc-type">string </span></div></li> -<li><div class="src-line"><a name="a152"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a153"></a> <span class="src-key">protected </span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_namedListTreatment">$_namedListTreatment</a> = <span class="src-id">self</span><span class="src-sym">::</span><span class="src-id">NAMED_LIST_MAP</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a154"></a> </div></li> -<li><div class="src-line"><a name="a155"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a156"></a><span class="src-doc"> * Query delimiters. Someone might want to be able to change</span></div></li> -<li><div class="src-line"><a name="a157"></a><span class="src-doc"> * these (to use &amp; instead of & for example), so I've provided them.</span></div></li> -<li><div class="src-line"><a name="a158"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a159"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@var </span><span class="src-doc-type">string </span></div></li> -<li><div class="src-line"><a name="a160"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a161"></a> <span class="src-key">protected </span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_queryDelimiter">$_queryDelimiter</a> = <span class="src-str">'?'</span><span class="src-sym">, </span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_queryStringDelimiter">$_queryStringDelimiter</a> = <span class="src-str">'&'</span><span class="src-sym">, </span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_queryBracketsEscaped">$_queryBracketsEscaped</a> = <span class="src-id">true</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a162"></a> </div></li> -<li><div class="src-line"><a name="a163"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a164"></a><span class="src-doc"> * Constructed servlet full path URLs</span></div></li> -<li><div class="src-line"><a name="a165"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a166"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@var </span><span class="src-doc-type">string </span></div></li> -<li><div class="src-line"><a name="a167"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a168"></a> <span class="src-key">protected </span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_pingUrl">$_pingUrl</a><span class="src-sym">, </span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_updateUrl">$_updateUrl</a><span class="src-sym">, </span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_searchUrl">$_searchUrl</a><span class="src-sym">, </span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_threadsUrl">$_threadsUrl</a><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a169"></a> </div></li> -<li><div class="src-line"><a name="a170"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a171"></a><span class="src-doc"> * Keep track of whether our URLs have been constructed</span></div></li> -<li><div class="src-line"><a name="a172"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a173"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@var </span><span class="src-doc-type">boolean </span></div></li> -<li><div class="src-line"><a name="a174"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a175"></a> <span class="src-key">protected </span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_urlsInited">$_urlsInited</a> = <span class="src-id">false</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a176"></a> </div></li> -<li><div class="src-line"><a name="a177"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a178"></a><span class="src-doc"> * HTTP Transport implementation (pluggable)</span></div></li> -<li><div class="src-line"><a name="a179"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a180"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@var </span><span class="src-doc-type">Apache_Solr_HttpTransport_Interface </span></div></li> -<li><div class="src-line"><a name="a181"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a182"></a> <span class="src-key">protected </span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_httpTransport">$_httpTransport</a> = <span class="src-id">false</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a183"></a> </div></li> -<li><div class="src-line"><a name="a184"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a185"></a><span class="src-doc"> * Escape a value for special query characters such as ':', '(', ')', '*', '?', etc.</span></div></li> -<li><div class="src-line"><a name="a186"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a187"></a><span class="src-doc"> * NOTE: inside a phrase fewer characters need escaped, use </span><span class="src-doc-inlinetag">{@link Apache_Solr_Service::escapePhrase()}</span><span class="src-doc"> instead</span></div></li> -<li><div class="src-line"><a name="a188"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a189"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$value </span></div></li> -<li><div class="src-line"><a name="a190"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">string </span></div></li> -<li><div class="src-line"><a name="a191"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a192"></a> <span class="src-key">static </span><span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#methodescape">escape</a><span class="src-sym">(</span><span class="src-var">$value</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a193"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a194"></a> <span class="src-comm">//list taken from http://lucene.apache.org/java/docs/queryparsersyntax.html#Escaping%20Special%20Characters</span></div></li> -<li><div class="src-line"><a name="a195"></a> <span class="src-var">$pattern </span>= <span class="src-str">'/(\+|-|&&|\|\||!|\(|\)|\{|}|\[|]|\^|"|~|\*|\?|:|\\\)/'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a196"></a> <span class="src-var">$replace </span>= <span class="src-str">'\\\$1'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a197"></a> </div></li> -<li><div class="src-line"><a name="a198"></a> <span class="src-key">return </span><a href="http://www.php.net/preg_replace">preg_replace</a><span class="src-sym">(</span><span class="src-var">$pattern</span><span class="src-sym">, </span><span class="src-var">$replace</span><span class="src-sym">, </span><span class="src-var">$value</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a199"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a200"></a> </div></li> -<li><div class="src-line"><a name="a201"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a202"></a><span class="src-doc"> * Escape a value meant to be contained in a phrase for special query characters</span></div></li> -<li><div class="src-line"><a name="a203"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a204"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$value </span></div></li> -<li><div class="src-line"><a name="a205"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">string </span></div></li> -<li><div class="src-line"><a name="a206"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a207"></a> <span class="src-key">static </span><span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#methodescapePhrase">escapePhrase</a><span class="src-sym">(</span><span class="src-var">$value</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a208"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a209"></a> <span class="src-var">$pattern </span>= <span class="src-str">'/("|\\\)/'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a210"></a> <span class="src-var">$replace </span>= <span class="src-str">'\\\$1'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a211"></a> </div></li> -<li><div class="src-line"><a name="a212"></a> <span class="src-key">return </span><a href="http://www.php.net/preg_replace">preg_replace</a><span class="src-sym">(</span><span class="src-var">$pattern</span><span class="src-sym">, </span><span class="src-var">$replace</span><span class="src-sym">, </span><span class="src-var">$value</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a213"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a214"></a> </div></li> -<li><div class="src-line"><a name="a215"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a216"></a><span class="src-doc"> * Convenience function for creating phrase syntax from a value</span></div></li> -<li><div class="src-line"><a name="a217"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a218"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$value </span></div></li> -<li><div class="src-line"><a name="a219"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">string </span></div></li> -<li><div class="src-line"><a name="a220"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a221"></a> <span class="src-key">static </span><span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#methodphrase">phrase</a><span class="src-sym">(</span><span class="src-var">$value</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a222"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a223"></a> <span class="src-key">return </span><span class="src-str">'"' </span>. <span class="src-id">self</span><span class="src-sym">::</span><span class="src-id">escapePhrase</span><span class="src-sym">(</span><span class="src-var">$value</span><span class="src-sym">) </span>. <span class="src-str">'"'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a224"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a225"></a> </div></li> -<li><div class="src-line"><a name="a226"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a227"></a><span class="src-doc"> * Constructor. All parameters are optional and will take on default values</span></div></li> -<li><div class="src-line"><a name="a228"></a><span class="src-doc"> * if not specified.</span></div></li> -<li><div class="src-line"><a name="a229"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a230"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$host </span></div></li> -<li><div class="src-line"><a name="a231"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$port </span></div></li> -<li><div class="src-line"><a name="a232"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$path </span></div></li> -<li><div class="src-line"><a name="a233"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">Apache_Solr_HttpTransport_Interface </span><span class="src-doc-var">$httpTransport </span></div></li> -<li><div class="src-line"><a name="a234"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a235"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#method__construct">__construct</a><span class="src-sym">(</span><span class="src-var">$host </span>= <span class="src-str">'localhost'</span><span class="src-sym">, </span><span class="src-var">$port </span>= <span class="src-num">8180</span><span class="src-sym">, </span><span class="src-var">$path </span>= <span class="src-str">'/solr/'</span><span class="src-sym">, </span><span class="src-var">$httpTransport </span>= <span class="src-id">false</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a236"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a237"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#methodsetHost">setHost</a><span class="src-sym">(</span><span class="src-var">$host</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a238"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#methodsetPort">setPort</a><span class="src-sym">(</span><span class="src-var">$port</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a239"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#methodsetPath">setPath</a><span class="src-sym">(</span><span class="src-var">$path</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a240"></a> </div></li> -<li><div class="src-line"><a name="a241"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#method_initUrls">_initUrls</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a242"></a> </div></li> -<li><div class="src-line"><a name="a243"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$httpTransport</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a244"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a245"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#methodsetHttpTransport">setHttpTransport</a><span class="src-sym">(</span><span class="src-var">$httpTransport</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a246"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a247"></a> </div></li> -<li><div class="src-line"><a name="a248"></a> <span class="src-comm">// check that our php version is >= 5.1.3 so we can correct for http_build_query behavior later</span></div></li> -<li><div class="src-line"><a name="a249"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_queryBracketsEscaped">_queryBracketsEscaped</a> = <a href="http://www.php.net/version_compare">version_compare</a><span class="src-sym">(</span><a href="http://www.php.net/phpversion">phpversion</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">, </span><span class="src-str">'5.1.3'</span><span class="src-sym">, </span><span class="src-str">'>='</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a250"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a251"></a> </div></li> -<li><div class="src-line"><a name="a252"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a253"></a><span class="src-doc"> * Return a valid http URL given this server's host, port and path and a provided servlet name</span></div></li> -<li><div class="src-line"><a name="a254"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a255"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$servlet </span></div></li> -<li><div class="src-line"><a name="a256"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">string </span></div></li> -<li><div class="src-line"><a name="a257"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a258"></a> <span class="src-key">protected </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#method_constructUrl">_constructUrl</a><span class="src-sym">(</span><span class="src-var">$servlet</span><span class="src-sym">, </span><span class="src-var">$params </span>= <span class="src-key">array</span><span class="src-sym">(</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a259"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a260"></a> <span class="src-key">if </span><span class="src-sym">(</span><a href="http://www.php.net/count">count</a><span class="src-sym">(</span><span class="src-var">$params</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a261"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a262"></a> <span class="src-comm">//escape all parameters appropriately for inclusion in the query string</span></div></li> -<li><div class="src-line"><a name="a263"></a> <span class="src-var">$escapedParams </span>= <span class="src-key">array</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a264"></a> </div></li> -<li><div class="src-line"><a name="a265"></a> <span class="src-key">foreach </span><span class="src-sym">(</span><span class="src-var">$params </span><span class="src-key">as </span><span class="src-var">$key </span>=> <span class="src-var">$value</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a266"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a267"></a> <span class="src-var">$escapedParams</span><span class="src-sym">[</span><span class="src-sym">] </span>= <a href="http://www.php.net/urlencode">urlencode</a><span class="src-sym">(</span><span class="src-var">$key</span><span class="src-sym">) </span>. <span class="src-str">'=' </span>. <a href="http://www.php.net/urlencode">urlencode</a><span class="src-sym">(</span><span class="src-var">$value</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a268"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a269"></a> </div></li> -<li><div class="src-line"><a name="a270"></a> <span class="src-var">$queryString </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_queryDelimiter">_queryDelimiter</a> . <a href="http://www.php.net/implode">implode</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_queryStringDelimiter">_queryStringDelimiter</a><span class="src-sym">, </span><span class="src-var">$escapedParams</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a271"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a272"></a> <span class="src-key">else</span></div></li> -<li><div class="src-line"><a name="a273"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a274"></a> <span class="src-var">$queryString </span>= <span class="src-str">''</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a275"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a276"></a> </div></li> -<li><div class="src-line"><a name="a277"></a> <span class="src-key">return </span><span class="src-str">'http://' </span>. <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_host">_host</a> . <span class="src-str">':' </span>. <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_port">_port</a> . <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_path">_path</a> . <span class="src-var">$servlet </span>. <span class="src-var">$queryString</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a278"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a279"></a> </div></li> -<li><div class="src-line"><a name="a280"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a281"></a><span class="src-doc"> * Construct the Full URLs for the three servlets we reference</span></div></li> -<li><div class="src-line"><a name="a282"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a283"></a> <span class="src-key">protected </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#method_initUrls">_initUrls</a><span class="src-sym">(</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a284"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a285"></a> <span class="src-comm">//Initialize our full servlet URLs now that we have server information</span></div></li> -<li><div class="src-line"><a name="a286"></a> <span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_extractUrl </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#method_constructUrl">_constructUrl</a><span class="src-sym">(</span><span class="src-id">self</span><span class="src-sym">::</span><span class="src-id">EXTRACT_SERVLET</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a287"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_pingUrl">_pingUrl</a> = <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#method_constructUrl">_constructUrl</a><span class="src-sym">(</span><span class="src-id">self</span><span class="src-sym">::</span><span class="src-id">PING_SERVLET</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a288"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_searchUrl">_searchUrl</a> = <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#method_constructUrl">_constructUrl</a><span class="src-sym">(</span><span class="src-id">self</span><span class="src-sym">::</span><span class="src-id">SEARCH_SERVLET</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a289"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_threadsUrl">_threadsUrl</a> = <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#method_constructUrl">_constructUrl</a><span class="src-sym">(</span><span class="src-id">self</span><span class="src-sym">::</span><span class="src-id">THREADS_SERVLET</span><span class="src-sym">, </span><span class="src-key">array</span><span class="src-sym">(</span><span class="src-str">'wt' </span>=> <span class="src-id">self</span><span class="src-sym">::</span><span class="src-id">SOLR_WRITER </span><span class="src-sym">))</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a290"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_updateUrl">_updateUrl</a> = <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#method_constructUrl">_constructUrl</a><span class="src-sym">(</span><span class="src-id">self</span><span class="src-sym">::</span><span class="src-id">UPDATE_SERVLET</span><span class="src-sym">, </span><span class="src-key">array</span><span class="src-sym">(</span><span class="src-str">'wt' </span>=> <span class="src-id">self</span><span class="src-sym">::</span><span class="src-id">SOLR_WRITER </span><span class="src-sym">))</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a291"></a> </div></li> -<li><div class="src-line"><a name="a292"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_urlsInited">_urlsInited</a> = <span class="src-id">true</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a293"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a294"></a> </div></li> -<li><div class="src-line"><a name="a295"></a> <span class="src-key">protected </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#method_generateQueryString">_generateQueryString</a><span class="src-sym">(</span><span class="src-var">$params</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a296"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a297"></a> <span class="src-comm">// use http_build_query to encode our arguments because its faster</span></div></li> -<li><div class="src-line"><a name="a298"></a> <span class="src-comm">// than urlencoding all the parts ourselves in a loop</span></div></li> -<li><div class="src-line"><a name="a299"></a> <span class="src-comm">//</span></div></li> -<li><div class="src-line"><a name="a300"></a> <span class="src-comm">// because http_build_query treats arrays differently than we want to, correct the query</span></div></li> -<li><div class="src-line"><a name="a301"></a> <span class="src-comm">// string by changing foo[#]=bar (# being an actual number) parameter strings to just</span></div></li> -<li><div class="src-line"><a name="a302"></a> <span class="src-comm">// multiple foo=bar strings. This regex should always work since '=' will be urlencoded</span></div></li> -<li><div class="src-line"><a name="a303"></a> <span class="src-comm">// anywhere else the regex isn't expecting it</span></div></li> -<li><div class="src-line"><a name="a304"></a> <span class="src-comm">//</span></div></li> -<li><div class="src-line"><a name="a305"></a> <span class="src-comm">// NOTE: before php 5.1.3 brackets were not url encoded by http_build query - we've checked</span></div></li> -<li><div class="src-line"><a name="a306"></a> <span class="src-comm">// the php version in the constructor and put the results in the instance variable. Also, before</span></div></li> -<li><div class="src-line"><a name="a307"></a> <span class="src-comm">// 5.1.2 the arg_separator parameter was not available, so don't use it</span></div></li> -<li><div class="src-line"><a name="a308"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_queryBracketsEscaped">_queryBracketsEscaped</a><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a309"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a310"></a> <span class="src-var">$queryString </span>= <a href="http://www.php.net/http_build_query">http_build_query</a><span class="src-sym">(</span><span class="src-var">$params</span><span class="src-sym">, </span><span class="src-id">null</span><span class="src-sym">, </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_queryStringDelimiter">_queryStringDelimiter</a><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a311"></a> <span class="src-key">return </span><a href="http://www.php.net/preg_replace">preg_replace</a><span class="src-sym">(</span><span class="src-str">'/%5B(?:[0-9]|[1-9][0-9]+)%5D=/'</span><span class="src-sym">, </span><span class="src-str">'='</span><span class="src-sym">, </span><span class="src-var">$queryString</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a312"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a313"></a> <span class="src-key">else</span></div></li> -<li><div class="src-line"><a name="a314"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a315"></a> <span class="src-var">$queryString </span>= <a href="http://www.php.net/http_build_query">http_build_query</a><span class="src-sym">(</span><span class="src-var">$params</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a316"></a> <span class="src-key">return </span><a href="http://www.php.net/preg_replace">preg_replace</a><span class="src-sym">(</span><span class="src-str">'/\\[(?:[0-9]|[1-9][0-9]+)\\]=/'</span><span class="src-sym">, </span><span class="src-str">'='</span><span class="src-sym">, </span><span class="src-var">$queryString</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a317"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a318"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a319"></a> </div></li> -<li><div class="src-line"><a name="a320"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a321"></a><span class="src-doc"> * Central method for making a get operation against this Solr Server</span></div></li> -<li><div class="src-line"><a name="a322"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a323"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$url </span></div></li> -<li><div class="src-line"><a name="a324"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">float </span><span class="src-doc-var">$timeout </span><span class="src-doc">Read timeout in seconds</span></div></li> -<li><div class="src-line"><a name="a325"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">Apache_Solr_Response </span></div></li> -<li><div class="src-line"><a name="a326"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a327"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@throws</span><span class="src-doc"> Apache_Solr_HttpTransportException If a non 200 response status is returned</span></div></li> -<li><div class="src-line"><a name="a328"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a329"></a> <span class="src-key">protected </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#method_sendRawGet">_sendRawGet</a><span class="src-sym">(</span><span class="src-var">$url</span><span class="src-sym">, </span><span class="src-var">$timeout </span>= <span class="src-id">FALSE</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a330"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a331"></a> <span class="src-var">$httpTransport </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#methodgetHttpTransport">getHttpTransport</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a332"></a> </div></li> -<li><div class="src-line"><a name="a333"></a> <span class="src-var">$httpResponse </span>= <span class="src-var">$httpTransport</span><span class="src-sym">-></span><span class="src-id">performGetRequest</span><span class="src-sym">(</span><span class="src-var">$url</span><span class="src-sym">, </span><span class="src-var">$timeout</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a334"></a> <span class="src-var">$solrResponse </span>= <span class="src-key">new </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span><span class="src-sym">(</span><span class="src-var">$httpResponse</span><span class="src-sym">, </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_createDocuments">_createDocuments</a><span class="src-sym">, </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_collapseSingleValueArrays">_collapseSingleValueArrays</a><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a335"></a> </div></li> -<li><div class="src-line"><a name="a336"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$solrResponse</span><span class="src-sym">-></span><span class="src-id">getHttpStatus</span><span class="src-sym">(</span><span class="src-sym">) </span>!= <span class="src-num">200</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a337"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a338"></a> throw <span class="src-key">new </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_HttpTransportException.html">Apache_Solr_HttpTransportException</a></span><span class="src-sym">(</span><span class="src-var">$solrResponse</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a339"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a340"></a> </div></li> -<li><div class="src-line"><a name="a341"></a> <span class="src-key">return </span><span class="src-var">$solrResponse</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a342"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a343"></a> </div></li> -<li><div class="src-line"><a name="a344"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a345"></a><span class="src-doc"> * Central method for making a post operation against this Solr Server</span></div></li> -<li><div class="src-line"><a name="a346"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a347"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$url </span></div></li> -<li><div class="src-line"><a name="a348"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$rawPost </span></div></li> -<li><div class="src-line"><a name="a349"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">float </span><span class="src-doc-var">$timeout </span><span class="src-doc">Read timeout in seconds</span></div></li> -<li><div class="src-line"><a name="a350"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$contentType </span></div></li> -<li><div class="src-line"><a name="a351"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">Apache_Solr_Response </span></div></li> -<li><div class="src-line"><a name="a352"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a353"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@throws</span><span class="src-doc"> Apache_Solr_HttpTransportException If a non 200 response status is returned</span></div></li> -<li><div class="src-line"><a name="a354"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a355"></a> <span class="src-key">protected </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#method_sendRawPost">_sendRawPost</a><span class="src-sym">(</span><span class="src-var">$url</span><span class="src-sym">, </span><span class="src-var">$rawPost</span><span class="src-sym">, </span><span class="src-var">$timeout </span>= <span class="src-id">FALSE</span><span class="src-sym">, </span><span class="src-var">$contentType </span>= <span class="src-str">'text/xml; charset=UTF-8'</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a356"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a357"></a> <span class="src-var">$httpTransport </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#methodgetHttpTransport">getHttpTransport</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a358"></a> </div></li> -<li><div class="src-line"><a name="a359"></a> <span class="src-var">$httpResponse </span>= <span class="src-var">$httpTransport</span><span class="src-sym">-></span><span class="src-id">performPostRequest</span><span class="src-sym">(</span><span class="src-var">$url</span><span class="src-sym">, </span><span class="src-var">$rawPost</span><span class="src-sym">, </span><span class="src-var">$contentType</span><span class="src-sym">, </span><span class="src-var">$timeout</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a360"></a> <span class="src-var">$solrResponse </span>= <span class="src-key">new </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span><span class="src-sym">(</span><span class="src-var">$httpResponse</span><span class="src-sym">, </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_createDocuments">_createDocuments</a><span class="src-sym">, </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_collapseSingleValueArrays">_collapseSingleValueArrays</a><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a361"></a> </div></li> -<li><div class="src-line"><a name="a362"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$solrResponse</span><span class="src-sym">-></span><span class="src-id">getHttpStatus</span><span class="src-sym">(</span><span class="src-sym">) </span>!= <span class="src-num">200</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a363"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a364"></a> throw <span class="src-key">new </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_HttpTransportException.html">Apache_Solr_HttpTransportException</a></span><span class="src-sym">(</span><span class="src-var">$solrResponse</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a365"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a366"></a> </div></li> -<li><div class="src-line"><a name="a367"></a> <span class="src-key">return </span><span class="src-var">$solrResponse</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a368"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a369"></a> </div></li> -<li><div class="src-line"><a name="a370"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a371"></a><span class="src-doc"> * Returns the set host</span></div></li> -<li><div class="src-line"><a name="a372"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a373"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">string </span></div></li> -<li><div class="src-line"><a name="a374"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a375"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#methodgetHost">getHost</a><span class="src-sym">(</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a376"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a377"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_host">_host</a><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a378"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a379"></a> </div></li> -<li><div class="src-line"><a name="a380"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a381"></a><span class="src-doc"> * Set the host used. If empty will fallback to constants</span></div></li> -<li><div class="src-line"><a name="a382"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a383"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$host </span></div></li> -<li><div class="src-line"><a name="a384"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a385"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@throws</span><span class="src-doc"> Apache_Solr_InvalidArgumentException If the host parameter is empty</span></div></li> -<li><div class="src-line"><a name="a386"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a387"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#methodsetHost">setHost</a><span class="src-sym">(</span><span class="src-var">$host</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a388"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a389"></a> <span class="src-comm">//Use the provided host or use the default</span></div></li> -<li><div class="src-line"><a name="a390"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-key">empty</span><span class="src-sym">(</span><span class="src-var">$host</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a391"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a392"></a> throw <span class="src-key">new </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_InvalidArgumentException.html">Apache_Solr_InvalidArgumentException</a></span><span class="src-sym">(</span><span class="src-str">'Host parameter is empty'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a393"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a394"></a> <span class="src-key">else</span></div></li> -<li><div class="src-line"><a name="a395"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a396"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_host">_host</a> = <span class="src-var">$host</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a397"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a398"></a> </div></li> -<li><div class="src-line"><a name="a399"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_urlsInited">_urlsInited</a><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a400"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a401"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#method_initUrls">_initUrls</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a402"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a403"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a404"></a> </div></li> -<li><div class="src-line"><a name="a405"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a406"></a><span class="src-doc"> * Get the set port</span></div></li> -<li><div class="src-line"><a name="a407"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a408"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">integer </span></div></li> -<li><div class="src-line"><a name="a409"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a410"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#methodgetPort">getPort</a><span class="src-sym">(</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a411"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a412"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_port">_port</a><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a413"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a414"></a> </div></li> -<li><div class="src-line"><a name="a415"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a416"></a><span class="src-doc"> * Set the port used. If empty will fallback to constants</span></div></li> -<li><div class="src-line"><a name="a417"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a418"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">integer </span><span class="src-doc-var">$port </span></div></li> -<li><div class="src-line"><a name="a419"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a420"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@throws</span><span class="src-doc"> Apache_Solr_InvalidArgumentException If the port parameter is empty</span></div></li> -<li><div class="src-line"><a name="a421"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a422"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#methodsetPort">setPort</a><span class="src-sym">(</span><span class="src-var">$port</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a423"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a424"></a> <span class="src-comm">//Use the provided port or use the default</span></div></li> -<li><div class="src-line"><a name="a425"></a> <span class="src-var">$port </span>= (int) <span class="src-var">$port</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a426"></a> </div></li> -<li><div class="src-line"><a name="a427"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$port </span><= <span class="src-num">0</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a428"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a429"></a> throw <span class="src-key">new </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_InvalidArgumentException.html">Apache_Solr_InvalidArgumentException</a></span><span class="src-sym">(</span><span class="src-str">'Port is not a valid port number'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a430"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a431"></a> <span class="src-key">else</span></div></li> -<li><div class="src-line"><a name="a432"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a433"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_port">_port</a> = <span class="src-var">$port</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a434"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a435"></a> </div></li> -<li><div class="src-line"><a name="a436"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_urlsInited">_urlsInited</a><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a437"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a438"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#method_initUrls">_initUrls</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a439"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a440"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a441"></a> </div></li> -<li><div class="src-line"><a name="a442"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a443"></a><span class="src-doc"> * Get the set path.</span></div></li> -<li><div class="src-line"><a name="a444"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a445"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">string </span></div></li> -<li><div class="src-line"><a name="a446"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a447"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#methodgetPath">getPath</a><span class="src-sym">(</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a448"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a449"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_path">_path</a><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a450"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a451"></a> </div></li> -<li><div class="src-line"><a name="a452"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a453"></a><span class="src-doc"> * Set the path used. If empty will fallback to constants</span></div></li> -<li><div class="src-line"><a name="a454"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a455"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$path </span></div></li> -<li><div class="src-line"><a name="a456"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a457"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#methodsetPath">setPath</a><span class="src-sym">(</span><span class="src-var">$path</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a458"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a459"></a> <span class="src-var">$path </span>= <a href="http://www.php.net/trim">trim</a><span class="src-sym">(</span><span class="src-var">$path</span><span class="src-sym">, </span><span class="src-str">'/'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a460"></a> </div></li> -<li><div class="src-line"><a name="a461"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_path">_path</a> = <span class="src-str">'/' </span>. <span class="src-var">$path </span>. <span class="src-str">'/'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a462"></a> </div></li> -<li><div class="src-line"><a name="a463"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_urlsInited">_urlsInited</a><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a464"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a465"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#method_initUrls">_initUrls</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a466"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a467"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a468"></a> </div></li> -<li><div class="src-line"><a name="a469"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a470"></a><span class="src-doc"> * Get the current configured HTTP Transport</span></div></li> -<li><div class="src-line"><a name="a471"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a472"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">HttpTransportInterface </span></div></li> -<li><div class="src-line"><a name="a473"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a474"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#methodgetHttpTransport">getHttpTransport</a><span class="src-sym">(</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a475"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a476"></a> <span class="src-comm">// lazy load a default if one has not be set</span></div></li> -<li><div class="src-line"><a name="a477"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_httpTransport">_httpTransport</a> === <span class="src-id">false</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a478"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a479"></a> <span class="src-inc">require_once</span><span class="src-sym">(</span><a href="http://www.php.net/dirname">dirname</a><span class="src-sym">(</span>__FILE__<span class="src-sym">) </span>. <span class="src-str">'/HttpTransport/FileGetContents.php'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a480"></a> </div></li> -<li><div class="src-line"><a name="a481"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_httpTransport">_httpTransport</a> = <span class="src-key">new </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_HttpTransport_FileGetContents.html">Apache_Solr_HttpTransport_FileGetContents</a></span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a482"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a483"></a> </div></li> -<li><div class="src-line"><a name="a484"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_httpTransport">_httpTransport</a><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a485"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a486"></a> </div></li> -<li><div class="src-line"><a name="a487"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a488"></a><span class="src-doc"> * Set the HTTP Transport implemenation that will be used for all HTTP requests</span></div></li> -<li><div class="src-line"><a name="a489"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a490"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">Apache_Solr_HttpTransport_Interface </span></div></li> -<li><div class="src-line"><a name="a491"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a492"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#methodsetHttpTransport">setHttpTransport</a><span class="src-sym">(</span><span class="src-id">Apache_Solr_HttpTransport_Interface </span><span class="src-var">$httpTransport</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a493"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a494"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_httpTransport">_httpTransport</a> = <span class="src-var">$httpTransport</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a495"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a496"></a> </div></li> -<li><div class="src-line"><a name="a497"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a498"></a><span class="src-doc"> * Set the create documents flag. This determines whether </span><span class="src-doc-inlinetag">{@link Apache_Solr_Response}</span><span class="src-doc"> objects will</span></div></li> -<li><div class="src-line"><a name="a499"></a><span class="src-doc"> * parse the response and create </span><span class="src-doc-inlinetag">{@link Apache_Solr_Document}</span><span class="src-doc"> instances in place.</span></div></li> -<li><div class="src-line"><a name="a500"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a501"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">boolean </span><span class="src-doc-var">$createDocuments </span></div></li> -<li><div class="src-line"><a name="a502"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a503"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#methodsetCreateDocuments">setCreateDocuments</a><span class="src-sym">(</span><span class="src-var">$createDocuments</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a504"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a505"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_createDocuments">_createDocuments</a> = (bool) <span class="src-var">$createDocuments</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a506"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a507"></a> </div></li> -<li><div class="src-line"><a name="a508"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a509"></a><span class="src-doc"> * Get the current state of teh create documents flag.</span></div></li> -<li><div class="src-line"><a name="a510"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a511"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">boolean </span></div></li> -<li><div class="src-line"><a name="a512"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a513"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#methodgetCreateDocuments">getCreateDocuments</a><span class="src-sym">(</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a514"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a515"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_createDocuments">_createDocuments</a><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a516"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a517"></a> </div></li> -<li><div class="src-line"><a name="a518"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a519"></a><span class="src-doc"> * Set the collapse single value arrays flag.</span></div></li> -<li><div class="src-line"><a name="a520"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a521"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">boolean </span><span class="src-doc-var">$collapseSingleValueArrays </span></div></li> -<li><div class="src-line"><a name="a522"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a523"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#methodsetCollapseSingleValueArrays">setCollapseSingleValueArrays</a><span class="src-sym">(</span><span class="src-var">$collapseSingleValueArrays</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a524"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a525"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_collapseSingleValueArrays">_collapseSingleValueArrays</a> = (bool) <span class="src-var">$collapseSingleValueArrays</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a526"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a527"></a> </div></li> -<li><div class="src-line"><a name="a528"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a529"></a><span class="src-doc"> * Get the current state of the collapse single value arrays flag.</span></div></li> -<li><div class="src-line"><a name="a530"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a531"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">boolean </span></div></li> -<li><div class="src-line"><a name="a532"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a533"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#methodgetCollapseSingleValueArrays">getCollapseSingleValueArrays</a><span class="src-sym">(</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a534"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a535"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_collapseSingleValueArrays">_collapseSingleValueArrays</a><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a536"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a537"></a> </div></li> -<li><div class="src-line"><a name="a538"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a539"></a><span class="src-doc"> * Get the current default timeout setting (initially the default_socket_timeout ini setting)</span></div></li> -<li><div class="src-line"><a name="a540"></a><span class="src-doc"> * in seconds</span></div></li> -<li><div class="src-line"><a name="a541"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a542"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">float </span></div></li> -<li><div class="src-line"><a name="a543"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a544"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@deprecated</span><span class="src-doc"> Use the getDefaultTimeout method on the HTTP transport implementation</span></div></li> -<li><div class="src-line"><a name="a545"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a546"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#methodgetDefaultTimeout">getDefaultTimeout</a><span class="src-sym">(</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a547"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a548"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#methodgetHttpTransport">getHttpTransport</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">-></span><span class="src-id">getDefaultTimeout</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a549"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a550"></a> </div></li> -<li><div class="src-line"><a name="a551"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a552"></a><span class="src-doc"> * Set the default timeout for all calls that aren't passed a specific timeout</span></div></li> -<li><div class="src-line"><a name="a553"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a554"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">float </span><span class="src-doc-var">$timeout </span><span class="src-doc">Timeout value in seconds</span></div></li> -<li><div class="src-line"><a name="a555"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a556"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@deprecated</span><span class="src-doc"> Use the setDefaultTimeout method on the HTTP transport implementation</span></div></li> -<li><div class="src-line"><a name="a557"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a558"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#methodsetDefaultTimeout">setDefaultTimeout</a><span class="src-sym">(</span><span class="src-var">$timeout</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a559"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a560"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#methodgetHttpTransport">getHttpTransport</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">-></span><span class="src-id">setDefaultTimeout</span><span class="src-sym">(</span><span class="src-var">$timeout</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a561"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a562"></a> </div></li> -<li><div class="src-line"><a name="a563"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a564"></a><span class="src-doc"> * Set how NamedLists should be formatted in the response data. This mainly effects</span></div></li> -<li><div class="src-line"><a name="a565"></a><span class="src-doc"> * the facet counts format.</span></div></li> -<li><div class="src-line"><a name="a566"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a567"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$namedListTreatment </span></div></li> -<li><div class="src-line"><a name="a568"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@throws</span><span class="src-doc"> Apache_Solr_InvalidArgumentException If invalid option is set</span></div></li> -<li><div class="src-line"><a name="a569"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a570"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#methodsetNamedListTreatment">setNamedListTreatment</a><span class="src-sym">(</span><span class="src-var">$namedListTreatment</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a571"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a572"></a> <span class="src-key">switch </span><span class="src-sym">(</span>(string) <span class="src-var">$namedListTreatment</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a573"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a574"></a> <span class="src-key">case </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_Service.html">Apache_Solr_Service</a></span><span class="src-sym">::</span><span class="src-id">NAMED_LIST_FLAT</span>:</div></li> -<li><div class="src-line"><a name="a575"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_namedListTreatment">_namedListTreatment</a> = <span class="src-id"><a href="../Apache/Solr/Apache_Solr_Service.html">Apache_Solr_Service</a></span><span class="src-sym">::</span><span class="src-id">NAMED_LIST_FLAT</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a576"></a> <span class="src-key">break</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a577"></a> </div></li> -<li><div class="src-line"><a name="a578"></a> <span class="src-key">case </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_Service.html">Apache_Solr_Service</a></span><span class="src-sym">::</span><span class="src-id">NAMED_LIST_MAP</span>:</div></li> -<li><div class="src-line"><a name="a579"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_namedListTreatment">_namedListTreatment</a> = <span class="src-id"><a href="../Apache/Solr/Apache_Solr_Service.html">Apache_Solr_Service</a></span><span class="src-sym">::</span><span class="src-id">NAMED_LIST_MAP</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a580"></a> <span class="src-key">break</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a581"></a> </div></li> -<li><div class="src-line"><a name="a582"></a> <span class="src-key">default</span>:</div></li> -<li><div class="src-line"><a name="a583"></a> throw <span class="src-key">new </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_InvalidArgumentException.html">Apache_Solr_InvalidArgumentException</a></span><span class="src-sym">(</span><span class="src-str">'Not a valid named list treatement option'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a584"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a585"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a586"></a> </div></li> -<li><div class="src-line"><a name="a587"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a588"></a><span class="src-doc"> * Get the current setting for named list treatment.</span></div></li> -<li><div class="src-line"><a name="a589"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a590"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">string </span></div></li> -<li><div class="src-line"><a name="a591"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a592"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#methodgetNamedListTreatment">getNamedListTreatment</a><span class="src-sym">(</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a593"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a594"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_namedListTreatment">_namedListTreatment</a><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a595"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a596"></a> </div></li> -<li><div class="src-line"><a name="a597"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a598"></a><span class="src-doc"> * Set the string used to separate the path form the query string.</span></div></li> -<li><div class="src-line"><a name="a599"></a><span class="src-doc"> * Defaulted to '?'</span></div></li> -<li><div class="src-line"><a name="a600"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a601"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$queryDelimiter </span></div></li> -<li><div class="src-line"><a name="a602"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a603"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#methodsetQueryDelimiter">setQueryDelimiter</a><span class="src-sym">(</span><span class="src-var">$queryDelimiter</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a604"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a605"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_queryDelimiter">_queryDelimiter</a> = <span class="src-var">$queryDelimiter</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a606"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a607"></a> </div></li> -<li><div class="src-line"><a name="a608"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a609"></a><span class="src-doc"> * Set the string used to separate the parameters in thequery string</span></div></li> -<li><div class="src-line"><a name="a610"></a><span class="src-doc"> * Defaulted to '&'</span></div></li> -<li><div class="src-line"><a name="a611"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a612"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$queryStringDelimiter </span></div></li> -<li><div class="src-line"><a name="a613"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a614"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#methodsetQueryStringDelimiter">setQueryStringDelimiter</a><span class="src-sym">(</span><span class="src-var">$queryStringDelimiter</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a615"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a616"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_queryStringDelimiter">_queryStringDelimiter</a> = <span class="src-var">$queryStringDelimiter</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a617"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a618"></a> </div></li> -<li><div class="src-line"><a name="a619"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a620"></a><span class="src-doc"> * Call the /admin/ping servlet, can be used to quickly tell if a connection to the</span></div></li> -<li><div class="src-line"><a name="a621"></a><span class="src-doc"> * server is able to be made.</span></div></li> -<li><div class="src-line"><a name="a622"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a623"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">float </span><span class="src-doc-var">$timeout </span><span class="src-doc">maximum time to wait for ping in seconds, -1 for unlimited (default is 2)</span></div></li> -<li><div class="src-line"><a name="a624"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">float </span><span class="src-doc">Actual time taken to ping the server, FALSE if timeout or HTTP error status occurs</span></div></li> -<li><div class="src-line"><a name="a625"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a626"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#methodping">ping</a><span class="src-sym">(</span><span class="src-var">$timeout </span>= <span class="src-num">2</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a627"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a628"></a> <span class="src-var">$start </span>= <a href="http://www.php.net/microtime">microtime</a><span class="src-sym">(</span><span class="src-id">true</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a629"></a> </div></li> -<li><div class="src-line"><a name="a630"></a> <span class="src-var">$httpTransport </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#methodgetHttpTransport">getHttpTransport</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a631"></a> </div></li> -<li><div class="src-line"><a name="a632"></a> <span class="src-var">$httpResponse </span>= <span class="src-var">$httpTransport</span><span class="src-sym">-></span><span class="src-id">performHeadRequest</span><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_pingUrl">_pingUrl</a><span class="src-sym">, </span><span class="src-var">$timeout</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a633"></a> <span class="src-var">$solrResponse </span>= <span class="src-key">new </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></span><span class="src-sym">(</span><span class="src-var">$httpResponse</span><span class="src-sym">, </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_createDocuments">_createDocuments</a><span class="src-sym">, </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_collapseSingleValueArrays">_collapseSingleValueArrays</a><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a634"></a> </div></li> -<li><div class="src-line"><a name="a635"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$solrResponse</span><span class="src-sym">-></span><span class="src-id">getHttpStatus</span><span class="src-sym">(</span><span class="src-sym">) </span>== <span class="src-num">200</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a636"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a637"></a> <span class="src-key">return </span><a href="http://www.php.net/microtime">microtime</a><span class="src-sym">(</span><span class="src-id">true</span><span class="src-sym">) </span>- <span class="src-var">$start</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a638"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a639"></a> <span class="src-key">else</span></div></li> -<li><div class="src-line"><a name="a640"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a641"></a> <span class="src-key">return </span><span class="src-id">false</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a642"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a643"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a644"></a> </div></li> -<li><div class="src-line"><a name="a645"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a646"></a><span class="src-doc"> * Call the /admin/threads servlet and retrieve information about all threads in the</span></div></li> -<li><div class="src-line"><a name="a647"></a><span class="src-doc"> * Solr servlet's thread group. Useful for diagnostics.</span></div></li> -<li><div class="src-line"><a name="a648"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a649"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">Apache_Solr_Response </span></div></li> -<li><div class="src-line"><a name="a650"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a651"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@throws</span><span class="src-doc"> Apache_Solr_HttpTransportException If an error occurs during the service call</span></div></li> -<li><div class="src-line"><a name="a652"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a653"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#methodthreads">threads</a><span class="src-sym">(</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a654"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a655"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#method_sendRawGet">_sendRawGet</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_threadsUrl">_threadsUrl</a><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a656"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a657"></a> </div></li> -<li><div class="src-line"><a name="a658"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a659"></a><span class="src-doc"> * Raw Add Method. Takes a raw post body and sends it to the update service. Post body</span></div></li> -<li><div class="src-line"><a name="a660"></a><span class="src-doc"> * should be a complete and well formed "add" xml document.</span></div></li> -<li><div class="src-line"><a name="a661"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a662"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$rawPost </span></div></li> -<li><div class="src-line"><a name="a663"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">Apache_Solr_Response </span></div></li> -<li><div class="src-line"><a name="a664"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a665"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@throws</span><span class="src-doc"> Apache_Solr_HttpTransportException If an error occurs during the service call</span></div></li> -<li><div class="src-line"><a name="a666"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a667"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#methodadd">add</a><span class="src-sym">(</span><span class="src-var">$rawPost</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a668"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a669"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#method_sendRawPost">_sendRawPost</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_updateUrl">_updateUrl</a><span class="src-sym">, </span><span class="src-var">$rawPost</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a670"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a671"></a> </div></li> -<li><div class="src-line"><a name="a672"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a673"></a><span class="src-doc"> * Add a Solr Document to the index</span></div></li> -<li><div class="src-line"><a name="a674"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a675"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">Apache_Solr_Document </span><span class="src-doc-var">$document </span></div></li> -<li><div class="src-line"><a name="a676"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">boolean </span><span class="src-doc-var">$allowDups </span></div></li> -<li><div class="src-line"><a name="a677"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">boolean </span><span class="src-doc-var">$overwritePending </span></div></li> -<li><div class="src-line"><a name="a678"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">boolean </span><span class="src-doc-var">$overwriteCommitted </span></div></li> -<li><div class="src-line"><a name="a679"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">integer </span><span class="src-doc-var">$commitWithin </span><span class="src-doc">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.</span></div></li> -<li><div class="src-line"><a name="a680"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">Apache_Solr_Response </span></div></li> -<li><div class="src-line"><a name="a681"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a682"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@throws</span><span class="src-doc"> Apache_Solr_HttpTransportException If an error occurs during the service call</span></div></li> -<li><div class="src-line"><a name="a683"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a684"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#methodaddDocument">addDocument</a><span class="src-sym">(</span><span class="src-id">Apache_Solr_Document </span><span class="src-var">$document</span><span class="src-sym">, </span><span class="src-var">$allowDups </span>= <span class="src-id">false</span><span class="src-sym">, </span><span class="src-var">$overwritePending </span>= <span class="src-id">true</span><span class="src-sym">, </span><span class="src-var">$overwriteCommitted </span>= <span class="src-id">true</span><span class="src-sym">, </span><span class="src-var">$commitWithin </span>= <span class="src-num">0</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a685"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a686"></a> <span class="src-var">$dupValue </span>= <span class="src-var">$allowDups </span>? <span class="src-str">'true' </span>: <span class="src-str">'false'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a687"></a> <span class="src-var">$pendingValue </span>= <span class="src-var">$overwritePending </span>? <span class="src-str">'true' </span>: <span class="src-str">'false'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a688"></a> <span class="src-var">$committedValue </span>= <span class="src-var">$overwriteCommitted </span>? <span class="src-str">'true' </span>: <span class="src-str">'false'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a689"></a> </div></li> -<li><div class="src-line"><a name="a690"></a> <span class="src-var">$commitWithin </span>= (int) <span class="src-var">$commitWithin</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a691"></a> <span class="src-var">$commitWithinString </span>= <span class="src-var">$commitWithin </span>> <span class="src-num">0 </span>? <span class="src-str">"</span><span class="src-str"> commitWithin=\"{<span class="src-var">$commitWithin</span><span class="src-sym">}</span>\"</span><span class="src-str">" </span>: <span class="src-str">''</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a692"></a> </div></li> -<li><div class="src-line"><a name="a693"></a> <span class="src-var">$rawPost </span>= <span class="src-str">"</span><span class="src-str"><add allowDups=\"{<span class="src-var">$dupValue</span><span class="src-sym">}</span>\" overwritePending=\"{<span class="src-var">$pendingValue</span><span class="src-sym">}</span>\" overwriteCommitted=\"{<span class="src-var">$committedValue</span><span class="src-sym">}</span>\"{<span class="src-var">$commitWithinString</span><span class="src-sym">}</span>></span><span class="src-str">"</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a694"></a> <span class="src-var">$rawPost </span>.= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#method_documentToXmlFragment">_documentToXmlFragment</a><span class="src-sym">(</span><span class="src-var">$document</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a695"></a> <span class="src-var">$rawPost </span>.= <span class="src-str">'</add>'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a696"></a> </div></li> -<li><div class="src-line"><a name="a697"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#methodadd">add</a><span class="src-sym">(</span><span class="src-var">$rawPost</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a698"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a699"></a> </div></li> -<li><div class="src-line"><a name="a700"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a701"></a><span class="src-doc"> * Add an array of Solr Documents to the index all at once</span></div></li> -<li><div class="src-line"><a name="a702"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a703"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">array </span><span class="src-doc-var">$documents </span><span class="src-doc">Should be an array of Apache_Solr_Document instances</span></div></li> -<li><div class="src-line"><a name="a704"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">boolean </span><span class="src-doc-var">$allowDups </span></div></li> -<li><div class="src-line"><a name="a705"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">boolean </span><span class="src-doc-var">$overwritePending </span></div></li> -<li><div class="src-line"><a name="a706"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">boolean </span><span class="src-doc-var">$overwriteCommitted </span></div></li> -<li><div class="src-line"><a name="a707"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">integer </span><span class="src-doc-var">$commitWithin </span><span class="src-doc">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.</span></div></li> -<li><div class="src-line"><a name="a708"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">Apache_Solr_Response </span></div></li> -<li><div class="src-line"><a name="a709"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a710"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@throws</span><span class="src-doc"> Apache_Solr_HttpTransportException If an error occurs during the service call</span></div></li> -<li><div class="src-line"><a name="a711"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a712"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#methodaddDocuments">addDocuments</a><span class="src-sym">(</span><span class="src-var">$documents</span><span class="src-sym">, </span><span class="src-var">$allowDups </span>= <span class="src-id">false</span><span class="src-sym">, </span><span class="src-var">$overwritePending </span>= <span class="src-id">true</span><span class="src-sym">, </span><span class="src-var">$overwriteCommitted </span>= <span class="src-id">true</span><span class="src-sym">, </span><span class="src-var">$commitWithin </span>= <span class="src-num">0</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a713"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a714"></a> <span class="src-var">$dupValue </span>= <span class="src-var">$allowDups </span>? <span class="src-str">'true' </span>: <span class="src-str">'false'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a715"></a> <span class="src-var">$pendingValue </span>= <span class="src-var">$overwritePending </span>? <span class="src-str">'true' </span>: <span class="src-str">'false'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a716"></a> <span class="src-var">$committedValue </span>= <span class="src-var">$overwriteCommitted </span>? <span class="src-str">'true' </span>: <span class="src-str">'false'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a717"></a> </div></li> -<li><div class="src-line"><a name="a718"></a> <span class="src-var">$commitWithin </span>= (int) <span class="src-var">$commitWithin</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a719"></a> <span class="src-var">$commitWithinString </span>= <span class="src-var">$commitWithin </span>> <span class="src-num">0 </span>? <span class="src-str">"</span><span class="src-str"> commitWithin=\"{<span class="src-var">$commitWithin</span><span class="src-sym">}</span>\"</span><span class="src-str">" </span>: <span class="src-str">''</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a720"></a> </div></li> -<li><div class="src-line"><a name="a721"></a> <span class="src-var">$rawPost </span>= <span class="src-str">"</span><span class="src-str"><add allowDups=\"{<span class="src-var">$dupValue</span><span class="src-sym">}</span>\" overwritePending=\"{<span class="src-var">$pendingValue</span><span class="src-sym">}</span>\" overwriteCommitted=\"{<span class="src-var">$committedValue</span><span class="src-sym">}</span>\"{<span class="src-var">$commitWithinString</span><span class="src-sym">}</span>></span><span class="src-str">"</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a722"></a> </div></li> -<li><div class="src-line"><a name="a723"></a> <span class="src-key">foreach </span><span class="src-sym">(</span><span class="src-var">$documents </span><span class="src-key">as </span><span class="src-var">$document</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a724"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a725"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$document </span>instanceof <span class="src-id"><a href="../Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a></span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a726"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a727"></a> <span class="src-var">$rawPost </span>.= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#method_documentToXmlFragment">_documentToXmlFragment</a><span class="src-sym">(</span><span class="src-var">$document</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a728"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a729"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a730"></a> </div></li> -<li><div class="src-line"><a name="a731"></a> <span class="src-var">$rawPost </span>.= <span class="src-str">'</add>'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a732"></a> </div></li> -<li><div class="src-line"><a name="a733"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#methodadd">add</a><span class="src-sym">(</span><span class="src-var">$rawPost</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a734"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a735"></a> </div></li> -<li><div class="src-line"><a name="a736"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a737"></a><span class="src-doc"> * Create an XML fragment from a </span><span class="src-doc-inlinetag">{@link Apache_Solr_Document}</span><span class="src-doc"> instance appropriate for use inside a Solr add call</span></div></li> -<li><div class="src-line"><a name="a738"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a739"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">string </span></div></li> -<li><div class="src-line"><a name="a740"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a741"></a> <span class="src-key">protected </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#method_documentToXmlFragment">_documentToXmlFragment</a><span class="src-sym">(</span><span class="src-id">Apache_Solr_Document </span><span class="src-var">$document</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a742"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a743"></a> <span class="src-var">$xml </span>= <span class="src-str">'<doc'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a744"></a> </div></li> -<li><div class="src-line"><a name="a745"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$document</span><span class="src-sym">-></span><span class="src-id">getBoost</span><span class="src-sym">(</span><span class="src-sym">) </span>!== <span class="src-id">false</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a746"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a747"></a> <span class="src-var">$xml </span>.= <span class="src-str">' boost="' </span>. <span class="src-var">$document</span><span class="src-sym">-></span><span class="src-id">getBoost</span><span class="src-sym">(</span><span class="src-sym">) </span>. <span class="src-str">'"'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a748"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a749"></a> </div></li> -<li><div class="src-line"><a name="a750"></a> <span class="src-var">$xml </span>.= <span class="src-str">'>'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a751"></a> </div></li> -<li><div class="src-line"><a name="a752"></a> <span class="src-key">foreach </span><span class="src-sym">(</span><span class="src-var">$document </span><span class="src-key">as </span><span class="src-var">$key </span>=> <span class="src-var">$value</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a753"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a754"></a> <span class="src-var">$key </span>= <a href="http://www.php.net/htmlspecialchars">htmlspecialchars</a><span class="src-sym">(</span><span class="src-var">$key</span><span class="src-sym">, </span><span class="src-id">ENT_QUOTES</span><span class="src-sym">, </span><span class="src-str">'UTF-8'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a755"></a> <span class="src-var">$fieldBoost </span>= <span class="src-var">$document</span><span class="src-sym">-></span><span class="src-id">getFieldBoost</span><span class="src-sym">(</span><span class="src-var">$key</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a756"></a> </div></li> -<li><div class="src-line"><a name="a757"></a> <span class="src-key">if </span><span class="src-sym">(</span><a href="http://www.php.net/is_array">is_array</a><span class="src-sym">(</span><span class="src-var">$value</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a758"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a759"></a> <span class="src-key">foreach </span><span class="src-sym">(</span><span class="src-var">$value </span><span class="src-key">as </span><span class="src-var">$multivalue</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a760"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a761"></a> <span class="src-var">$xml </span>.= <span class="src-str">'<field name="' </span>. <span class="src-var">$key </span>. <span class="src-str">'"'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a762"></a> </div></li> -<li><div class="src-line"><a name="a763"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$fieldBoost </span>!== <span class="src-id">false</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a764"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a765"></a> <span class="src-var">$xml </span>.= <span class="src-str">' boost="' </span>. <span class="src-var">$fieldBoost </span>. <span class="src-str">'"'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a766"></a> </div></li> -<li><div class="src-line"><a name="a767"></a> <span class="src-comm">// only set the boost for the first field in the set</span></div></li> -<li><div class="src-line"><a name="a768"></a> <span class="src-var">$fieldBoost </span>= <span class="src-id">false</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a769"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a770"></a> </div></li> -<li><div class="src-line"><a name="a771"></a> <span class="src-var">$multivalue </span>= <a href="http://www.php.net/htmlspecialchars">htmlspecialchars</a><span class="src-sym">(</span><span class="src-var">$multivalue</span><span class="src-sym">, </span><span class="src-id">ENT_NOQUOTES</span><span class="src-sym">, </span><span class="src-str">'UTF-8'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a772"></a> </div></li> -<li><div class="src-line"><a name="a773"></a> <span class="src-var">$xml </span>.= <span class="src-str">'>' </span>. <span class="src-var">$multivalue </span>. <span class="src-str">'</field>'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a774"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a775"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a776"></a> <span class="src-key">else</span></div></li> -<li><div class="src-line"><a name="a777"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a778"></a> <span class="src-var">$xml </span>.= <span class="src-str">'<field name="' </span>. <span class="src-var">$key </span>. <span class="src-str">'"'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a779"></a> </div></li> -<li><div class="src-line"><a name="a780"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$fieldBoost </span>!== <span class="src-id">false</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a781"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a782"></a> <span class="src-var">$xml </span>.= <span class="src-str">' boost="' </span>. <span class="src-var">$fieldBoost </span>. <span class="src-str">'"'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a783"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a784"></a> </div></li> -<li><div class="src-line"><a name="a785"></a> <span class="src-var">$value </span>= <a href="http://www.php.net/htmlspecialchars">htmlspecialchars</a><span class="src-sym">(</span><span class="src-var">$value</span><span class="src-sym">, </span><span class="src-id">ENT_NOQUOTES</span><span class="src-sym">, </span><span class="src-str">'UTF-8'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a786"></a> </div></li> -<li><div class="src-line"><a name="a787"></a> <span class="src-var">$xml </span>.= <span class="src-str">'>' </span>. <span class="src-var">$value </span>. <span class="src-str">'</field>'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a788"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a789"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a790"></a> </div></li> -<li><div class="src-line"><a name="a791"></a> <span class="src-var">$xml </span>.= <span class="src-str">'</doc>'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a792"></a> </div></li> -<li><div class="src-line"><a name="a793"></a> <span class="src-comm">// replace any control characters to avoid Solr XML parser exception</span></div></li> -<li><div class="src-line"><a name="a794"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#method_stripCtrlChars">_stripCtrlChars</a><span class="src-sym">(</span><span class="src-var">$xml</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a795"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a796"></a> </div></li> -<li><div class="src-line"><a name="a797"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a798"></a><span class="src-doc"> * Replace control (non-printable) characters from string that are invalid to Solr's XML parser with a space.</span></div></li> -<li><div class="src-line"><a name="a799"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a800"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$string </span></div></li> -<li><div class="src-line"><a name="a801"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">string </span></div></li> -<li><div class="src-line"><a name="a802"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a803"></a> <span class="src-key">protected </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#method_stripCtrlChars">_stripCtrlChars</a><span class="src-sym">(</span><span class="src-var">$string</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a804"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a805"></a> <span class="src-comm">// See: http://w3.org/International/questions/qa-forms-utf-8.html</span></div></li> -<li><div class="src-line"><a name="a806"></a> <span class="src-comm">// Printable utf-8 does not include any of these chars below x7F</span></div></li> -<li><div class="src-line"><a name="a807"></a> <span class="src-key">return </span><a href="http://www.php.net/preg_replace">preg_replace</a><span class="src-sym">(</span><span class="src-str">'@[\x00-\x08\x0B\x0C\x0E-\x1F]@'</span><span class="src-sym">, </span><span class="src-str">' '</span><span class="src-sym">, </span><span class="src-var">$string</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a808"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a809"></a> </div></li> -<li><div class="src-line"><a name="a810"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a811"></a><span class="src-doc"> * Send a commit command. Will be synchronous unless both wait parameters are set to false.</span></div></li> -<li><div class="src-line"><a name="a812"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a813"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">boolean </span><span class="src-doc-var">$expungeDeletes </span><span class="src-doc">Defaults to false, merge segments with deletes away</span></div></li> -<li><div class="src-line"><a name="a814"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">boolean </span><span class="src-doc-var">$waitFlush </span><span class="src-doc">Defaults to true, block until index changes are flushed to disk</span></div></li> -<li><div class="src-line"><a name="a815"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">boolean </span><span class="src-doc-var">$waitSearcher </span><span class="src-doc">Defaults to true, block until a new searcher is opened and registered as the main query searcher, making the changes visible</span></div></li> -<li><div class="src-line"><a name="a816"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">float </span><span class="src-doc-var">$timeout </span><span class="src-doc">Maximum expected duration (in seconds) of the commit operation on the server (otherwise, will throw a communication exception). Defaults to 1 hour</span></div></li> -<li><div class="src-line"><a name="a817"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">Apache_Solr_Response </span></div></li> -<li><div class="src-line"><a name="a818"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a819"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@throws</span><span class="src-doc"> Apache_Solr_HttpTransportException If an error occurs during the service call</span></div></li> -<li><div class="src-line"><a name="a820"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a821"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#methodcommit">commit</a><span class="src-sym">(</span><span class="src-var">$expungeDeletes </span>= <span class="src-id">false</span><span class="src-sym">, </span><span class="src-var">$waitFlush </span>= <span class="src-id">true</span><span class="src-sym">, </span><span class="src-var">$waitSearcher </span>= <span class="src-id">true</span><span class="src-sym">, </span><span class="src-var">$timeout </span>= <span class="src-num">3600</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a822"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a823"></a> <span class="src-var">$expungeValue </span>= <span class="src-var">$expungeDeletes </span>? <span class="src-str">'true' </span>: <span class="src-str">'false'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a824"></a> <span class="src-var">$flushValue </span>= <span class="src-var">$waitFlush </span>? <span class="src-str">'true' </span>: <span class="src-str">'false'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a825"></a> <span class="src-var">$searcherValue </span>= <span class="src-var">$waitSearcher </span>? <span class="src-str">'true' </span>: <span class="src-str">'false'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a826"></a> </div></li> -<li><div class="src-line"><a name="a827"></a> <span class="src-var">$rawPost </span>= <span class="src-str">'<commit expungeDeletes="' </span>. <span class="src-var">$expungeValue </span>. <span class="src-str">'" waitFlush="' </span>. <span class="src-var">$flushValue </span>. <span class="src-str">'" waitSearcher="' </span>. <span class="src-var">$searcherValue </span>. <span class="src-str">'" />'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a828"></a> </div></li> -<li><div class="src-line"><a name="a829"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#method_sendRawPost">_sendRawPost</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_updateUrl">_updateUrl</a><span class="src-sym">, </span><span class="src-var">$rawPost</span><span class="src-sym">, </span><span class="src-var">$timeout</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a830"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a831"></a> </div></li> -<li><div class="src-line"><a name="a832"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a833"></a><span class="src-doc"> * Raw Delete Method. Takes a raw post body and sends it to the update service. Body should be</span></div></li> -<li><div class="src-line"><a name="a834"></a><span class="src-doc"> * a complete and well formed "delete" xml document</span></div></li> -<li><div class="src-line"><a name="a835"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a836"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$rawPost </span><span class="src-doc">Expected to be utf-8 encoded xml document</span></div></li> -<li><div class="src-line"><a name="a837"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">float </span><span class="src-doc-var">$timeout </span><span class="src-doc">Maximum expected duration of the delete operation on the server (otherwise, will throw a communication exception)</span></div></li> -<li><div class="src-line"><a name="a838"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">Apache_Solr_Response </span></div></li> -<li><div class="src-line"><a name="a839"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a840"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@throws</span><span class="src-doc"> Apache_Solr_HttpTransportException If an error occurs during the service call</span></div></li> -<li><div class="src-line"><a name="a841"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a842"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#methoddelete">delete</a><span class="src-sym">(</span><span class="src-var">$rawPost</span><span class="src-sym">, </span><span class="src-var">$timeout </span>= <span class="src-num">3600</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a843"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a844"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#method_sendRawPost">_sendRawPost</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_updateUrl">_updateUrl</a><span class="src-sym">, </span><span class="src-var">$rawPost</span><span class="src-sym">, </span><span class="src-var">$timeout</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a845"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a846"></a> </div></li> -<li><div class="src-line"><a name="a847"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a848"></a><span class="src-doc"> * Create a delete document based on document ID</span></div></li> -<li><div class="src-line"><a name="a849"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a850"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$id </span><span class="src-doc">Expected to be utf-8 encoded</span></div></li> -<li><div class="src-line"><a name="a851"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">boolean </span><span class="src-doc-var">$fromPending </span></div></li> -<li><div class="src-line"><a name="a852"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">boolean </span><span class="src-doc-var">$fromCommitted </span></div></li> -<li><div class="src-line"><a name="a853"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">float </span><span class="src-doc-var">$timeout </span><span class="src-doc">Maximum expected duration of the delete operation on the server (otherwise, will throw a communication exception)</span></div></li> -<li><div class="src-line"><a name="a854"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">Apache_Solr_Response </span></div></li> -<li><div class="src-line"><a name="a855"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a856"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@throws</span><span class="src-doc"> Apache_Solr_HttpTransportException If an error occurs during the service call</span></div></li> -<li><div class="src-line"><a name="a857"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a858"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#methoddeleteById">deleteById</a><span class="src-sym">(</span><span class="src-var">$id</span><span class="src-sym">, </span><span class="src-var">$fromPending </span>= <span class="src-id">true</span><span class="src-sym">, </span><span class="src-var">$fromCommitted </span>= <span class="src-id">true</span><span class="src-sym">, </span><span class="src-var">$timeout </span>= <span class="src-num">3600</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a859"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a860"></a> <span class="src-var">$pendingValue </span>= <span class="src-var">$fromPending </span>? <span class="src-str">'true' </span>: <span class="src-str">'false'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a861"></a> <span class="src-var">$committedValue </span>= <span class="src-var">$fromCommitted </span>? <span class="src-str">'true' </span>: <span class="src-str">'false'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a862"></a> </div></li> -<li><div class="src-line"><a name="a863"></a> <span class="src-comm">//escape special xml characters</span></div></li> -<li><div class="src-line"><a name="a864"></a> <span class="src-var">$id </span>= <a href="http://www.php.net/htmlspecialchars">htmlspecialchars</a><span class="src-sym">(</span><span class="src-var">$id</span><span class="src-sym">, </span><span class="src-id">ENT_NOQUOTES</span><span class="src-sym">, </span><span class="src-str">'UTF-8'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a865"></a> </div></li> -<li><div class="src-line"><a name="a866"></a> <span class="src-var">$rawPost </span>= <span class="src-str">'<delete fromPending="' </span>. <span class="src-var">$pendingValue </span>. <span class="src-str">'" fromCommitted="' </span>. <span class="src-var">$committedValue </span>. <span class="src-str">'"><id>' </span>. <span class="src-var">$id </span>. <span class="src-str">'</id></delete>'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a867"></a> </div></li> -<li><div class="src-line"><a name="a868"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#methoddelete">delete</a><span class="src-sym">(</span><span class="src-var">$rawPost</span><span class="src-sym">, </span><span class="src-var">$timeout</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a869"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a870"></a> </div></li> -<li><div class="src-line"><a name="a871"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a872"></a><span class="src-doc"> * Create and post a delete document based on multiple document IDs.</span></div></li> -<li><div class="src-line"><a name="a873"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a874"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">array </span><span class="src-doc-var">$ids </span><span class="src-doc">Expected to be utf-8 encoded strings</span></div></li> -<li><div class="src-line"><a name="a875"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">boolean </span><span class="src-doc-var">$fromPending </span></div></li> -<li><div class="src-line"><a name="a876"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">boolean </span><span class="src-doc-var">$fromCommitted </span></div></li> -<li><div class="src-line"><a name="a877"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">float </span><span class="src-doc-var">$timeout </span><span class="src-doc">Maximum expected duration of the delete operation on the server (otherwise, will throw a communication exception)</span></div></li> -<li><div class="src-line"><a name="a878"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">Apache_Solr_Response </span></div></li> -<li><div class="src-line"><a name="a879"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a880"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@throws</span><span class="src-doc"> Apache_Solr_HttpTransportException If an error occurs during the service call</span></div></li> -<li><div class="src-line"><a name="a881"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a882"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#methoddeleteByMultipleIds">deleteByMultipleIds</a><span class="src-sym">(</span><span class="src-var">$ids</span><span class="src-sym">, </span><span class="src-var">$fromPending </span>= <span class="src-id">true</span><span class="src-sym">, </span><span class="src-var">$fromCommitted </span>= <span class="src-id">true</span><span class="src-sym">, </span><span class="src-var">$timeout </span>= <span class="src-num">3600</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a883"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a884"></a> <span class="src-var">$pendingValue </span>= <span class="src-var">$fromPending </span>? <span class="src-str">'true' </span>: <span class="src-str">'false'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a885"></a> <span class="src-var">$committedValue </span>= <span class="src-var">$fromCommitted </span>? <span class="src-str">'true' </span>: <span class="src-str">'false'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a886"></a> </div></li> -<li><div class="src-line"><a name="a887"></a> <span class="src-var">$rawPost </span>= <span class="src-str">'<delete fromPending="' </span>. <span class="src-var">$pendingValue </span>. <span class="src-str">'" fromCommitted="' </span>. <span class="src-var">$committedValue </span>. <span class="src-str">'">'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a888"></a> </div></li> -<li><div class="src-line"><a name="a889"></a> <span class="src-key">foreach </span><span class="src-sym">(</span><span class="src-var">$ids </span><span class="src-key">as </span><span class="src-var">$id</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a890"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a891"></a> <span class="src-comm">//escape special xml characters</span></div></li> -<li><div class="src-line"><a name="a892"></a> <span class="src-var">$id </span>= <a href="http://www.php.net/htmlspecialchars">htmlspecialchars</a><span class="src-sym">(</span><span class="src-var">$id</span><span class="src-sym">, </span><span class="src-id">ENT_NOQUOTES</span><span class="src-sym">, </span><span class="src-str">'UTF-8'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a893"></a> </div></li> -<li><div class="src-line"><a name="a894"></a> <span class="src-var">$rawPost </span>.= <span class="src-str">'<id>' </span>. <span class="src-var">$id </span>. <span class="src-str">'</id>'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a895"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a896"></a> </div></li> -<li><div class="src-line"><a name="a897"></a> <span class="src-var">$rawPost </span>.= <span class="src-str">'</delete>'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a898"></a> </div></li> -<li><div class="src-line"><a name="a899"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#methoddelete">delete</a><span class="src-sym">(</span><span class="src-var">$rawPost</span><span class="src-sym">, </span><span class="src-var">$timeout</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a900"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a901"></a> </div></li> -<li><div class="src-line"><a name="a902"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a903"></a><span class="src-doc"> * Create a delete document based on a query and submit it</span></div></li> -<li><div class="src-line"><a name="a904"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a905"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$rawQuery </span><span class="src-doc">Expected to be utf-8 encoded</span></div></li> -<li><div class="src-line"><a name="a906"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">boolean </span><span class="src-doc-var">$fromPending </span></div></li> -<li><div class="src-line"><a name="a907"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">boolean </span><span class="src-doc-var">$fromCommitted </span></div></li> -<li><div class="src-line"><a name="a908"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">float </span><span class="src-doc-var">$timeout </span><span class="src-doc">Maximum expected duration of the delete operation on the server (otherwise, will throw a communication exception)</span></div></li> -<li><div class="src-line"><a name="a909"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">Apache_Solr_Response </span></div></li> -<li><div class="src-line"><a name="a910"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a911"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@throws</span><span class="src-doc"> Apache_Solr_HttpTransportException If an error occurs during the service call</span></div></li> -<li><div class="src-line"><a name="a912"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a913"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#methoddeleteByQuery">deleteByQuery</a><span class="src-sym">(</span><span class="src-var">$rawQuery</span><span class="src-sym">, </span><span class="src-var">$fromPending </span>= <span class="src-id">true</span><span class="src-sym">, </span><span class="src-var">$fromCommitted </span>= <span class="src-id">true</span><span class="src-sym">, </span><span class="src-var">$timeout </span>= <span class="src-num">3600</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a914"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a915"></a> <span class="src-var">$pendingValue </span>= <span class="src-var">$fromPending </span>? <span class="src-str">'true' </span>: <span class="src-str">'false'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a916"></a> <span class="src-var">$committedValue </span>= <span class="src-var">$fromCommitted </span>? <span class="src-str">'true' </span>: <span class="src-str">'false'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a917"></a> </div></li> -<li><div class="src-line"><a name="a918"></a> <span class="src-comm">// escape special xml characters</span></div></li> -<li><div class="src-line"><a name="a919"></a> <span class="src-var">$rawQuery </span>= <a href="http://www.php.net/htmlspecialchars">htmlspecialchars</a><span class="src-sym">(</span><span class="src-var">$rawQuery</span><span class="src-sym">, </span><span class="src-id">ENT_NOQUOTES</span><span class="src-sym">, </span><span class="src-str">'UTF-8'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a920"></a> </div></li> -<li><div class="src-line"><a name="a921"></a> <span class="src-var">$rawPost </span>= <span class="src-str">'<delete fromPending="' </span>. <span class="src-var">$pendingValue </span>. <span class="src-str">'" fromCommitted="' </span>. <span class="src-var">$committedValue </span>. <span class="src-str">'"><query>' </span>. <span class="src-var">$rawQuery </span>. <span class="src-str">'</query></delete>'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a922"></a> </div></li> -<li><div class="src-line"><a name="a923"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#methoddelete">delete</a><span class="src-sym">(</span><span class="src-var">$rawPost</span><span class="src-sym">, </span><span class="src-var">$timeout</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a924"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a925"></a> </div></li> -<li><div class="src-line"><a name="a926"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a927"></a><span class="src-doc"> * Use Solr Cell to extract document contents. See </span><span class="src-doc-inlinetag">{@link http://wiki.apache.org/solr/ExtractingRequestHandler}</span><span class="src-doc"> for information on how</span></div></li> -<li><div class="src-line"><a name="a928"></a><span class="src-doc"> * to use Solr Cell and what parameters are available.</span></div></li> -<li><div class="src-line"><a name="a929"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a930"></a><span class="src-doc"> * NOTE: when passing an Apache_Solr_Document instance, field names and boosts will automatically be prepended by "literal." and "boost."</span></div></li> -<li><div class="src-line"><a name="a931"></a><span class="src-doc"> * as appropriate. Any keys from the $params array will NOT be treated this way. Any mappings from the document will overwrite key / value</span></div></li> -<li><div class="src-line"><a name="a932"></a><span class="src-doc"> * 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</span></div></li> -<li><div class="src-line"><a name="a933"></a><span class="src-doc"> * pass in a document isntance with an "id" field" - the document's value(s) will take precedence).</span></div></li> -<li><div class="src-line"><a name="a934"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a935"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$file </span><span class="src-doc">Path to file to extract data from</span></div></li> -<li><div class="src-line"><a name="a936"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">array </span><span class="src-doc-var">$params </span><span class="src-doc">optional array of key value pairs that will be sent with the post (see Solr Cell documentation)</span></div></li> -<li><div class="src-line"><a name="a937"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">Apache_Solr_Document </span><span class="src-doc-var">$document </span><span class="src-doc">optional document that will be used to generate post parameters (literal.* and boost.* params)</span></div></li> -<li><div class="src-line"><a name="a938"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$mimetype </span><span class="src-doc">optional mimetype specification (for the file being extracted)</span></div></li> -<li><div class="src-line"><a name="a939"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a940"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">Apache_Solr_Response </span></div></li> -<li><div class="src-line"><a name="a941"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a942"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@throws</span><span class="src-doc"> Apache_Solr_InvalidArgumentException if $file, $params, or $document are invalid.</span></div></li> -<li><div class="src-line"><a name="a943"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a944"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#methodextract">extract</a><span class="src-sym">(</span><span class="src-var">$file</span><span class="src-sym">, </span><span class="src-var">$params </span>= <span class="src-key">array</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">, </span><span class="src-var">$document </span>= <span class="src-id">null</span><span class="src-sym">, </span><span class="src-var">$mimetype </span>= <span class="src-str">'application/octet-stream'</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a945"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a946"></a> <span class="src-comm">// check if $params is an array (allow null for default empty array)</span></div></li> -<li><div class="src-line"><a name="a947"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-sym">!</span><a href="http://www.php.net/is_null">is_null</a><span class="src-sym">(</span><span class="src-var">$params</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a948"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a949"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-sym">!</span><a href="http://www.php.net/is_array">is_array</a><span class="src-sym">(</span><span class="src-var">$params</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a950"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a951"></a> throw <span class="src-key">new </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_InvalidArgumentException.html">Apache_Solr_InvalidArgumentException</a></span><span class="src-sym">(</span><span class="src-str">"\$params must be a valid array or null"</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a952"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a953"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a954"></a> <span class="src-key">else</span></div></li> -<li><div class="src-line"><a name="a955"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a956"></a> <span class="src-var">$params </span>= <span class="src-key">array</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a957"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a958"></a> </div></li> -<li><div class="src-line"><a name="a959"></a> <span class="src-comm">// if $file is an http request, defer to extractFromUrl instead</span></div></li> -<li><div class="src-line"><a name="a960"></a> <span class="src-key">if </span><span class="src-sym">(</span><a href="http://www.php.net/substr">substr</a><span class="src-sym">(</span><span class="src-var">$file</span><span class="src-sym">, </span><span class="src-num">0</span><span class="src-sym">, </span><span class="src-num">7</span><span class="src-sym">) </span>== <span class="src-str">'http://' </span>|| <a href="http://www.php.net/substr">substr</a><span class="src-sym">(</span><span class="src-var">$file</span><span class="src-sym">, </span><span class="src-num">0</span><span class="src-sym">, </span><span class="src-num">8</span><span class="src-sym">) </span>== <span class="src-str">'https://'</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a961"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a962"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#methodextractFromUrl">extractFromUrl</a><span class="src-sym">(</span><span class="src-var">$file</span><span class="src-sym">, </span><span class="src-var">$params</span><span class="src-sym">, </span><span class="src-var">$document</span><span class="src-sym">, </span><span class="src-var">$mimetype</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a963"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a964"></a> </div></li> -<li><div class="src-line"><a name="a965"></a> <span class="src-comm">// read the contents of the file</span></div></li> -<li><div class="src-line"><a name="a966"></a> <span class="src-var">$contents </span>= <span class="src-sym">@</span><a href="http://www.php.net/file_get_contents">file_get_contents</a><span class="src-sym">(</span><span class="src-var">$file</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a967"></a> </div></li> -<li><div class="src-line"><a name="a968"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$contents </span>!== <span class="src-id">false</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a969"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a970"></a> <span class="src-comm">// add the resource.name parameter if not specified</span></div></li> -<li><div class="src-line"><a name="a971"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-sym">!</span>isset<span class="src-sym">(</span><span class="src-var">$params</span><span class="src-sym">[</span><span class="src-str">'resource.name'</span><span class="src-sym">]</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a972"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a973"></a> <span class="src-var">$params</span><span class="src-sym">[</span><span class="src-str">'resource.name'</span><span class="src-sym">] </span>= <a href="http://www.php.net/basename">basename</a><span class="src-sym">(</span><span class="src-var">$file</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a974"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a975"></a> </div></li> -<li><div class="src-line"><a name="a976"></a> <span class="src-comm">// delegate the rest to extractFromString</span></div></li> -<li><div class="src-line"><a name="a977"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#methodextractFromString">extractFromString</a><span class="src-sym">(</span><span class="src-var">$contents</span><span class="src-sym">, </span><span class="src-var">$params</span><span class="src-sym">, </span><span class="src-var">$document</span><span class="src-sym">, </span><span class="src-var">$mimetype</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a978"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a979"></a> <span class="src-key">else</span></div></li> -<li><div class="src-line"><a name="a980"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a981"></a> throw <span class="src-key">new </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_InvalidArgumentException.html">Apache_Solr_InvalidArgumentException</a></span><span class="src-sym">(</span><span class="src-str">"</span><span class="src-str">File '{<span class="src-var">$file</span><span class="src-sym">}</span>' is empty or could not be read</span><span class="src-str">"</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a982"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a983"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a984"></a> </div></li> -<li><div class="src-line"><a name="a985"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a986"></a><span class="src-doc"> * Use Solr Cell to extract document contents. See </span><span class="src-doc-inlinetag">{@link http://wiki.apache.org/solr/ExtractingRequestHandler}</span><span class="src-doc"> for information on how</span></div></li> -<li><div class="src-line"><a name="a987"></a><span class="src-doc"> * to use Solr Cell and what parameters are available.</span></div></li> -<li><div class="src-line"><a name="a988"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a989"></a><span class="src-doc"> * NOTE: when passing an Apache_Solr_Document instance, field names and boosts will automatically be prepended by "literal." and "boost."</span></div></li> -<li><div class="src-line"><a name="a990"></a><span class="src-doc"> * as appropriate. Any keys from the $params array will NOT be treated this way. Any mappings from the document will overwrite key / value</span></div></li> -<li><div class="src-line"><a name="a991"></a><span class="src-doc"> * 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</span></div></li> -<li><div class="src-line"><a name="a992"></a><span class="src-doc"> * pass in a document isntance with an "id" field" - the document's value(s) will take precedence).</span></div></li> -<li><div class="src-line"><a name="a993"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a994"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$data </span><span class="src-doc">Data that will be passed to Solr Cell</span></div></li> -<li><div class="src-line"><a name="a995"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">array </span><span class="src-doc-var">$params </span><span class="src-doc">optional array of key value pairs that will be sent with the post (see Solr Cell documentation)</span></div></li> -<li><div class="src-line"><a name="a996"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">Apache_Solr_Document </span><span class="src-doc-var">$document </span><span class="src-doc">optional document that will be used to generate post parameters (literal.* and boost.* params)</span></div></li> -<li><div class="src-line"><a name="a997"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$mimetype </span><span class="src-doc">optional mimetype specification (for the file being extracted)</span></div></li> -<li><div class="src-line"><a name="a998"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a999"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">Apache_Solr_Response </span></div></li> -<li><div class="src-line"><a name="a1000"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a1001"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@throws</span><span class="src-doc"> Apache_Solr_InvalidArgumentException if $file, $params, or $document are invalid.</span></div></li> -<li><div class="src-line"><a name="a1002"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a1003"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@todo</span><span class="src-doc"> Should be using multipart/form-data to post parameter values, but I could not get my implementation to work. Needs revisisted.</span></div></li> -<li><div class="src-line"><a name="a1004"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a1005"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#methodextractFromString">extractFromString</a><span class="src-sym">(</span><span class="src-var">$data</span><span class="src-sym">, </span><span class="src-var">$params </span>= <span class="src-key">array</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">, </span><span class="src-var">$document </span>= <span class="src-id">null</span><span class="src-sym">, </span><span class="src-var">$mimetype </span>= <span class="src-str">'application/octet-stream'</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a1006"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a1007"></a> <span class="src-comm">// check if $params is an array (allow null for default empty array)</span></div></li> -<li><div class="src-line"><a name="a1008"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-sym">!</span><a href="http://www.php.net/is_null">is_null</a><span class="src-sym">(</span><span class="src-var">$params</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a1009"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a1010"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-sym">!</span><a href="http://www.php.net/is_array">is_array</a><span class="src-sym">(</span><span class="src-var">$params</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a1011"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a1012"></a> throw <span class="src-key">new </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_InvalidArgumentException.html">Apache_Solr_InvalidArgumentException</a></span><span class="src-sym">(</span><span class="src-str">"\$params must be a valid array or null"</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a1013"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a1014"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a1015"></a> <span class="src-key">else</span></div></li> -<li><div class="src-line"><a name="a1016"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a1017"></a> <span class="src-var">$params </span>= <span class="src-key">array</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a1018"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a1019"></a> </div></li> -<li><div class="src-line"><a name="a1020"></a> <span class="src-comm">// make sure we receive our response in JSON and have proper name list treatment</span></div></li> -<li><div class="src-line"><a name="a1021"></a> <span class="src-var">$params</span><span class="src-sym">[</span><span class="src-str">'wt'</span><span class="src-sym">] </span>= <span class="src-id">self</span><span class="src-sym">::</span><span class="src-id">SOLR_WRITER</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a1022"></a> <span class="src-var">$params</span><span class="src-sym">[</span><span class="src-str">'json.nl'</span><span class="src-sym">] </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_namedListTreatment">_namedListTreatment</a><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a1023"></a> </div></li> -<li><div class="src-line"><a name="a1024"></a> <span class="src-comm">// check if $document is an Apache_Solr_Document instance</span></div></li> -<li><div class="src-line"><a name="a1025"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-sym">!</span><a href="http://www.php.net/is_null">is_null</a><span class="src-sym">(</span><span class="src-var">$document</span><span class="src-sym">) </span>&& <span class="src-var">$document </span>instanceof <span class="src-id"><a href="../Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a></span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a1026"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a1027"></a> <span class="src-comm">// iterate document, adding literal.* and boost.* fields to $params as appropriate</span></div></li> -<li><div class="src-line"><a name="a1028"></a> <span class="src-key">foreach </span><span class="src-sym">(</span><span class="src-var">$document </span><span class="src-key">as </span><span class="src-var">$field </span>=> <span class="src-var">$fieldValue</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a1029"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a1030"></a> <span class="src-comm">// check if we need to add a boost.* parameters</span></div></li> -<li><div class="src-line"><a name="a1031"></a> <span class="src-var">$fieldBoost </span>= <span class="src-var">$document</span><span class="src-sym">-></span><span class="src-id">getFieldBoost</span><span class="src-sym">(</span><span class="src-var">$field</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a1032"></a> </div></li> -<li><div class="src-line"><a name="a1033"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$fieldBoost </span>!== <span class="src-id">false</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a1034"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a1035"></a> <span class="src-var">$params</span><span class="src-sym">[</span><span class="src-str">"</span><span class="src-str">boost.{<span class="src-var">$field</span><span class="src-sym">}</span></span><span class="src-str">"</span><span class="src-sym">] </span>= <span class="src-var">$fieldBoost</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a1036"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a1037"></a> </div></li> -<li><div class="src-line"><a name="a1038"></a> <span class="src-comm">// add the literal.* parameter</span></div></li> -<li><div class="src-line"><a name="a1039"></a> <span class="src-var">$params</span><span class="src-sym">[</span><span class="src-str">"</span><span class="src-str">literal.{<span class="src-var">$field</span><span class="src-sym">}</span></span><span class="src-str">"</span><span class="src-sym">] </span>= <span class="src-var">$fieldValue</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a1040"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a1041"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a1042"></a> </div></li> -<li><div class="src-line"><a name="a1043"></a> <span class="src-comm">// params will be sent to SOLR in the QUERY STRING</span></div></li> -<li><div class="src-line"><a name="a1044"></a> <span class="src-var">$queryString </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#method_generateQueryString">_generateQueryString</a><span class="src-sym">(</span><span class="src-var">$params</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a1045"></a> </div></li> -<li><div class="src-line"><a name="a1046"></a> <span class="src-comm">// the file contents will be sent to SOLR as the POST BODY - we use application/octect-stream as default mimetype</span></div></li> -<li><div class="src-line"><a name="a1047"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#method_sendRawPost">_sendRawPost</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><span class="src-var">_extractUrl </span>. <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_queryDelimiter">_queryDelimiter</a> . <span class="src-var">$queryString</span><span class="src-sym">, </span><span class="src-var">$data</span><span class="src-sym">, </span><span class="src-id">false</span><span class="src-sym">, </span><span class="src-var">$mimetype</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a1048"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a1049"></a> </div></li> -<li><div class="src-line"><a name="a1050"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a1051"></a><span class="src-doc"> * Use Solr Cell to extract document contents. See </span><span class="src-doc-inlinetag">{@link http://wiki.apache.org/solr/ExtractingRequestHandler}</span><span class="src-doc"> for information on how</span></div></li> -<li><div class="src-line"><a name="a1052"></a><span class="src-doc"> * to use Solr Cell and what parameters are available.</span></div></li> -<li><div class="src-line"><a name="a1053"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a1054"></a><span class="src-doc"> * NOTE: when passing an Apache_Solr_Document instance, field names and boosts will automatically be prepended by "literal." and "boost."</span></div></li> -<li><div class="src-line"><a name="a1055"></a><span class="src-doc"> * as appropriate. Any keys from the $params array will NOT be treated this way. Any mappings from the document will overwrite key / value</span></div></li> -<li><div class="src-line"><a name="a1056"></a><span class="src-doc"> * 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</span></div></li> -<li><div class="src-line"><a name="a1057"></a><span class="src-doc"> * pass in a document isntance with an "id" field" - the document's value(s) will take precedence).</span></div></li> -<li><div class="src-line"><a name="a1058"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a1059"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$url </span><span class="src-doc">URL</span></div></li> -<li><div class="src-line"><a name="a1060"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">array </span><span class="src-doc-var">$params </span><span class="src-doc">optional array of key value pairs that will be sent with the post (see Solr Cell documentation)</span></div></li> -<li><div class="src-line"><a name="a1061"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">Apache_Solr_Document </span><span class="src-doc-var">$document </span><span class="src-doc">optional document that will be used to generate post parameters (literal.* and boost.* params)</span></div></li> -<li><div class="src-line"><a name="a1062"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$mimetype </span><span class="src-doc">optional mimetype specification (for the file being extracted)</span></div></li> -<li><div class="src-line"><a name="a1063"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a1064"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">Apache_Solr_Response </span></div></li> -<li><div class="src-line"><a name="a1065"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a1066"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@throws</span><span class="src-doc"> Apache_Solr_InvalidArgumentException if $url, $params, or $document are invalid.</span></div></li> -<li><div class="src-line"><a name="a1067"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a1068"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#methodextractFromUrl">extractFromUrl</a><span class="src-sym">(</span><span class="src-var">$url</span><span class="src-sym">, </span><span class="src-var">$params </span>= <span class="src-key">array</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">, </span><span class="src-var">$document </span>= <span class="src-id">null</span><span class="src-sym">, </span><span class="src-var">$mimetype </span>= <span class="src-str">'application/octet-stream'</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a1069"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a1070"></a> <span class="src-comm">// check if $params is an array (allow null for default empty array)</span></div></li> -<li><div class="src-line"><a name="a1071"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-sym">!</span><a href="http://www.php.net/is_null">is_null</a><span class="src-sym">(</span><span class="src-var">$params</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a1072"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a1073"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-sym">!</span><a href="http://www.php.net/is_array">is_array</a><span class="src-sym">(</span><span class="src-var">$params</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a1074"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a1075"></a> throw <span class="src-key">new </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_InvalidArgumentException.html">Apache_Solr_InvalidArgumentException</a></span><span class="src-sym">(</span><span class="src-str">"\$params must be a valid array or null"</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a1076"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a1077"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a1078"></a> <span class="src-key">else</span></div></li> -<li><div class="src-line"><a name="a1079"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a1080"></a> <span class="src-var">$params </span>= <span class="src-key">array</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a1081"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a1082"></a> </div></li> -<li><div class="src-line"><a name="a1083"></a> <span class="src-var">$httpTransport </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#methodgetHttpTransport">getHttpTransport</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a1084"></a> </div></li> -<li><div class="src-line"><a name="a1085"></a> <span class="src-comm">// read the contents of the URL using our configured Http Transport and default timeout</span></div></li> -<li><div class="src-line"><a name="a1086"></a> <span class="src-var">$httpResponse </span>= <span class="src-var">$httpTransport</span><span class="src-sym">-></span><span class="src-id">performGetRequest</span><span class="src-sym">(</span><span class="src-var">$url</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a1087"></a> </div></li> -<li><div class="src-line"><a name="a1088"></a> <span class="src-comm">// check that its a 200 response</span></div></li> -<li><div class="src-line"><a name="a1089"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$httpResponse</span><span class="src-sym">-></span><span class="src-id">getStatusCode</span><span class="src-sym">(</span><span class="src-sym">) </span>== <span class="src-num">200</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a1090"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a1091"></a> <span class="src-comm">// add the resource.name parameter if not specified</span></div></li> -<li><div class="src-line"><a name="a1092"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-sym">!</span>isset<span class="src-sym">(</span><span class="src-var">$params</span><span class="src-sym">[</span><span class="src-str">'resource.name'</span><span class="src-sym">]</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a1093"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a1094"></a> <span class="src-var">$params</span><span class="src-sym">[</span><span class="src-str">'resource.name'</span><span class="src-sym">] </span>= <span class="src-var">$url</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a1095"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a1096"></a> </div></li> -<li><div class="src-line"><a name="a1097"></a> <span class="src-comm">// delegate the rest to extractFromString</span></div></li> -<li><div class="src-line"><a name="a1098"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#methodextractFromString">extractFromString</a><span class="src-sym">(</span><span class="src-var">$httpResponse</span><span class="src-sym">-></span><span class="src-id">getBody</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">, </span><span class="src-var">$params</span><span class="src-sym">, </span><span class="src-var">$document</span><span class="src-sym">, </span><span class="src-var">$mimetype</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a1099"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a1100"></a> <span class="src-key">else</span></div></li> -<li><div class="src-line"><a name="a1101"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a1102"></a> throw <span class="src-key">new </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_InvalidArgumentException.html">Apache_Solr_InvalidArgumentException</a></span><span class="src-sym">(</span><span class="src-str">"</span><span class="src-str">URL '{<span class="src-var">$url</span><span class="src-sym">}</span>' returned non 200 response code</span><span class="src-str">"</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a1103"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a1104"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a1105"></a> </div></li> -<li><div class="src-line"><a name="a1106"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a1107"></a><span class="src-doc"> * Send an optimize command. Will be synchronous unless both wait parameters are set</span></div></li> -<li><div class="src-line"><a name="a1108"></a><span class="src-doc"> * to false.</span></div></li> -<li><div class="src-line"><a name="a1109"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a1110"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">boolean </span><span class="src-doc-var">$waitFlush </span></div></li> -<li><div class="src-line"><a name="a1111"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">boolean </span><span class="src-doc-var">$waitSearcher </span></div></li> -<li><div class="src-line"><a name="a1112"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">float </span><span class="src-doc-var">$timeout </span><span class="src-doc">Maximum expected duration of the commit operation on the server (otherwise, will throw a communication exception)</span></div></li> -<li><div class="src-line"><a name="a1113"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">Apache_Solr_Response </span></div></li> -<li><div class="src-line"><a name="a1114"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a1115"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@throws</span><span class="src-doc"> Apache_Solr_HttpTransportException If an error occurs during the service call</span></div></li> -<li><div class="src-line"><a name="a1116"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a1117"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#methodoptimize">optimize</a><span class="src-sym">(</span><span class="src-var">$waitFlush </span>= <span class="src-id">true</span><span class="src-sym">, </span><span class="src-var">$waitSearcher </span>= <span class="src-id">true</span><span class="src-sym">, </span><span class="src-var">$timeout </span>= <span class="src-num">3600</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a1118"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a1119"></a> <span class="src-var">$flushValue </span>= <span class="src-var">$waitFlush </span>? <span class="src-str">'true' </span>: <span class="src-str">'false'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a1120"></a> <span class="src-var">$searcherValue </span>= <span class="src-var">$waitSearcher </span>? <span class="src-str">'true' </span>: <span class="src-str">'false'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a1121"></a> </div></li> -<li><div class="src-line"><a name="a1122"></a> <span class="src-var">$rawPost </span>= <span class="src-str">'<optimize waitFlush="' </span>. <span class="src-var">$flushValue </span>. <span class="src-str">'" waitSearcher="' </span>. <span class="src-var">$searcherValue </span>. <span class="src-str">'" />'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a1123"></a> </div></li> -<li><div class="src-line"><a name="a1124"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#method_sendRawPost">_sendRawPost</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_updateUrl">_updateUrl</a><span class="src-sym">, </span><span class="src-var">$rawPost</span><span class="src-sym">, </span><span class="src-var">$timeout</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a1125"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a1126"></a> </div></li> -<li><div class="src-line"><a name="a1127"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a1128"></a><span class="src-doc"> * Simple Search interface</span></div></li> -<li><div class="src-line"><a name="a1129"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a1130"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$query </span><span class="src-doc">The raw query string</span></div></li> -<li><div class="src-line"><a name="a1131"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">int </span><span class="src-doc-var">$offset </span><span class="src-doc">The starting offset for result documents</span></div></li> -<li><div class="src-line"><a name="a1132"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">int </span><span class="src-doc-var">$limit </span><span class="src-doc">The maximum number of result documents to return</span></div></li> -<li><div class="src-line"><a name="a1133"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">array </span><span class="src-doc-var">$params </span><span class="src-doc">key / value pairs for other query parameters (see Solr documentation), use arrays for parameter keys used more than once (e.g. facet.field)</span></div></li> -<li><div class="src-line"><a name="a1134"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$method </span><span class="src-doc">The HTTP method (Apache_Solr_Service::METHOD_GET or Apache_Solr_Service::METHOD::POST)</span></div></li> -<li><div class="src-line"><a name="a1135"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">Apache_Solr_Response </span></div></li> -<li><div class="src-line"><a name="a1136"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a1137"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@throws</span><span class="src-doc"> Apache_Solr_HttpTransportException If an error occurs during the service call</span></div></li> -<li><div class="src-line"><a name="a1138"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@throws</span><span class="src-doc"> Apache_Solr_InvalidArgumentException If an invalid HTTP method is used</span></div></li> -<li><div class="src-line"><a name="a1139"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a1140"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service.html#methodsearch">search</a><span class="src-sym">(</span><span class="src-var">$query</span><span class="src-sym">, </span><span class="src-var">$offset </span>= <span class="src-num">0</span><span class="src-sym">, </span><span class="src-var">$limit </span>= <span class="src-num">10</span><span class="src-sym">, </span><span class="src-var">$params </span>= <span class="src-key">array</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">, </span><span class="src-var">$method </span>= <span class="src-id">self</span><span class="src-sym">::</span><span class="src-id">METHOD_GET</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a1141"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a1142"></a> <span class="src-comm">// ensure params is an array</span></div></li> -<li><div class="src-line"><a name="a1143"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-sym">!</span><a href="http://www.php.net/is_null">is_null</a><span class="src-sym">(</span><span class="src-var">$params</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a1144"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a1145"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-sym">!</span><a href="http://www.php.net/is_array">is_array</a><span class="src-sym">(</span><span class="src-var">$params</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a1146"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a1147"></a> <span class="src-comm">// params was specified but was not an array - invalid</span></div></li> -<li><div class="src-line"><a name="a1148"></a> throw <span class="src-key">new </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_InvalidArgumentException.html">Apache_Solr_InvalidArgumentException</a></span><span class="src-sym">(</span><span class="src-str">"\$params must be a valid array or null"</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a1149"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a1150"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a1151"></a> <span class="src-key">else</span></div></li> -<li><div class="src-line"><a name="a1152"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a1153"></a> <span class="src-var">$params </span>= <span class="src-key">array</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a1154"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a1155"></a> </div></li> -<li><div class="src-line"><a name="a1156"></a> <span class="src-comm">// construct our full parameters</span></div></li> -<li><div class="src-line"><a name="a1157"></a> </div></li> -<li><div class="src-line"><a name="a1158"></a> <span class="src-comm">// common parameters in this interface</span></div></li> -<li><div class="src-line"><a name="a1159"></a> <span class="src-var">$params</span><span class="src-sym">[</span><span class="src-str">'wt'</span><span class="src-sym">] </span>= <span class="src-id">self</span><span class="src-sym">::</span><span class="src-id">SOLR_WRITER</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a1160"></a> <span class="src-var">$params</span><span class="src-sym">[</span><span class="src-str">'json.nl'</span><span class="src-sym">] </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_namedListTreatment">_namedListTreatment</a><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a1161"></a> </div></li> -<li><div class="src-line"><a name="a1162"></a> <span class="src-var">$params</span><span class="src-sym">[</span><span class="src-str">'q'</span><span class="src-sym">] </span>= <span class="src-var">$query</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a1163"></a> <span class="src-var">$params</span><span class="src-sym">[</span><span class="src-str">'start'</span><span class="src-sym">] </span>= <span class="src-var">$offset</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a1164"></a> <span class="src-var">$params</span><span class="src-sym">[</span><span class="src-str">'rows'</span><span class="src-sym">] </span>= <span class="src-var">$limit</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a1165"></a> </div></li> -<li><div class="src-line"><a name="a1166"></a> <span class="src-var">$queryString </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#method_generateQueryString">_generateQueryString</a><span class="src-sym">(</span><span class="src-var">$params</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a1167"></a> </div></li> -<li><div class="src-line"><a name="a1168"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$method </span>== <span class="src-id">self</span><span class="src-sym">::</span><span class="src-id">METHOD_GET</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a1169"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a1170"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#method_sendRawGet">_sendRawGet</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_searchUrl">_searchUrl</a> . <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_queryDelimiter">_queryDelimiter</a> . <span class="src-var">$queryString</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a1171"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a1172"></a> <span class="src-key">else </span><span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$method </span>== <span class="src-id">self</span><span class="src-sym">::</span><span class="src-id">METHOD_POST</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a1173"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a1174"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#method_sendRawPost">_sendRawPost</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service.html#var$_searchUrl">_searchUrl</a><span class="src-sym">, </span><span class="src-var">$queryString</span><span class="src-sym">, </span><span class="src-id">FALSE</span><span class="src-sym">, </span><span class="src-str">'application/x-www-form-urlencoded; charset=UTF-8'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a1175"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a1176"></a> <span class="src-key">else</span></div></li> -<li><div class="src-line"><a name="a1177"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a1178"></a> throw <span class="src-key">new </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_InvalidArgumentException.html">Apache_Solr_InvalidArgumentException</a></span><span class="src-sym">(</span><span class="src-str">"</span><span class="src-str">Unsupported method '<span class="src-var">$method</span>', please use the Apache_Solr_Service::METHOD_* constants</span><span class="src-str">"</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a1179"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a1180"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a1181"></a><span class="src-sym">}</span></div></li> -</ol></div> -</div> - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:19 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_ServiceBalancer.php.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_ServiceBalancer.php.html deleted file mode 100644 index f7707cd10bd4afb5d85905de9cd5819e6abce4c1..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/__filesource/fsource_Apache_Solr_ServiceBalancer.php.html +++ /dev/null @@ -1,934 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>File Source for Balancer.php</title> - <link rel="stylesheet" href="../media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <h1>Source for file Balancer.php</h1> -<p>Documentation is available at <a href="../Apache/Solr/_Service---Balancer.php.html">Balancer.php</a></p> -<div class="src-code"> -<div class="src-code"><ol><li><div class="src-line"><a name="a1"></a><span class="src-php"><?php</span></div></li> -<li><div class="src-line"><a name="a2"></a><span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a3"></a><span class="src-doc"> * Copyright (c) 2007-2011, Servigistics, Inc.</span></div></li> -<li><div class="src-line"><a name="a4"></a><span class="src-doc"> * All rights reserved.</span></div></li> -<li><div class="src-line"><a name="a5"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a6"></a><span class="src-doc"> * Redistribution and use in source and binary forms, with or without</span></div></li> -<li><div class="src-line"><a name="a7"></a><span class="src-doc"> * modification, are permitted provided that the following conditions are met:</span></div></li> -<li><div class="src-line"><a name="a8"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a9"></a><span class="src-doc"> * - Redistributions of source code must retain the above copyright notice,</span></div></li> -<li><div class="src-line"><a name="a10"></a><span class="src-doc"> * this list of conditions and the following disclaimer.</span></div></li> -<li><div class="src-line"><a name="a11"></a><span class="src-doc"> * - Redistributions in binary form must reproduce the above copyright</span></div></li> -<li><div class="src-line"><a name="a12"></a><span class="src-doc"> * notice, this list of conditions and the following disclaimer in the</span></div></li> -<li><div class="src-line"><a name="a13"></a><span class="src-doc"> * documentation and/or other materials provided with the distribution.</span></div></li> -<li><div class="src-line"><a name="a14"></a><span class="src-doc"> * - Neither the name of Servigistics, Inc. nor the names of</span></div></li> -<li><div class="src-line"><a name="a15"></a><span class="src-doc"> * its contributors may be used to endorse or promote products derived from</span></div></li> -<li><div class="src-line"><a name="a16"></a><span class="src-doc"> * this software without specific prior written permission.</span></div></li> -<li><div class="src-line"><a name="a17"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a18"></a><span class="src-doc"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span></div></li> -<li><div class="src-line"><a name="a19"></a><span class="src-doc"> * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div></li> -<li><div class="src-line"><a name="a20"></a><span class="src-doc"> * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span></div></li> -<li><div class="src-line"><a name="a21"></a><span class="src-doc"> * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span></div></li> -<li><div class="src-line"><a name="a22"></a><span class="src-doc"> * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span></div></li> -<li><div class="src-line"><a name="a23"></a><span class="src-doc"> * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span></div></li> -<li><div class="src-line"><a name="a24"></a><span class="src-doc"> * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span></div></li> -<li><div class="src-line"><a name="a25"></a><span class="src-doc"> * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span></div></li> -<li><div class="src-line"><a name="a26"></a><span class="src-doc"> * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span></div></li> -<li><div class="src-line"><a name="a27"></a><span class="src-doc"> * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE</span></div></li> -<li><div class="src-line"><a name="a28"></a><span class="src-doc"> * POSSIBILITY OF SUCH DAMAGE.</span></div></li> -<li><div class="src-line"><a name="a29"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a30"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@copyright</span><span class="src-doc"> Copyright 2007-2011 Servigistics, Inc. (http://servigistics.com)</span></div></li> -<li><div class="src-line"><a name="a31"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@license</span><span class="src-doc"> http://solr-php-client.googlecode.com/svn/trunk/COPYING New BSD</span></div></li> -<li><div class="src-line"><a name="a32"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@version</span><span class="src-doc"> $Id: Balancer.php 54 2011-02-04 16:29:18Z donovan.jimenez $</span></div></li> -<li><div class="src-line"><a name="a33"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a34"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@package</span><span class="src-doc"> Apache</span></div></li> -<li><div class="src-line"><a name="a35"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@subpackage</span><span class="src-doc"> Solr</span></div></li> -<li><div class="src-line"><a name="a36"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@author</span><span class="src-doc"> Donovan Jimenez <djimenez@conduit-it.com>, Dan Wolfe</span></div></li> -<li><div class="src-line"><a name="a37"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a38"></a> </div></li> -<li><div class="src-line"><a name="a39"></a><span class="src-comm">// See Issue #1 (http://code.google.com/p/solr-php-client/issues/detail?id=1)</span></div></li> -<li><div class="src-line"><a name="a40"></a><span class="src-comm">// Doesn't follow typical include path conventions, but is more convenient for users</span></div></li> -<li><div class="src-line"><a name="a41"></a><span class="src-inc">require_once</span><span class="src-sym">(</span><span class="src-id">dirname</span><span class="src-sym">(</span><span class="src-id">dirname</span><span class="src-sym">(</span>__FILE__<span class="src-sym">)) </span>. <span class="src-str">'/Service.php'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a42"></a> </div></li> -<li><div class="src-line"><a name="a43"></a><span class="src-inc">require_once</span><span class="src-sym">(</span><span class="src-id">dirname</span><span class="src-sym">(</span><span class="src-id">dirname</span><span class="src-sym">(</span>__FILE__<span class="src-sym">)) </span>. <span class="src-str">'/NoServiceAvailableException.php'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a44"></a> </div></li> -<li><div class="src-line"><a name="a45"></a><span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a46"></a><span class="src-doc"> * Reference Implementation for using multiple Solr services in a distribution. Functionality</span></div></li> -<li><div class="src-line"><a name="a47"></a><span class="src-doc"> * includes:</span></div></li> -<li><div class="src-line"><a name="a48"></a><span class="src-doc"> * routing of read / write operations</span></div></li> -<li><div class="src-line"><a name="a49"></a><span class="src-doc"> * failover (on selection) for multiple read servers</span></div></li> -<li><div class="src-line"><a name="a50"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a51"></a><span class="src-key">class </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html">Apache_Solr_Service_Balancer</a></div></li> -<li><div class="src-line"><a name="a52"></a><span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a53"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a54"></a><span class="src-doc"> * SVN Revision meta data for this class</span></div></li> -<li><div class="src-line"><a name="a55"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a56"></a> <span class="src-key">const </span><span class="src-id">SVN_REVISION </span>= <span class="src-str">'$Revision: 54 $'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a57"></a> </div></li> -<li><div class="src-line"><a name="a58"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a59"></a><span class="src-doc"> * SVN ID meta data for this class</span></div></li> -<li><div class="src-line"><a name="a60"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a61"></a> <span class="src-key">const </span><span class="src-id">SVN_ID </span>= <span class="src-str">'$Id: Balancer.php 54 2011-02-04 16:29:18Z donovan.jimenez $'</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a62"></a> </div></li> -<li><div class="src-line"><a name="a63"></a> <span class="src-key">protected </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_createDocuments">$_createDocuments</a> = <span class="src-id">true</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a64"></a> </div></li> -<li><div class="src-line"><a name="a65"></a> <span class="src-key">protected </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_readableServices">$_readableServices</a> = <span class="src-key">array</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a66"></a> <span class="src-key">protected </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_writeableServices">$_writeableServices</a> = <span class="src-key">array</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a67"></a> </div></li> -<li><div class="src-line"><a name="a68"></a> <span class="src-key">protected </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_currentReadService">$_currentReadService</a> = <span class="src-id">null</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a69"></a> <span class="src-key">protected </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_currentWriteService">$_currentWriteService</a> = <span class="src-id">null</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a70"></a> </div></li> -<li><div class="src-line"><a name="a71"></a> <span class="src-key">protected </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_readPingTimeout">$_readPingTimeout</a> = <span class="src-num">2</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a72"></a> <span class="src-key">protected </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_writePingTimeout">$_writePingTimeout</a> = <span class="src-num">4</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a73"></a> </div></li> -<li><div class="src-line"><a name="a74"></a> <span class="src-comm">// Configuration for server selection backoff intervals</span></div></li> -<li><div class="src-line"><a name="a75"></a> <span class="src-key">protected </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_useBackoff">$_useBackoff</a> = <span class="src-id">false</span><span class="src-sym">; </span><span class="src-comm">// Set to true to use more resillient write server selection</span></div></li> -<li><div class="src-line"><a name="a76"></a> <span class="src-key">protected </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_backoffLimit">$_backoffLimit</a> = <span class="src-num">600</span><span class="src-sym">; </span><span class="src-comm">// 10 minute default maximum</span></div></li> -<li><div class="src-line"><a name="a77"></a> <span class="src-key">protected </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_backoffEscalation">$_backoffEscalation</a> = <span class="src-num">2.0</span><span class="src-sym">; </span><span class="src-comm">// Rate at which to increase backoff period</span></div></li> -<li><div class="src-line"><a name="a78"></a> <span class="src-key">protected </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_defaultBackoff">$_defaultBackoff</a> = <span class="src-num">2.0</span><span class="src-sym">; </span><span class="src-comm">// Default backoff interval</span></div></li> -<li><div class="src-line"><a name="a79"></a> </div></li> -<li><div class="src-line"><a name="a80"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a81"></a><span class="src-doc"> * Escape a value for special query characters such as ':', '(', ')', '*', '?', etc.</span></div></li> -<li><div class="src-line"><a name="a82"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a83"></a><span class="src-doc"> * NOTE: inside a phrase fewer characters need escaped, use </span><span class="src-doc-inlinetag">{@link Apache_Solr_Service::escapePhrase()}</span><span class="src-doc"> instead</span></div></li> -<li><div class="src-line"><a name="a84"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a85"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$value </span></div></li> -<li><div class="src-line"><a name="a86"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">string </span></div></li> -<li><div class="src-line"><a name="a87"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a88"></a> <span class="src-key">static </span><span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#methodescape">escape</a><span class="src-sym">(</span><span class="src-var">$value</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a89"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a90"></a> <span class="src-key">return </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_Service.html">Apache_Solr_Service</a></span><span class="src-sym">::</span><a href="../Apache/Solr/Apache_Solr_Service.html#methodescape">escape</a><span class="src-sym">(</span><span class="src-var">$value</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a91"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a92"></a> </div></li> -<li><div class="src-line"><a name="a93"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a94"></a><span class="src-doc"> * Escape a value meant to be contained in a phrase for special query characters</span></div></li> -<li><div class="src-line"><a name="a95"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a96"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$value </span></div></li> -<li><div class="src-line"><a name="a97"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">string </span></div></li> -<li><div class="src-line"><a name="a98"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a99"></a> <span class="src-key">static </span><span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#methodescapePhrase">escapePhrase</a><span class="src-sym">(</span><span class="src-var">$value</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a100"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a101"></a> <span class="src-key">return </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_Service.html">Apache_Solr_Service</a></span><span class="src-sym">::</span><a href="../Apache/Solr/Apache_Solr_Service.html#methodescapePhrase">escapePhrase</a><span class="src-sym">(</span><span class="src-var">$value</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a102"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a103"></a> </div></li> -<li><div class="src-line"><a name="a104"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a105"></a><span class="src-doc"> * Convenience function for creating phrase syntax from a value</span></div></li> -<li><div class="src-line"><a name="a106"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a107"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$value </span></div></li> -<li><div class="src-line"><a name="a108"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">string </span></div></li> -<li><div class="src-line"><a name="a109"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a110"></a> <span class="src-key">static </span><span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#methodphrase">phrase</a><span class="src-sym">(</span><span class="src-var">$value</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a111"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a112"></a> <span class="src-key">return </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_Service.html">Apache_Solr_Service</a></span><span class="src-sym">::</span><a href="../Apache/Solr/Apache_Solr_Service.html#methodphrase">phrase</a><span class="src-sym">(</span><span class="src-var">$value</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a113"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a114"></a> </div></li> -<li><div class="src-line"><a name="a115"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a116"></a><span class="src-doc"> * Constructor. Takes arrays of read and write service instances or descriptions</span></div></li> -<li><div class="src-line"><a name="a117"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a118"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">array </span><span class="src-doc-var">$readableServices </span></div></li> -<li><div class="src-line"><a name="a119"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">array </span><span class="src-doc-var">$writeableServices </span></div></li> -<li><div class="src-line"><a name="a120"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a121"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#method__construct">__construct</a><span class="src-sym">(</span><span class="src-var">$readableServices </span>= <span class="src-key">array</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">, </span><span class="src-var">$writeableServices </span>= <span class="src-key">array</span><span class="src-sym">(</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a122"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a123"></a> <span class="src-comm">//setup readable services</span></div></li> -<li><div class="src-line"><a name="a124"></a> <span class="src-key">foreach </span><span class="src-sym">(</span><span class="src-var">$readableServices </span><span class="src-key">as </span><span class="src-var">$service</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a125"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a126"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#methodaddReadService">addReadService</a><span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a127"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a128"></a> </div></li> -<li><div class="src-line"><a name="a129"></a> <span class="src-comm">//setup writeable services</span></div></li> -<li><div class="src-line"><a name="a130"></a> <span class="src-key">foreach </span><span class="src-sym">(</span><span class="src-var">$writeableServices </span><span class="src-key">as </span><span class="src-var">$service</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a131"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a132"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#methodaddWriteService">addWriteService</a><span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a133"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a134"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a135"></a> </div></li> -<li><div class="src-line"><a name="a136"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#methodsetReadPingTimeout">setReadPingTimeout</a><span class="src-sym">(</span><span class="src-var">$timeout</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a137"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a138"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_readPingTimeout">_readPingTimeout</a> = <span class="src-var">$timeout</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a139"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a140"></a> </div></li> -<li><div class="src-line"><a name="a141"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#methodsetWritePingTimeout">setWritePingTimeout</a><span class="src-sym">(</span><span class="src-var">$timeout</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a142"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a143"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_writePingTimeout">_writePingTimeout</a> = <span class="src-var">$timeout</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a144"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a145"></a> </div></li> -<li><div class="src-line"><a name="a146"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#methodsetUseBackoff">setUseBackoff</a><span class="src-sym">(</span><span class="src-var">$enable</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a147"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a148"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_useBackoff">_useBackoff</a> = <span class="src-var">$enable</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a149"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a150"></a> </div></li> -<li><div class="src-line"><a name="a151"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a152"></a><span class="src-doc"> * Generates a service ID</span></div></li> -<li><div class="src-line"><a name="a153"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a154"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$host </span></div></li> -<li><div class="src-line"><a name="a155"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">integer </span><span class="src-doc-var">$port </span></div></li> -<li><div class="src-line"><a name="a156"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$path </span></div></li> -<li><div class="src-line"><a name="a157"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">string </span></div></li> -<li><div class="src-line"><a name="a158"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a159"></a> <span class="src-key">protected </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#method_getServiceId">_getServiceId</a><span class="src-sym">(</span><span class="src-var">$host</span><span class="src-sym">, </span><span class="src-var">$port</span><span class="src-sym">, </span><span class="src-var">$path</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a160"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a161"></a> <span class="src-key">return </span><span class="src-var">$host </span>. <span class="src-str">':' </span>. <span class="src-var">$port </span>. <span class="src-var">$path</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a162"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a163"></a> </div></li> -<li><div class="src-line"><a name="a164"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a165"></a><span class="src-doc"> * Adds a service instance or service descriptor (if it is already</span></div></li> -<li><div class="src-line"><a name="a166"></a><span class="src-doc"> * not added)</span></div></li> -<li><div class="src-line"><a name="a167"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a168"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">mixed </span><span class="src-doc-var">$service </span></div></li> -<li><div class="src-line"><a name="a169"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a170"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@throws</span><span class="src-doc"> Apache_Solr_InvalidArgumentException If service descriptor is not valid</span></div></li> -<li><div class="src-line"><a name="a171"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a172"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#methodaddReadService">addReadService</a><span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a173"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a174"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$service </span>instanceof <span class="src-id"><a href="../Apache/Solr/Apache_Solr_Service.html">Apache_Solr_Service</a></span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a175"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a176"></a> <span class="src-var">$id </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#method_getServiceId">_getServiceId</a><span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">-></span><span class="src-id">getHost</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">, </span><span class="src-var">$service</span><span class="src-sym">-></span><span class="src-id">getPort</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">, </span><span class="src-var">$service</span><span class="src-sym">-></span><span class="src-id">getPath</span><span class="src-sym">(</span><span class="src-sym">))</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a177"></a> </div></li> -<li><div class="src-line"><a name="a178"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_readableServices">_readableServices</a><span class="src-sym">[</span><span class="src-var">$id</span><span class="src-sym">] </span>= <span class="src-var">$service</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a179"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a180"></a> <span class="src-key">else </span><span class="src-key">if </span><span class="src-sym">(</span><a href="http://www.php.net/is_array">is_array</a><span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a181"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a182"></a> <span class="src-key">if </span><span class="src-sym">(</span>isset<span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">[</span><span class="src-str">'host'</span><span class="src-sym">]</span><span class="src-sym">) </span>&& isset<span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">[</span><span class="src-str">'port'</span><span class="src-sym">]</span><span class="src-sym">) </span>&& isset<span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">[</span><span class="src-str">'path'</span><span class="src-sym">]</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a183"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a184"></a> <span class="src-var">$id </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#method_getServiceId">_getServiceId</a><span class="src-sym">(</span>(string)<span class="src-var">$service</span><span class="src-sym">[</span><span class="src-str">'host'</span><span class="src-sym">]</span><span class="src-sym">, </span>(int)<span class="src-var">$service</span><span class="src-sym">[</span><span class="src-str">'port'</span><span class="src-sym">]</span><span class="src-sym">, </span>(string)<span class="src-var">$service</span><span class="src-sym">[</span><span class="src-str">'path'</span><span class="src-sym">]</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a185"></a> </div></li> -<li><div class="src-line"><a name="a186"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_readableServices">_readableServices</a><span class="src-sym">[</span><span class="src-var">$id</span><span class="src-sym">] </span>= <span class="src-var">$service</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a187"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a188"></a> <span class="src-key">else</span></div></li> -<li><div class="src-line"><a name="a189"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a190"></a> throw <span class="src-key">new </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_InvalidArgumentException.html">Apache_Solr_InvalidArgumentException</a></span><span class="src-sym">(</span><span class="src-str">'A Readable Service description array does not have all required elements of host, port, and path'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a191"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a192"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a193"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a194"></a> </div></li> -<li><div class="src-line"><a name="a195"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a196"></a><span class="src-doc"> * Removes a service instance or descriptor from the available services</span></div></li> -<li><div class="src-line"><a name="a197"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a198"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">mixed </span><span class="src-doc-var">$service </span></div></li> -<li><div class="src-line"><a name="a199"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a200"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@throws</span><span class="src-doc"> Apache_Solr_InvalidArgumentException If service descriptor is not valid</span></div></li> -<li><div class="src-line"><a name="a201"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a202"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#methodremoveReadService">removeReadService</a><span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a203"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a204"></a> <span class="src-var">$id </span>= <span class="src-str">''</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a205"></a> </div></li> -<li><div class="src-line"><a name="a206"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$service </span>instanceof <span class="src-id"><a href="../Apache/Solr/Apache_Solr_Service.html">Apache_Solr_Service</a></span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a207"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a208"></a> <span class="src-var">$id </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#method_getServiceId">_getServiceId</a><span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">-></span><span class="src-id">getHost</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">, </span><span class="src-var">$service</span><span class="src-sym">-></span><span class="src-id">getPort</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">, </span><span class="src-var">$service</span><span class="src-sym">-></span><span class="src-id">getPath</span><span class="src-sym">(</span><span class="src-sym">))</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a209"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a210"></a> <span class="src-key">else </span><span class="src-key">if </span><span class="src-sym">(</span><a href="http://www.php.net/is_array">is_array</a><span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a211"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a212"></a> <span class="src-key">if </span><span class="src-sym">(</span>isset<span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">[</span><span class="src-str">'host'</span><span class="src-sym">]</span><span class="src-sym">) </span>&& isset<span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">[</span><span class="src-str">'port'</span><span class="src-sym">]</span><span class="src-sym">) </span>&& isset<span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">[</span><span class="src-str">'path'</span><span class="src-sym">]</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a213"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a214"></a> <span class="src-var">$id </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#method_getServiceId">_getServiceId</a><span class="src-sym">(</span>(string)<span class="src-var">$service</span><span class="src-sym">[</span><span class="src-str">'host'</span><span class="src-sym">]</span><span class="src-sym">, </span>(int)<span class="src-var">$service</span><span class="src-sym">[</span><span class="src-str">'port'</span><span class="src-sym">]</span><span class="src-sym">, </span>(string)<span class="src-var">$service</span><span class="src-sym">[</span><span class="src-str">'path'</span><span class="src-sym">]</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a215"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a216"></a> <span class="src-key">else</span></div></li> -<li><div class="src-line"><a name="a217"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a218"></a> throw <span class="src-key">new </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_InvalidArgumentException.html">Apache_Solr_InvalidArgumentException</a></span><span class="src-sym">(</span><span class="src-str">'A Readable Service description array does not have all required elements of host, port, and path'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a219"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a220"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a221"></a> <span class="src-key">else </span><span class="src-key">if </span><span class="src-sym">(</span><a href="http://www.php.net/is_string">is_string</a><span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a222"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a223"></a> <span class="src-var">$id </span>= <span class="src-var">$service</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a224"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a225"></a> </div></li> -<li><div class="src-line"><a name="a226"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$id </span>&& isset<span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_readableServices">_readableServices</a><span class="src-sym">[</span><span class="src-var">$id</span><span class="src-sym">]</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a227"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a228"></a> unset<span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_readableServices">_readableServices</a><span class="src-sym">[</span><span class="src-var">$id</span><span class="src-sym">]</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a229"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a230"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a231"></a> </div></li> -<li><div class="src-line"><a name="a232"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a233"></a><span class="src-doc"> * Adds a service instance or service descriptor (if it is already</span></div></li> -<li><div class="src-line"><a name="a234"></a><span class="src-doc"> * not added)</span></div></li> -<li><div class="src-line"><a name="a235"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a236"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">mixed </span><span class="src-doc-var">$service </span></div></li> -<li><div class="src-line"><a name="a237"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a238"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@throws</span><span class="src-doc"> Apache_Solr_InvalidArgumentException If service descriptor is not valid</span></div></li> -<li><div class="src-line"><a name="a239"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a240"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#methodaddWriteService">addWriteService</a><span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a241"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a242"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$service </span>instanceof <span class="src-id"><a href="../Apache/Solr/Apache_Solr_Service.html">Apache_Solr_Service</a></span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a243"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a244"></a> <span class="src-var">$id </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#method_getServiceId">_getServiceId</a><span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">-></span><span class="src-id">getHost</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">, </span><span class="src-var">$service</span><span class="src-sym">-></span><span class="src-id">getPort</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">, </span><span class="src-var">$service</span><span class="src-sym">-></span><span class="src-id">getPath</span><span class="src-sym">(</span><span class="src-sym">))</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a245"></a> </div></li> -<li><div class="src-line"><a name="a246"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_writeableServices">_writeableServices</a><span class="src-sym">[</span><span class="src-var">$id</span><span class="src-sym">] </span>= <span class="src-var">$service</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a247"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a248"></a> <span class="src-key">else </span><span class="src-key">if </span><span class="src-sym">(</span><a href="http://www.php.net/is_array">is_array</a><span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a249"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a250"></a> <span class="src-key">if </span><span class="src-sym">(</span>isset<span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">[</span><span class="src-str">'host'</span><span class="src-sym">]</span><span class="src-sym">) </span>&& isset<span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">[</span><span class="src-str">'port'</span><span class="src-sym">]</span><span class="src-sym">) </span>&& isset<span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">[</span><span class="src-str">'path'</span><span class="src-sym">]</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a251"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a252"></a> <span class="src-var">$id </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#method_getServiceId">_getServiceId</a><span class="src-sym">(</span>(string)<span class="src-var">$service</span><span class="src-sym">[</span><span class="src-str">'host'</span><span class="src-sym">]</span><span class="src-sym">, </span>(int)<span class="src-var">$service</span><span class="src-sym">[</span><span class="src-str">'port'</span><span class="src-sym">]</span><span class="src-sym">, </span>(string)<span class="src-var">$service</span><span class="src-sym">[</span><span class="src-str">'path'</span><span class="src-sym">]</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a253"></a> </div></li> -<li><div class="src-line"><a name="a254"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_writeableServices">_writeableServices</a><span class="src-sym">[</span><span class="src-var">$id</span><span class="src-sym">] </span>= <span class="src-var">$service</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a255"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a256"></a> <span class="src-key">else</span></div></li> -<li><div class="src-line"><a name="a257"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a258"></a> throw <span class="src-key">new </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_InvalidArgumentException.html">Apache_Solr_InvalidArgumentException</a></span><span class="src-sym">(</span><span class="src-str">'A Writeable Service description array does not have all required elements of host, port, and path'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a259"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a260"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a261"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a262"></a> </div></li> -<li><div class="src-line"><a name="a263"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a264"></a><span class="src-doc"> * Removes a service instance or descriptor from the available services</span></div></li> -<li><div class="src-line"><a name="a265"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a266"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">mixed </span><span class="src-doc-var">$service </span></div></li> -<li><div class="src-line"><a name="a267"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a268"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@throws</span><span class="src-doc"> Apache_Solr_InvalidArgumentException If service descriptor is not valid</span></div></li> -<li><div class="src-line"><a name="a269"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a270"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#methodremoveWriteService">removeWriteService</a><span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a271"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a272"></a> <span class="src-var">$id </span>= <span class="src-str">''</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a273"></a> </div></li> -<li><div class="src-line"><a name="a274"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$service </span>instanceof <span class="src-id"><a href="../Apache/Solr/Apache_Solr_Service.html">Apache_Solr_Service</a></span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a275"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a276"></a> <span class="src-var">$id </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#method_getServiceId">_getServiceId</a><span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">-></span><span class="src-id">getHost</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">, </span><span class="src-var">$service</span><span class="src-sym">-></span><span class="src-id">getPort</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">, </span><span class="src-var">$service</span><span class="src-sym">-></span><span class="src-id">getPath</span><span class="src-sym">(</span><span class="src-sym">))</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a277"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a278"></a> <span class="src-key">else </span><span class="src-key">if </span><span class="src-sym">(</span><a href="http://www.php.net/is_array">is_array</a><span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a279"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a280"></a> <span class="src-key">if </span><span class="src-sym">(</span>isset<span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">[</span><span class="src-str">'host'</span><span class="src-sym">]</span><span class="src-sym">) </span>&& isset<span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">[</span><span class="src-str">'port'</span><span class="src-sym">]</span><span class="src-sym">) </span>&& isset<span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">[</span><span class="src-str">'path'</span><span class="src-sym">]</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a281"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a282"></a> <span class="src-var">$id </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#method_getServiceId">_getServiceId</a><span class="src-sym">(</span>(string)<span class="src-var">$service</span><span class="src-sym">[</span><span class="src-str">'host'</span><span class="src-sym">]</span><span class="src-sym">, </span>(int)<span class="src-var">$service</span><span class="src-sym">[</span><span class="src-str">'port'</span><span class="src-sym">]</span><span class="src-sym">, </span>(string)<span class="src-var">$service</span><span class="src-sym">[</span><span class="src-str">'path'</span><span class="src-sym">]</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a283"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a284"></a> <span class="src-key">else</span></div></li> -<li><div class="src-line"><a name="a285"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a286"></a> throw <span class="src-key">new </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_InvalidArgumentException.html">Apache_Solr_InvalidArgumentException</a></span><span class="src-sym">(</span><span class="src-str">'A Readable Service description array does not have all required elements of host, port, and path'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a287"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a288"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a289"></a> <span class="src-key">else </span><span class="src-key">if </span><span class="src-sym">(</span><a href="http://www.php.net/is_string">is_string</a><span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a290"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a291"></a> <span class="src-var">$id </span>= <span class="src-var">$service</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a292"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a293"></a> </div></li> -<li><div class="src-line"><a name="a294"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$id </span>&& isset<span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_writeableServices">_writeableServices</a><span class="src-sym">[</span><span class="src-var">$id</span><span class="src-sym">]</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a295"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a296"></a> unset<span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_writeableServices">_writeableServices</a><span class="src-sym">[</span><span class="src-var">$id</span><span class="src-sym">]</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a297"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a298"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a299"></a> </div></li> -<li><div class="src-line"><a name="a300"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a301"></a><span class="src-doc"> * Iterate through available read services and select the first with a ping</span></div></li> -<li><div class="src-line"><a name="a302"></a><span class="src-doc"> * that satisfies configured timeout restrictions (or the default)</span></div></li> -<li><div class="src-line"><a name="a303"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a304"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">Apache_Solr_Service </span></div></li> -<li><div class="src-line"><a name="a305"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a306"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@throws</span><span class="src-doc"> Apache_Solr_NoServiceAvailableException If there are no read services that meet requirements</span></div></li> -<li><div class="src-line"><a name="a307"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a308"></a> <span class="src-key">protected </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#method_selectReadService">_selectReadService</a><span class="src-sym">(</span><span class="src-var">$forceSelect </span>= <span class="src-id">false</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a309"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a310"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-sym">!</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_currentReadService">_currentReadService</a> || <span class="src-sym">!</span>isset<span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_readableServices">_readableServices</a><span class="src-sym">[</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_currentReadService">_currentReadService</a><span class="src-sym">]</span><span class="src-sym">) </span>|| <span class="src-var">$forceSelect</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a311"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a312"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_currentReadService">_currentReadService</a> && isset<span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_readableServices">_readableServices</a><span class="src-sym">[</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_currentReadService">_currentReadService</a><span class="src-sym">]</span><span class="src-sym">) </span>&& <span class="src-var">$forceSelect</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a313"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a314"></a> <span class="src-comm">// we probably had a communication error, ping the current read service, remove it if it times out</span></div></li> -<li><div class="src-line"><a name="a315"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_readableServices">_readableServices</a><span class="src-sym">[</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_currentReadService">_currentReadService</a><span class="src-sym">]</span><span class="src-sym">-></span><span class="src-id">ping</span><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_readPingTimeout">_readPingTimeout</a><span class="src-sym">) </span>=== <span class="src-id">false</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a316"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a317"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#methodremoveReadService">removeReadService</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_currentReadService">_currentReadService</a><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a318"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a319"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a320"></a> </div></li> -<li><div class="src-line"><a name="a321"></a> <span class="src-key">if </span><span class="src-sym">(</span><a href="http://www.php.net/count">count</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_readableServices">_readableServices</a><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a322"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a323"></a> <span class="src-comm">// select one of the read services at random</span></div></li> -<li><div class="src-line"><a name="a324"></a> <span class="src-var">$ids </span>= <a href="http://www.php.net/array_keys">array_keys</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_readableServices">_readableServices</a><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a325"></a> </div></li> -<li><div class="src-line"><a name="a326"></a> <span class="src-var">$id </span>= <span class="src-var">$ids</span><span class="src-sym">[</span><a href="http://www.php.net/rand">rand</a><span class="src-sym">(</span><span class="src-num">0</span><span class="src-sym">, </span><a href="http://www.php.net/count">count</a><span class="src-sym">(</span><span class="src-var">$ids</span><span class="src-sym">) </span>- <span class="src-num">1</span><span class="src-sym">)</span><span class="src-sym">]</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a327"></a> <span class="src-var">$service </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_readableServices">_readableServices</a><span class="src-sym">[</span><span class="src-var">$id</span><span class="src-sym">]</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a328"></a> </div></li> -<li><div class="src-line"><a name="a329"></a> <span class="src-key">if </span><span class="src-sym">(</span><a href="http://www.php.net/is_array">is_array</a><span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a330"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a331"></a> <span class="src-comm">//convert the array definition to a client object</span></div></li> -<li><div class="src-line"><a name="a332"></a> <span class="src-var">$service </span>= <span class="src-key">new </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_Service.html">Apache_Solr_Service</a></span><span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">[</span><span class="src-str">'host'</span><span class="src-sym">]</span><span class="src-sym">, </span><span class="src-var">$service</span><span class="src-sym">[</span><span class="src-str">'port'</span><span class="src-sym">]</span><span class="src-sym">, </span><span class="src-var">$service</span><span class="src-sym">[</span><span class="src-str">'path'</span><span class="src-sym">]</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a333"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_readableServices">_readableServices</a><span class="src-sym">[</span><span class="src-var">$id</span><span class="src-sym">] </span>= <span class="src-var">$service</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a334"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a335"></a> </div></li> -<li><div class="src-line"><a name="a336"></a> <span class="src-var">$service</span><span class="src-sym">-></span><span class="src-id">setCreateDocuments</span><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_createDocuments">_createDocuments</a><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a337"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_currentReadService">_currentReadService</a> = <span class="src-var">$id</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a338"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a339"></a> <span class="src-key">else</span></div></li> -<li><div class="src-line"><a name="a340"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a341"></a> throw <span class="src-key">new </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_NoServiceAvailableException.html">Apache_Solr_NoServiceAvailableException</a></span><span class="src-sym">(</span><span class="src-str">'No read services were available'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a342"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a343"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a344"></a> </div></li> -<li><div class="src-line"><a name="a345"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_readableServices">_readableServices</a><span class="src-sym">[</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_currentReadService">_currentReadService</a><span class="src-sym">]</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a346"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a347"></a> </div></li> -<li><div class="src-line"><a name="a348"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a349"></a><span class="src-doc"> * Iterate through available write services and select the first with a ping</span></div></li> -<li><div class="src-line"><a name="a350"></a><span class="src-doc"> * that satisfies configured timeout restrictions (or the default)</span></div></li> -<li><div class="src-line"><a name="a351"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a352"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">Apache_Solr_Service </span></div></li> -<li><div class="src-line"><a name="a353"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a354"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@throws</span><span class="src-doc"> Apache_Solr_NoServiceAvailableException If there are no write services that meet requirements</span></div></li> -<li><div class="src-line"><a name="a355"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a356"></a> <span class="src-key">protected </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#method_selectWriteService">_selectWriteService</a><span class="src-sym">(</span><span class="src-var">$forceSelect </span>= <span class="src-id">false</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a357"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a358"></a> <span class="src-key">if</span><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_useBackoff">_useBackoff</a><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a359"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a360"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#method_selectWriteServiceSafe">_selectWriteServiceSafe</a><span class="src-sym">(</span><span class="src-var">$forceSelect</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a361"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a362"></a> </div></li> -<li><div class="src-line"><a name="a363"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-sym">!</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_currentWriteService">_currentWriteService</a> || <span class="src-sym">!</span>isset<span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_writeableServices">_writeableServices</a><span class="src-sym">[</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_currentWriteService">_currentWriteService</a><span class="src-sym">]</span><span class="src-sym">) </span>|| <span class="src-var">$forceSelect</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a364"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a365"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_currentWriteService">_currentWriteService</a> && isset<span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_writeableServices">_writeableServices</a><span class="src-sym">[</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_currentWriteService">_currentWriteService</a><span class="src-sym">]</span><span class="src-sym">) </span>&& <span class="src-var">$forceSelect</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a366"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a367"></a> <span class="src-comm">// we probably had a communication error, ping the current read service, remove it if it times out</span></div></li> -<li><div class="src-line"><a name="a368"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_writeableServices">_writeableServices</a><span class="src-sym">[</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_currentWriteService">_currentWriteService</a><span class="src-sym">]</span><span class="src-sym">-></span><span class="src-id">ping</span><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_writePingTimeout">_writePingTimeout</a><span class="src-sym">) </span>=== <span class="src-id">false</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a369"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a370"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#methodremoveWriteService">removeWriteService</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_currentWriteService">_currentWriteService</a><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a371"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a372"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a373"></a> </div></li> -<li><div class="src-line"><a name="a374"></a> <span class="src-key">if </span><span class="src-sym">(</span><a href="http://www.php.net/count">count</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_writeableServices">_writeableServices</a><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a375"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a376"></a> <span class="src-comm">// select one of the read services at random</span></div></li> -<li><div class="src-line"><a name="a377"></a> <span class="src-var">$ids </span>= <a href="http://www.php.net/array_keys">array_keys</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_writeableServices">_writeableServices</a><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a378"></a> </div></li> -<li><div class="src-line"><a name="a379"></a> <span class="src-var">$id </span>= <span class="src-var">$ids</span><span class="src-sym">[</span><a href="http://www.php.net/rand">rand</a><span class="src-sym">(</span><span class="src-num">0</span><span class="src-sym">, </span><a href="http://www.php.net/count">count</a><span class="src-sym">(</span><span class="src-var">$ids</span><span class="src-sym">) </span>- <span class="src-num">1</span><span class="src-sym">)</span><span class="src-sym">]</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a380"></a> <span class="src-var">$service </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_writeableServices">_writeableServices</a><span class="src-sym">[</span><span class="src-var">$id</span><span class="src-sym">]</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a381"></a> </div></li> -<li><div class="src-line"><a name="a382"></a> <span class="src-key">if </span><span class="src-sym">(</span><a href="http://www.php.net/is_array">is_array</a><span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a383"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a384"></a> <span class="src-comm">//convert the array definition to a client object</span></div></li> -<li><div class="src-line"><a name="a385"></a> <span class="src-var">$service </span>= <span class="src-key">new </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_Service.html">Apache_Solr_Service</a></span><span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">[</span><span class="src-str">'host'</span><span class="src-sym">]</span><span class="src-sym">, </span><span class="src-var">$service</span><span class="src-sym">[</span><span class="src-str">'port'</span><span class="src-sym">]</span><span class="src-sym">, </span><span class="src-var">$service</span><span class="src-sym">[</span><span class="src-str">'path'</span><span class="src-sym">]</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a386"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_writeableServices">_writeableServices</a><span class="src-sym">[</span><span class="src-var">$id</span><span class="src-sym">] </span>= <span class="src-var">$service</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a387"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a388"></a> </div></li> -<li><div class="src-line"><a name="a389"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_currentWriteService">_currentWriteService</a> = <span class="src-var">$id</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a390"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a391"></a> <span class="src-key">else</span></div></li> -<li><div class="src-line"><a name="a392"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a393"></a> throw <span class="src-key">new </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_NoServiceAvailableException.html">Apache_Solr_NoServiceAvailableException</a></span><span class="src-sym">(</span><span class="src-str">'No write services were available'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a394"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a395"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a396"></a> </div></li> -<li><div class="src-line"><a name="a397"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_writeableServices">_writeableServices</a><span class="src-sym">[</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_currentWriteService">_currentWriteService</a><span class="src-sym">]</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a398"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a399"></a> </div></li> -<li><div class="src-line"><a name="a400"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a401"></a><span class="src-doc"> * Iterate through available write services and select the first with a ping</span></div></li> -<li><div class="src-line"><a name="a402"></a><span class="src-doc"> * that satisfies configured timeout restrictions (or the default). The</span></div></li> -<li><div class="src-line"><a name="a403"></a><span class="src-doc"> * timeout period will increase until a connection is made or the limit is</span></div></li> -<li><div class="src-line"><a name="a404"></a><span class="src-doc"> * reached. This will allow for increased reliability with heavily loaded</span></div></li> -<li><div class="src-line"><a name="a405"></a><span class="src-doc"> * server(s).</span></div></li> -<li><div class="src-line"><a name="a406"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a407"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">Apache_Solr_Service </span></div></li> -<li><div class="src-line"><a name="a408"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a409"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@throws</span><span class="src-doc"> Apache_Solr_NoServiceAvailableException If there are no write services that meet requirements</span></div></li> -<li><div class="src-line"><a name="a410"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a411"></a> </div></li> -<li><div class="src-line"><a name="a412"></a> <span class="src-key">protected </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#method_selectWriteServiceSafe">_selectWriteServiceSafe</a><span class="src-sym">(</span><span class="src-var">$forceSelect </span>= <span class="src-id">false</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a413"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a414"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-sym">!</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_currentWriteService">_currentWriteService</a> || <span class="src-sym">!</span>isset<span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_writeableServices">_writeableServices</a><span class="src-sym">[</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_currentWriteService">_currentWriteService</a><span class="src-sym">]</span><span class="src-sym">) </span>|| <span class="src-var">$forceSelect</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a415"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a416"></a> <span class="src-key">if </span><span class="src-sym">(</span><a href="http://www.php.net/count">count</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_writeableServices">_writeableServices</a><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a417"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a418"></a> <span class="src-var">$backoff </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_defaultBackoff">_defaultBackoff</a><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a419"></a> </div></li> -<li><div class="src-line"><a name="a420"></a> do <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a421"></a> <span class="src-comm">// select one of the read services at random</span></div></li> -<li><div class="src-line"><a name="a422"></a> <span class="src-var">$ids </span>= <a href="http://www.php.net/array_keys">array_keys</a><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_writeableServices">_writeableServices</a><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a423"></a> </div></li> -<li><div class="src-line"><a name="a424"></a> <span class="src-var">$id </span>= <span class="src-var">$ids</span><span class="src-sym">[</span><a href="http://www.php.net/rand">rand</a><span class="src-sym">(</span><span class="src-num">0</span><span class="src-sym">, </span><a href="http://www.php.net/count">count</a><span class="src-sym">(</span><span class="src-var">$ids</span><span class="src-sym">) </span>- <span class="src-num">1</span><span class="src-sym">)</span><span class="src-sym">]</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a425"></a> <span class="src-var">$service </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_writeableServices">_writeableServices</a><span class="src-sym">[</span><span class="src-var">$id</span><span class="src-sym">]</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a426"></a> </div></li> -<li><div class="src-line"><a name="a427"></a> <span class="src-key">if </span><span class="src-sym">(</span><a href="http://www.php.net/is_array">is_array</a><span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">))</span></div></li> -<li><div class="src-line"><a name="a428"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a429"></a> <span class="src-comm">//convert the array definition to a client object</span></div></li> -<li><div class="src-line"><a name="a430"></a> <span class="src-var">$service </span>= <span class="src-key">new </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_Service.html">Apache_Solr_Service</a></span><span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">[</span><span class="src-str">'host'</span><span class="src-sym">]</span><span class="src-sym">, </span><span class="src-var">$service</span><span class="src-sym">[</span><span class="src-str">'port'</span><span class="src-sym">]</span><span class="src-sym">, </span><span class="src-var">$service</span><span class="src-sym">[</span><span class="src-str">'path'</span><span class="src-sym">]</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a431"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_writeableServices">_writeableServices</a><span class="src-sym">[</span><span class="src-var">$id</span><span class="src-sym">] </span>= <span class="src-var">$service</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a432"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a433"></a> </div></li> -<li><div class="src-line"><a name="a434"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_currentWriteService">_currentWriteService</a> = <span class="src-var">$id</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a435"></a> </div></li> -<li><div class="src-line"><a name="a436"></a> <span class="src-var">$backoff </span>*= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_backoffEscalation">_backoffEscalation</a><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a437"></a> </div></li> -<li><div class="src-line"><a name="a438"></a> <span class="src-key">if</span><span class="src-sym">(</span><span class="src-var">$backoff </span>> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_backoffLimit">_backoffLimit</a><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a439"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a440"></a> throw <span class="src-key">new </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_NoServiceAvailableException.html">Apache_Solr_NoServiceAvailableException</a></span><span class="src-sym">(</span><span class="src-str">'No write services were available. All timeouts exceeded.'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a441"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a442"></a> </div></li> -<li><div class="src-line"><a name="a443"></a> <span class="src-sym">} </span><span class="src-key">while</span><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_writeableServices">_writeableServices</a><span class="src-sym">[</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_currentWriteService">_currentWriteService</a><span class="src-sym">]</span><span class="src-sym">-></span><span class="src-id">ping</span><span class="src-sym">(</span><span class="src-var">$backoff</span><span class="src-sym">) </span>=== <span class="src-id">false</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a444"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a445"></a> <span class="src-key">else</span></div></li> -<li><div class="src-line"><a name="a446"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a447"></a> throw <span class="src-key">new </span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_NoServiceAvailableException.html">Apache_Solr_NoServiceAvailableException</a></span><span class="src-sym">(</span><span class="src-str">'No write services were available'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a448"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a449"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a450"></a> </div></li> -<li><div class="src-line"><a name="a451"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_writeableServices">_writeableServices</a><span class="src-sym">[</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_currentWriteService">_currentWriteService</a><span class="src-sym">]</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a452"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a453"></a> </div></li> -<li><div class="src-line"><a name="a454"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a455"></a><span class="src-doc"> * Set the create documents flag. This determines whether </span><span class="src-doc-inlinetag">{@link Apache_Solr_Response}</span><span class="src-doc"> objects will</span></div></li> -<li><div class="src-line"><a name="a456"></a><span class="src-doc"> * parse the response and create </span><span class="src-doc-inlinetag">{@link Apache_Solr_Document}</span><span class="src-doc"> instances in place.</span></div></li> -<li><div class="src-line"><a name="a457"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a458"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">boolean </span><span class="src-doc-var">$createDocuments </span></div></li> -<li><div class="src-line"><a name="a459"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a460"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#methodsetCreateDocuments">setCreateDocuments</a><span class="src-sym">(</span><span class="src-var">$createDocuments</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a461"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a462"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_createDocuments">_createDocuments</a> = (bool) <span class="src-var">$createDocuments</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a463"></a> </div></li> -<li><div class="src-line"><a name="a464"></a> <span class="src-comm">// set on current read service</span></div></li> -<li><div class="src-line"><a name="a465"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_currentReadService">_currentReadService</a><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a466"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a467"></a> <span class="src-var">$service </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#method_selectReadService">_selectReadService</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a468"></a> <span class="src-var">$service</span><span class="src-sym">-></span><span class="src-id">setCreateDocuments</span><span class="src-sym">(</span><span class="src-var">$createDocuments</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a469"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a470"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a471"></a> </div></li> -<li><div class="src-line"><a name="a472"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a473"></a><span class="src-doc"> * Get the current state of teh create documents flag.</span></div></li> -<li><div class="src-line"><a name="a474"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a475"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">boolean </span></div></li> -<li><div class="src-line"><a name="a476"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a477"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#methodgetCreateDocuments">getCreateDocuments</a><span class="src-sym">(</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a478"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a479"></a> <span class="src-key">return </span><span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#var$_createDocuments">_createDocuments</a><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a480"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a481"></a> </div></li> -<li><div class="src-line"><a name="a482"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a483"></a><span class="src-doc"> * Raw Add Method. Takes a raw post body and sends it to the update service. Post body</span></div></li> -<li><div class="src-line"><a name="a484"></a><span class="src-doc"> * should be a complete and well formed "add" xml document.</span></div></li> -<li><div class="src-line"><a name="a485"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a486"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$rawPost </span></div></li> -<li><div class="src-line"><a name="a487"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">Apache_Solr_Response </span></div></li> -<li><div class="src-line"><a name="a488"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a489"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@throws</span><span class="src-doc"> Apache_Solr_HttpTransportException If an error occurs during the service call</span></div></li> -<li><div class="src-line"><a name="a490"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a491"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#methodadd">add</a><span class="src-sym">(</span><span class="src-var">$rawPost</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a492"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a493"></a> <span class="src-var">$service </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#method_selectWriteService">_selectWriteService</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a494"></a> </div></li> -<li><div class="src-line"><a name="a495"></a> do</div></li> -<li><div class="src-line"><a name="a496"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a497"></a> try</div></li> -<li><div class="src-line"><a name="a498"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a499"></a> <span class="src-key">return </span><span class="src-var">$service</span><span class="src-sym">-></span><span class="src-id">add</span><span class="src-sym">(</span><span class="src-var">$rawPost</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a500"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a501"></a> catch <span class="src-sym">(</span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_HttpTransportException.html">Apache_Solr_HttpTransportException</a> </span><span class="src-var">$e</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a502"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a503"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$e</span><span class="src-sym">-></span><span class="src-id">getCode</span><span class="src-sym">(</span><span class="src-sym">) </span>!= <span class="src-num">0</span><span class="src-sym">) </span><span class="src-comm">//IF NOT COMMUNICATION ERROR</span></div></li> -<li><div class="src-line"><a name="a504"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a505"></a> throw <span class="src-var">$e</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a506"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a507"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a508"></a> </div></li> -<li><div class="src-line"><a name="a509"></a> <span class="src-var">$service </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#method_selectWriteService">_selectWriteService</a><span class="src-sym">(</span><span class="src-id">true</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a510"></a> <span class="src-sym">} </span><span class="src-key">while </span><span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a511"></a> </div></li> -<li><div class="src-line"><a name="a512"></a> <span class="src-key">return </span><span class="src-id">false</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a513"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a514"></a> </div></li> -<li><div class="src-line"><a name="a515"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a516"></a><span class="src-doc"> * Add a Solr Document to the index</span></div></li> -<li><div class="src-line"><a name="a517"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a518"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">Apache_Solr_Document </span><span class="src-doc-var">$document </span></div></li> -<li><div class="src-line"><a name="a519"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">boolean </span><span class="src-doc-var">$allowDups </span></div></li> -<li><div class="src-line"><a name="a520"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">boolean </span><span class="src-doc-var">$overwritePending </span></div></li> -<li><div class="src-line"><a name="a521"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">boolean </span><span class="src-doc-var">$overwriteCommitted </span></div></li> -<li><div class="src-line"><a name="a522"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">Apache_Solr_Response </span></div></li> -<li><div class="src-line"><a name="a523"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a524"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@throws</span><span class="src-doc"> Apache_Solr_HttpTransportException If an error occurs during the service call</span></div></li> -<li><div class="src-line"><a name="a525"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a526"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#methodaddDocument">addDocument</a><span class="src-sym">(</span><span class="src-id">Apache_Solr_Document </span><span class="src-var">$document</span><span class="src-sym">, </span><span class="src-var">$allowDups </span>= <span class="src-id">false</span><span class="src-sym">, </span><span class="src-var">$overwritePending </span>= <span class="src-id">true</span><span class="src-sym">, </span><span class="src-var">$overwriteCommitted </span>= <span class="src-id">true</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a527"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a528"></a> <span class="src-var">$service </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#method_selectWriteService">_selectWriteService</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a529"></a> </div></li> -<li><div class="src-line"><a name="a530"></a> do</div></li> -<li><div class="src-line"><a name="a531"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a532"></a> try</div></li> -<li><div class="src-line"><a name="a533"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a534"></a> <span class="src-key">return </span><span class="src-var">$service</span><span class="src-sym">-></span><span class="src-id">addDocument</span><span class="src-sym">(</span><span class="src-var">$document</span><span class="src-sym">, </span><span class="src-var">$allowDups</span><span class="src-sym">, </span><span class="src-var">$overwritePending</span><span class="src-sym">, </span><span class="src-var">$overwriteCommitted</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a535"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a536"></a> catch <span class="src-sym">(</span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_HttpTransportException.html">Apache_Solr_HttpTransportException</a> </span><span class="src-var">$e</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a537"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a538"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$e</span><span class="src-sym">-></span><span class="src-id">getCode</span><span class="src-sym">(</span><span class="src-sym">) </span>!= <span class="src-num">0</span><span class="src-sym">) </span><span class="src-comm">//IF NOT COMMUNICATION ERROR</span></div></li> -<li><div class="src-line"><a name="a539"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a540"></a> throw <span class="src-var">$e</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a541"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a542"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a543"></a> </div></li> -<li><div class="src-line"><a name="a544"></a> <span class="src-var">$service </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#method_selectWriteService">_selectWriteService</a><span class="src-sym">(</span><span class="src-id">true</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a545"></a> <span class="src-sym">} </span><span class="src-key">while </span><span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a546"></a> </div></li> -<li><div class="src-line"><a name="a547"></a> <span class="src-key">return </span><span class="src-id">false</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a548"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a549"></a> </div></li> -<li><div class="src-line"><a name="a550"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a551"></a><span class="src-doc"> * Add an array of Solr Documents to the index all at once</span></div></li> -<li><div class="src-line"><a name="a552"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a553"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">array </span><span class="src-doc-var">$documents </span><span class="src-doc">Should be an array of Apache_Solr_Document instances</span></div></li> -<li><div class="src-line"><a name="a554"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">boolean </span><span class="src-doc-var">$allowDups </span></div></li> -<li><div class="src-line"><a name="a555"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">boolean </span><span class="src-doc-var">$overwritePending </span></div></li> -<li><div class="src-line"><a name="a556"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">boolean </span><span class="src-doc-var">$overwriteCommitted </span></div></li> -<li><div class="src-line"><a name="a557"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">Apache_Solr_Response </span></div></li> -<li><div class="src-line"><a name="a558"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a559"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@throws</span><span class="src-doc"> Apache_Solr_HttpTransportException If an error occurs during the service call</span></div></li> -<li><div class="src-line"><a name="a560"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a561"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#methodaddDocuments">addDocuments</a><span class="src-sym">(</span><span class="src-var">$documents</span><span class="src-sym">, </span><span class="src-var">$allowDups </span>= <span class="src-id">false</span><span class="src-sym">, </span><span class="src-var">$overwritePending </span>= <span class="src-id">true</span><span class="src-sym">, </span><span class="src-var">$overwriteCommitted </span>= <span class="src-id">true</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a562"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a563"></a> <span class="src-var">$service </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#method_selectWriteService">_selectWriteService</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a564"></a> </div></li> -<li><div class="src-line"><a name="a565"></a> do</div></li> -<li><div class="src-line"><a name="a566"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a567"></a> try</div></li> -<li><div class="src-line"><a name="a568"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a569"></a> <span class="src-key">return </span><span class="src-var">$service</span><span class="src-sym">-></span><span class="src-id">addDocuments</span><span class="src-sym">(</span><span class="src-var">$documents</span><span class="src-sym">, </span><span class="src-var">$allowDups</span><span class="src-sym">, </span><span class="src-var">$overwritePending</span><span class="src-sym">, </span><span class="src-var">$overwriteCommitted</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a570"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a571"></a> catch <span class="src-sym">(</span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_HttpTransportException.html">Apache_Solr_HttpTransportException</a> </span><span class="src-var">$e</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a572"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a573"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$e</span><span class="src-sym">-></span><span class="src-id">getCode</span><span class="src-sym">(</span><span class="src-sym">) </span>!= <span class="src-num">0</span><span class="src-sym">) </span><span class="src-comm">//IF NOT COMMUNICATION ERROR</span></div></li> -<li><div class="src-line"><a name="a574"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a575"></a> throw <span class="src-var">$e</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a576"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a577"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a578"></a> </div></li> -<li><div class="src-line"><a name="a579"></a> <span class="src-var">$service </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#method_selectWriteService">_selectWriteService</a><span class="src-sym">(</span><span class="src-id">true</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a580"></a> <span class="src-sym">} </span><span class="src-key">while </span><span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a581"></a> </div></li> -<li><div class="src-line"><a name="a582"></a> <span class="src-key">return </span><span class="src-id">false</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a583"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a584"></a> </div></li> -<li><div class="src-line"><a name="a585"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a586"></a><span class="src-doc"> * Send a commit command. Will be synchronous unless both wait parameters are set</span></div></li> -<li><div class="src-line"><a name="a587"></a><span class="src-doc"> * to false.</span></div></li> -<li><div class="src-line"><a name="a588"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a589"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">boolean </span><span class="src-doc-var">$waitFlush </span></div></li> -<li><div class="src-line"><a name="a590"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">boolean </span><span class="src-doc-var">$waitSearcher </span></div></li> -<li><div class="src-line"><a name="a591"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">Apache_Solr_Response </span></div></li> -<li><div class="src-line"><a name="a592"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a593"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@throws</span><span class="src-doc"> Apache_Solr_HttpTransportException If an error occurs during the service call</span></div></li> -<li><div class="src-line"><a name="a594"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a595"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#methodcommit">commit</a><span class="src-sym">(</span><span class="src-var">$optimize </span>= <span class="src-id">true</span><span class="src-sym">, </span><span class="src-var">$waitFlush </span>= <span class="src-id">true</span><span class="src-sym">, </span><span class="src-var">$waitSearcher </span>= <span class="src-id">true</span><span class="src-sym">, </span><span class="src-var">$timeout </span>= <span class="src-num">3600</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a596"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a597"></a> <span class="src-var">$service </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#method_selectWriteService">_selectWriteService</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a598"></a> </div></li> -<li><div class="src-line"><a name="a599"></a> do</div></li> -<li><div class="src-line"><a name="a600"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a601"></a> try</div></li> -<li><div class="src-line"><a name="a602"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a603"></a> <span class="src-key">return </span><span class="src-var">$service</span><span class="src-sym">-></span><span class="src-id">commit</span><span class="src-sym">(</span><span class="src-var">$optimize</span><span class="src-sym">, </span><span class="src-var">$waitFlush</span><span class="src-sym">, </span><span class="src-var">$waitSearcher</span><span class="src-sym">, </span><span class="src-var">$timeout</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a604"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a605"></a> catch <span class="src-sym">(</span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_HttpTransportException.html">Apache_Solr_HttpTransportException</a> </span><span class="src-var">$e</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a606"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a607"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$e</span><span class="src-sym">-></span><span class="src-id">getCode</span><span class="src-sym">(</span><span class="src-sym">) </span>!= <span class="src-num">0</span><span class="src-sym">) </span><span class="src-comm">//IF NOT COMMUNICATION ERROR</span></div></li> -<li><div class="src-line"><a name="a608"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a609"></a> throw <span class="src-var">$e</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a610"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a611"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a612"></a> </div></li> -<li><div class="src-line"><a name="a613"></a> <span class="src-var">$service </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#method_selectWriteService">_selectWriteService</a><span class="src-sym">(</span><span class="src-id">true</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a614"></a> <span class="src-sym">} </span><span class="src-key">while </span><span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a615"></a> </div></li> -<li><div class="src-line"><a name="a616"></a> <span class="src-key">return </span><span class="src-id">false</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a617"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a618"></a> </div></li> -<li><div class="src-line"><a name="a619"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a620"></a><span class="src-doc"> * Raw Delete Method. Takes a raw post body and sends it to the update service. Body should be</span></div></li> -<li><div class="src-line"><a name="a621"></a><span class="src-doc"> * a complete and well formed "delete" xml document</span></div></li> -<li><div class="src-line"><a name="a622"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a623"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$rawPost </span></div></li> -<li><div class="src-line"><a name="a624"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">float </span><span class="src-doc-var">$timeout </span><span class="src-doc">Maximum expected duration of the delete operation on the server (otherwise, will throw a communication exception)</span></div></li> -<li><div class="src-line"><a name="a625"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">Apache_Solr_Response </span></div></li> -<li><div class="src-line"><a name="a626"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a627"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@throws</span><span class="src-doc"> Apache_Solr_HttpTransportException If an error occurs during the service call</span></div></li> -<li><div class="src-line"><a name="a628"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a629"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#methoddelete">delete</a><span class="src-sym">(</span><span class="src-var">$rawPost</span><span class="src-sym">, </span><span class="src-var">$timeout </span>= <span class="src-num">3600</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a630"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a631"></a> <span class="src-var">$service </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#method_selectWriteService">_selectWriteService</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a632"></a> </div></li> -<li><div class="src-line"><a name="a633"></a> do</div></li> -<li><div class="src-line"><a name="a634"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a635"></a> try</div></li> -<li><div class="src-line"><a name="a636"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a637"></a> <span class="src-key">return </span><span class="src-var">$service</span><span class="src-sym">-></span><span class="src-id">delete</span><span class="src-sym">(</span><span class="src-var">$rawPost</span><span class="src-sym">, </span><span class="src-var">$timeout</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a638"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a639"></a> catch <span class="src-sym">(</span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_HttpTransportException.html">Apache_Solr_HttpTransportException</a> </span><span class="src-var">$e</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a640"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a641"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$e</span><span class="src-sym">-></span><span class="src-id">getCode</span><span class="src-sym">(</span><span class="src-sym">) </span>!= <span class="src-num">0</span><span class="src-sym">) </span><span class="src-comm">//IF NOT COMMUNICATION ERROR</span></div></li> -<li><div class="src-line"><a name="a642"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a643"></a> throw <span class="src-var">$e</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a644"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a645"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a646"></a> </div></li> -<li><div class="src-line"><a name="a647"></a> <span class="src-var">$service </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#method_selectWriteService">_selectWriteService</a><span class="src-sym">(</span><span class="src-id">true</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a648"></a> <span class="src-sym">} </span><span class="src-key">while </span><span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a649"></a> </div></li> -<li><div class="src-line"><a name="a650"></a> <span class="src-key">return </span><span class="src-id">false</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a651"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a652"></a> </div></li> -<li><div class="src-line"><a name="a653"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a654"></a><span class="src-doc"> * Create a delete document based on document ID</span></div></li> -<li><div class="src-line"><a name="a655"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a656"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$id </span></div></li> -<li><div class="src-line"><a name="a657"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">boolean </span><span class="src-doc-var">$fromPending </span></div></li> -<li><div class="src-line"><a name="a658"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">boolean </span><span class="src-doc-var">$fromCommitted </span></div></li> -<li><div class="src-line"><a name="a659"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">float </span><span class="src-doc-var">$timeout </span><span class="src-doc">Maximum expected duration of the delete operation on the server (otherwise, will throw a communication exception)</span></div></li> -<li><div class="src-line"><a name="a660"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">Apache_Solr_Response </span></div></li> -<li><div class="src-line"><a name="a661"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a662"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@throws</span><span class="src-doc"> Apache_Solr_HttpTransportException If an error occurs during the service call</span></div></li> -<li><div class="src-line"><a name="a663"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a664"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#methoddeleteById">deleteById</a><span class="src-sym">(</span><span class="src-var">$id</span><span class="src-sym">, </span><span class="src-var">$fromPending </span>= <span class="src-id">true</span><span class="src-sym">, </span><span class="src-var">$fromCommitted </span>= <span class="src-id">true</span><span class="src-sym">, </span><span class="src-var">$timeout </span>= <span class="src-num">3600</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a665"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a666"></a> <span class="src-var">$service </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#method_selectWriteService">_selectWriteService</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a667"></a> </div></li> -<li><div class="src-line"><a name="a668"></a> do</div></li> -<li><div class="src-line"><a name="a669"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a670"></a> try</div></li> -<li><div class="src-line"><a name="a671"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a672"></a> <span class="src-key">return </span><span class="src-var">$service</span><span class="src-sym">-></span><span class="src-id">deleteById</span><span class="src-sym">(</span><span class="src-var">$id</span><span class="src-sym">, </span><span class="src-var">$fromPending</span><span class="src-sym">, </span><span class="src-var">$fromCommitted</span><span class="src-sym">, </span><span class="src-var">$timeout</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a673"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a674"></a> catch <span class="src-sym">(</span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_HttpTransportException.html">Apache_Solr_HttpTransportException</a> </span><span class="src-var">$e</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a675"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a676"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$e</span><span class="src-sym">-></span><span class="src-id">getCode</span><span class="src-sym">(</span><span class="src-sym">) </span>!= <span class="src-num">0</span><span class="src-sym">) </span><span class="src-comm">//IF NOT COMMUNICATION ERROR</span></div></li> -<li><div class="src-line"><a name="a677"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a678"></a> throw <span class="src-var">$e</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a679"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a680"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a681"></a> </div></li> -<li><div class="src-line"><a name="a682"></a> <span class="src-var">$service </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#method_selectWriteService">_selectWriteService</a><span class="src-sym">(</span><span class="src-id">true</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a683"></a> <span class="src-sym">} </span><span class="src-key">while </span><span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a684"></a> </div></li> -<li><div class="src-line"><a name="a685"></a> <span class="src-key">return </span><span class="src-id">false</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a686"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a687"></a> </div></li> -<li><div class="src-line"><a name="a688"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a689"></a><span class="src-doc"> * Create and post a delete document based on multiple document IDs.</span></div></li> -<li><div class="src-line"><a name="a690"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a691"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">array </span><span class="src-doc-var">$ids </span><span class="src-doc">Expected to be utf-8 encoded strings</span></div></li> -<li><div class="src-line"><a name="a692"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">boolean </span><span class="src-doc-var">$fromPending </span></div></li> -<li><div class="src-line"><a name="a693"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">boolean </span><span class="src-doc-var">$fromCommitted </span></div></li> -<li><div class="src-line"><a name="a694"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">float </span><span class="src-doc-var">$timeout </span><span class="src-doc">Maximum expected duration of the delete operation on the server (otherwise, will throw a communication exception)</span></div></li> -<li><div class="src-line"><a name="a695"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">Apache_Solr_Response </span></div></li> -<li><div class="src-line"><a name="a696"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a697"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@throws</span><span class="src-doc"> Apache_Solr_HttpTransportException If an error occurs during the service call</span></div></li> -<li><div class="src-line"><a name="a698"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a699"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#methoddeleteByMultipleIds">deleteByMultipleIds</a><span class="src-sym">(</span><span class="src-var">$ids</span><span class="src-sym">, </span><span class="src-var">$fromPending </span>= <span class="src-id">true</span><span class="src-sym">, </span><span class="src-var">$fromCommitted </span>= <span class="src-id">true</span><span class="src-sym">, </span><span class="src-var">$timeout </span>= <span class="src-num">3600</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a700"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a701"></a> <span class="src-var">$service </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#method_selectWriteService">_selectWriteService</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a702"></a> </div></li> -<li><div class="src-line"><a name="a703"></a> do</div></li> -<li><div class="src-line"><a name="a704"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a705"></a> try</div></li> -<li><div class="src-line"><a name="a706"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a707"></a> <span class="src-key">return </span><span class="src-var">$service</span><span class="src-sym">-></span><span class="src-id">deleteByMultipleId</span><span class="src-sym">(</span><span class="src-var">$ids</span><span class="src-sym">, </span><span class="src-var">$fromPending</span><span class="src-sym">, </span><span class="src-var">$fromCommitted</span><span class="src-sym">, </span><span class="src-var">$timeout</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a708"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a709"></a> catch <span class="src-sym">(</span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_HttpTransportException.html">Apache_Solr_HttpTransportException</a> </span><span class="src-var">$e</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a710"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a711"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$e</span><span class="src-sym">-></span><span class="src-id">getCode</span><span class="src-sym">(</span><span class="src-sym">) </span>!= <span class="src-num">0</span><span class="src-sym">) </span><span class="src-comm">//IF NOT COMMUNICATION ERROR</span></div></li> -<li><div class="src-line"><a name="a712"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a713"></a> throw <span class="src-var">$e</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a714"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a715"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a716"></a> </div></li> -<li><div class="src-line"><a name="a717"></a> <span class="src-var">$service </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#method_selectWriteService">_selectWriteService</a><span class="src-sym">(</span><span class="src-id">true</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a718"></a> <span class="src-sym">} </span><span class="src-key">while </span><span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a719"></a> </div></li> -<li><div class="src-line"><a name="a720"></a> <span class="src-key">return </span><span class="src-id">false</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a721"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a722"></a> </div></li> -<li><div class="src-line"><a name="a723"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a724"></a><span class="src-doc"> * Create a delete document based on a query and submit it</span></div></li> -<li><div class="src-line"><a name="a725"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a726"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$rawQuery </span></div></li> -<li><div class="src-line"><a name="a727"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">boolean </span><span class="src-doc-var">$fromPending </span></div></li> -<li><div class="src-line"><a name="a728"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">boolean </span><span class="src-doc-var">$fromCommitted </span></div></li> -<li><div class="src-line"><a name="a729"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">float </span><span class="src-doc-var">$timeout </span><span class="src-doc">Maximum expected duration of the delete operation on the server (otherwise, will throw a communication exception)</span></div></li> -<li><div class="src-line"><a name="a730"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">Apache_Solr_Response </span></div></li> -<li><div class="src-line"><a name="a731"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a732"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@throws</span><span class="src-doc"> Apache_Solr_HttpTransportException If an error occurs during the service call</span></div></li> -<li><div class="src-line"><a name="a733"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a734"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#methoddeleteByQuery">deleteByQuery</a><span class="src-sym">(</span><span class="src-var">$rawQuery</span><span class="src-sym">, </span><span class="src-var">$fromPending </span>= <span class="src-id">true</span><span class="src-sym">, </span><span class="src-var">$fromCommitted </span>= <span class="src-id">true</span><span class="src-sym">, </span><span class="src-var">$timeout </span>= <span class="src-num">3600</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a735"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a736"></a> <span class="src-var">$service </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#method_selectWriteService">_selectWriteService</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a737"></a> </div></li> -<li><div class="src-line"><a name="a738"></a> do</div></li> -<li><div class="src-line"><a name="a739"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a740"></a> try</div></li> -<li><div class="src-line"><a name="a741"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a742"></a> <span class="src-key">return </span><span class="src-var">$service</span><span class="src-sym">-></span><span class="src-id">deleteByQuery</span><span class="src-sym">(</span><span class="src-var">$rawQuery</span><span class="src-sym">, </span><span class="src-var">$fromPending</span><span class="src-sym">, </span><span class="src-var">$fromCommitted</span><span class="src-sym">, </span><span class="src-var">$timeout</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a743"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a744"></a> catch <span class="src-sym">(</span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_HttpTransportException.html">Apache_Solr_HttpTransportException</a> </span><span class="src-var">$e</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a745"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a746"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$e</span><span class="src-sym">-></span><span class="src-id">getCode</span><span class="src-sym">(</span><span class="src-sym">) </span>!= <span class="src-num">0</span><span class="src-sym">) </span><span class="src-comm">//IF NOT COMMUNICATION ERROR</span></div></li> -<li><div class="src-line"><a name="a747"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a748"></a> throw <span class="src-var">$e</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a749"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a750"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a751"></a> </div></li> -<li><div class="src-line"><a name="a752"></a> <span class="src-var">$service </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#method_selectWriteService">_selectWriteService</a><span class="src-sym">(</span><span class="src-id">true</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a753"></a> <span class="src-sym">} </span><span class="src-key">while </span><span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a754"></a> </div></li> -<li><div class="src-line"><a name="a755"></a> <span class="src-key">return </span><span class="src-id">false</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a756"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a757"></a> </div></li> -<li><div class="src-line"><a name="a758"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a759"></a><span class="src-doc"> * Use Solr Cell to extract document contents. See </span><span class="src-doc-inlinetag">{@link http://wiki.apache.org/solr/ExtractingRequestHandler}</span><span class="src-doc"> for information on how</span></div></li> -<li><div class="src-line"><a name="a760"></a><span class="src-doc"> * to use Solr Cell and what parameters are available.</span></div></li> -<li><div class="src-line"><a name="a761"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a762"></a><span class="src-doc"> * NOTE: when passing an Apache_Solr_Document instance, field names and boosts will automatically be prepended by "literal." and "boost."</span></div></li> -<li><div class="src-line"><a name="a763"></a><span class="src-doc"> * as appropriate. Any keys from the $params array will NOT be treated this way. Any mappings from the document will overwrite key / value</span></div></li> -<li><div class="src-line"><a name="a764"></a><span class="src-doc"> * 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</span></div></li> -<li><div class="src-line"><a name="a765"></a><span class="src-doc"> * pass in a document isntance with an "id" field" - the document's value(s) will take precedence).</span></div></li> -<li><div class="src-line"><a name="a766"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a767"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$file </span><span class="src-doc">Path to file to extract data from</span></div></li> -<li><div class="src-line"><a name="a768"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">array </span><span class="src-doc-var">$params </span><span class="src-doc">optional array of key value pairs that will be sent with the post (see Solr Cell documentation)</span></div></li> -<li><div class="src-line"><a name="a769"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">Apache_Solr_Document </span><span class="src-doc-var">$document </span><span class="src-doc">optional document that will be used to generate post parameters (literal.* and boost.* params)</span></div></li> -<li><div class="src-line"><a name="a770"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$mimetype </span><span class="src-doc">optional mimetype specification (for the file being extracted)</span></div></li> -<li><div class="src-line"><a name="a771"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a772"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">Apache_Solr_Response </span></div></li> -<li><div class="src-line"><a name="a773"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a774"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@throws</span><span class="src-doc"> Apache_Solr_InvalidArgumentException if $file, $params, or $document are invalid.</span></div></li> -<li><div class="src-line"><a name="a775"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a776"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#methodextract">extract</a><span class="src-sym">(</span><span class="src-var">$file</span><span class="src-sym">, </span><span class="src-var">$params </span>= <span class="src-key">array</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">, </span><span class="src-var">$document </span>= <span class="src-id">null</span><span class="src-sym">, </span><span class="src-var">$mimetype </span>= <span class="src-str">'application/octet-stream'</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a777"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a778"></a> <span class="src-var">$service </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#method_selectWriteService">_selectWriteService</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a779"></a> </div></li> -<li><div class="src-line"><a name="a780"></a> do</div></li> -<li><div class="src-line"><a name="a781"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a782"></a> try</div></li> -<li><div class="src-line"><a name="a783"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a784"></a> <span class="src-key">return </span><span class="src-var">$service</span><span class="src-sym">-></span><span class="src-id">extract</span><span class="src-sym">(</span><span class="src-var">$file</span><span class="src-sym">, </span><span class="src-var">$params</span><span class="src-sym">, </span><span class="src-var">$document</span><span class="src-sym">, </span><span class="src-var">$mimetype</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a785"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a786"></a> catch <span class="src-sym">(</span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_HttpTransportException.html">Apache_Solr_HttpTransportException</a> </span><span class="src-var">$e</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a787"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a788"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$e</span><span class="src-sym">-></span><span class="src-id">getCode</span><span class="src-sym">(</span><span class="src-sym">) </span>!= <span class="src-num">0</span><span class="src-sym">) </span><span class="src-comm">//IF NOT COMMUNICATION ERROR</span></div></li> -<li><div class="src-line"><a name="a789"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a790"></a> throw <span class="src-var">$e</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a791"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a792"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a793"></a> </div></li> -<li><div class="src-line"><a name="a794"></a> <span class="src-var">$service </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#method_selectWriteService">_selectWriteService</a><span class="src-sym">(</span><span class="src-id">true</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a795"></a> <span class="src-sym">} </span><span class="src-key">while </span><span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a796"></a> </div></li> -<li><div class="src-line"><a name="a797"></a> <span class="src-key">return </span><span class="src-id">false</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a798"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a799"></a> </div></li> -<li><div class="src-line"><a name="a800"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a801"></a><span class="src-doc"> * Use Solr Cell to extract document contents. See </span><span class="src-doc-inlinetag">{@link http://wiki.apache.org/solr/ExtractingRequestHandler}</span><span class="src-doc"> for information on how</span></div></li> -<li><div class="src-line"><a name="a802"></a><span class="src-doc"> * to use Solr Cell and what parameters are available.</span></div></li> -<li><div class="src-line"><a name="a803"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a804"></a><span class="src-doc"> * NOTE: when passing an Apache_Solr_Document instance, field names and boosts will automatically be prepended by "literal." and "boost."</span></div></li> -<li><div class="src-line"><a name="a805"></a><span class="src-doc"> * as appropriate. Any keys from the $params array will NOT be treated this way. Any mappings from the document will overwrite key / value</span></div></li> -<li><div class="src-line"><a name="a806"></a><span class="src-doc"> * 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</span></div></li> -<li><div class="src-line"><a name="a807"></a><span class="src-doc"> * pass in a document isntance with an "id" field" - the document's value(s) will take precedence).</span></div></li> -<li><div class="src-line"><a name="a808"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a809"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$data </span><span class="src-doc">Data that will be passed to Solr Cell</span></div></li> -<li><div class="src-line"><a name="a810"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">array </span><span class="src-doc-var">$params </span><span class="src-doc">optional array of key value pairs that will be sent with the post (see Solr Cell documentation)</span></div></li> -<li><div class="src-line"><a name="a811"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">Apache_Solr_Document </span><span class="src-doc-var">$document </span><span class="src-doc">optional document that will be used to generate post parameters (literal.* and boost.* params)</span></div></li> -<li><div class="src-line"><a name="a812"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$mimetype </span><span class="src-doc">optional mimetype specification (for the file being extracted)</span></div></li> -<li><div class="src-line"><a name="a813"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a814"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">Apache_Solr_Response </span></div></li> -<li><div class="src-line"><a name="a815"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a816"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@throws</span><span class="src-doc"> Apache_Solr_InvalidArgumentException if $file, $params, or $document are invalid.</span></div></li> -<li><div class="src-line"><a name="a817"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a818"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@todo</span><span class="src-doc"> Should be using multipart/form-data to post parameter values, but I could not get my implementation to work. Needs revisisted.</span></div></li> -<li><div class="src-line"><a name="a819"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a820"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#methodextractFromString">extractFromString</a><span class="src-sym">(</span><span class="src-var">$data</span><span class="src-sym">, </span><span class="src-var">$params </span>= <span class="src-key">array</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">, </span><span class="src-var">$document </span>= <span class="src-id">null</span><span class="src-sym">, </span><span class="src-var">$mimetype </span>= <span class="src-str">'application/octet-stream'</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a821"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a822"></a> <span class="src-var">$service </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#method_selectWriteService">_selectWriteService</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a823"></a> </div></li> -<li><div class="src-line"><a name="a824"></a> do</div></li> -<li><div class="src-line"><a name="a825"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a826"></a> try</div></li> -<li><div class="src-line"><a name="a827"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a828"></a> <span class="src-key">return </span><span class="src-var">$service</span><span class="src-sym">-></span><span class="src-id">extractFromString</span><span class="src-sym">(</span><span class="src-var">$data</span><span class="src-sym">, </span><span class="src-var">$params</span><span class="src-sym">, </span><span class="src-var">$document</span><span class="src-sym">, </span><span class="src-var">$mimetype</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a829"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a830"></a> catch <span class="src-sym">(</span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_HttpTransportException.html">Apache_Solr_HttpTransportException</a> </span><span class="src-var">$e</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a831"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a832"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$e</span><span class="src-sym">-></span><span class="src-id">getCode</span><span class="src-sym">(</span><span class="src-sym">) </span>!= <span class="src-num">0</span><span class="src-sym">) </span><span class="src-comm">//IF NOT COMMUNICATION ERROR</span></div></li> -<li><div class="src-line"><a name="a833"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a834"></a> throw <span class="src-var">$e</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a835"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a836"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a837"></a> </div></li> -<li><div class="src-line"><a name="a838"></a> <span class="src-var">$service </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#method_selectWriteService">_selectWriteService</a><span class="src-sym">(</span><span class="src-id">true</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a839"></a> <span class="src-sym">} </span><span class="src-key">while </span><span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a840"></a> </div></li> -<li><div class="src-line"><a name="a841"></a> <span class="src-key">return </span><span class="src-id">false</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a842"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a843"></a> </div></li> -<li><div class="src-line"><a name="a844"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a845"></a><span class="src-doc"> * Send an optimize command. Will be synchronous unless both wait parameters are set</span></div></li> -<li><div class="src-line"><a name="a846"></a><span class="src-doc"> * to false.</span></div></li> -<li><div class="src-line"><a name="a847"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a848"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">boolean </span><span class="src-doc-var">$waitFlush </span></div></li> -<li><div class="src-line"><a name="a849"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">boolean </span><span class="src-doc-var">$waitSearcher </span></div></li> -<li><div class="src-line"><a name="a850"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">float </span><span class="src-doc-var">$timeout </span><span class="src-doc">Maximum expected duration of the optimize operation on the server (otherwise, will throw a communication exception)</span></div></li> -<li><div class="src-line"><a name="a851"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">Apache_Solr_Response </span></div></li> -<li><div class="src-line"><a name="a852"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a853"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@throws</span><span class="src-doc"> Apache_Solr_HttpTransportException If an error occurs during the service call</span></div></li> -<li><div class="src-line"><a name="a854"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a855"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#methodoptimize">optimize</a><span class="src-sym">(</span><span class="src-var">$waitFlush </span>= <span class="src-id">true</span><span class="src-sym">, </span><span class="src-var">$waitSearcher </span>= <span class="src-id">true</span><span class="src-sym">, </span><span class="src-var">$timeout </span>= <span class="src-num">3600</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a856"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a857"></a> <span class="src-var">$service </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#method_selectWriteService">_selectWriteService</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a858"></a> </div></li> -<li><div class="src-line"><a name="a859"></a> do</div></li> -<li><div class="src-line"><a name="a860"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a861"></a> try</div></li> -<li><div class="src-line"><a name="a862"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a863"></a> <span class="src-key">return </span><span class="src-var">$service</span><span class="src-sym">-></span><span class="src-id">optimize</span><span class="src-sym">(</span><span class="src-var">$waitFlush</span><span class="src-sym">, </span><span class="src-var">$waitSearcher</span><span class="src-sym">, </span><span class="src-var">$timeout</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a864"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a865"></a> catch <span class="src-sym">(</span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_HttpTransportException.html">Apache_Solr_HttpTransportException</a> </span><span class="src-var">$e</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a866"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a867"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$e</span><span class="src-sym">-></span><span class="src-id">getCode</span><span class="src-sym">(</span><span class="src-sym">) </span>!= <span class="src-num">0</span><span class="src-sym">) </span><span class="src-comm">//IF NOT COMMUNICATION ERROR</span></div></li> -<li><div class="src-line"><a name="a868"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a869"></a> throw <span class="src-var">$e</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a870"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a871"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a872"></a> </div></li> -<li><div class="src-line"><a name="a873"></a> <span class="src-var">$service </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#method_selectWriteService">_selectWriteService</a><span class="src-sym">(</span><span class="src-id">true</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a874"></a> <span class="src-sym">} </span><span class="src-key">while </span><span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a875"></a> </div></li> -<li><div class="src-line"><a name="a876"></a> <span class="src-key">return </span><span class="src-id">false</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a877"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a878"></a> </div></li> -<li><div class="src-line"><a name="a879"></a> <span class="src-doc">/**</span></div></li> -<li><div class="src-line"><a name="a880"></a><span class="src-doc"> * Simple Search interface</span></div></li> -<li><div class="src-line"><a name="a881"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a882"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$query </span><span class="src-doc">The raw query string</span></div></li> -<li><div class="src-line"><a name="a883"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">int </span><span class="src-doc-var">$offset </span><span class="src-doc">The starting offset for result documents</span></div></li> -<li><div class="src-line"><a name="a884"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">int </span><span class="src-doc-var">$limit </span><span class="src-doc">The maximum number of result documents to return</span></div></li> -<li><div class="src-line"><a name="a885"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">array </span><span class="src-doc-var">$params </span><span class="src-doc">key / value pairs for query parameters, use arrays for multivalued parameters</span></div></li> -<li><div class="src-line"><a name="a886"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@param </span><span class="src-doc-type">string </span><span class="src-doc-var">$method </span><span class="src-doc">The HTTP method (Apache_Solr_Service::METHOD_GET or Apache_Solr_Service::METHOD::POST)</span></div></li> -<li><div class="src-line"><a name="a887"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@return </span><span class="src-doc-type">Apache_Solr_Response </span></div></li> -<li><div class="src-line"><a name="a888"></a><span class="src-doc"> *</span></div></li> -<li><div class="src-line"><a name="a889"></a><span class="src-doc"> * </span><span class="src-doc-coretag">@throws</span><span class="src-doc"> Apache_Solr_HttpTransportException If an error occurs during the service call</span></div></li> -<li><div class="src-line"><a name="a890"></a><span class="src-doc"> */</span></div></li> -<li><div class="src-line"><a name="a891"></a> <span class="src-key">public </span><span class="src-key">function </span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#methodsearch">search</a><span class="src-sym">(</span><span class="src-var">$query</span><span class="src-sym">, </span><span class="src-var">$offset </span>= <span class="src-num">0</span><span class="src-sym">, </span><span class="src-var">$limit </span>= <span class="src-num">10</span><span class="src-sym">, </span><span class="src-var">$params </span>= <span class="src-key">array</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">, </span><span class="src-var">$method </span>= <span class="src-id">Apache_Solr_Service</span><span class="src-sym">::</span><span class="src-id">METHOD_GET</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a892"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a893"></a> <span class="src-var">$service </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#method_selectReadService">_selectReadService</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a894"></a> </div></li> -<li><div class="src-line"><a name="a895"></a> do</div></li> -<li><div class="src-line"><a name="a896"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a897"></a> try</div></li> -<li><div class="src-line"><a name="a898"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a899"></a> <span class="src-key">return </span><span class="src-var">$service</span><span class="src-sym">-></span><span class="src-id">search</span><span class="src-sym">(</span><span class="src-var">$query</span><span class="src-sym">, </span><span class="src-var">$offset</span><span class="src-sym">, </span><span class="src-var">$limit</span><span class="src-sym">, </span><span class="src-var">$params</span><span class="src-sym">, </span><span class="src-var">$method</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a900"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a901"></a> catch <span class="src-sym">(</span><span class="src-id"><a href="../Apache/Solr/Apache_Solr_HttpTransportException.html">Apache_Solr_HttpTransportException</a> </span><span class="src-var">$e</span><span class="src-sym">)</span></div></li> -<li><div class="src-line"><a name="a902"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a903"></a> <span class="src-key">if </span><span class="src-sym">(</span><span class="src-var">$e</span><span class="src-sym">-></span><span class="src-id">getCode</span><span class="src-sym">(</span><span class="src-sym">) </span>!= <span class="src-num">0</span><span class="src-sym">) </span><span class="src-comm">//IF NOT COMMUNICATION ERROR</span></div></li> -<li><div class="src-line"><a name="a904"></a> <span class="src-sym">{</span></div></li> -<li><div class="src-line"><a name="a905"></a> throw <span class="src-var">$e</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a906"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a907"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a908"></a> </div></li> -<li><div class="src-line"><a name="a909"></a> <span class="src-var">$service </span>= <span class="src-var">$this</span><span class="src-sym">-></span><a href="../Apache/Solr/Apache_Solr_Service_Balancer.html#method_selectReadService">_selectReadService</a><span class="src-sym">(</span><span class="src-id">true</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a910"></a> <span class="src-sym">} </span><span class="src-key">while </span><span class="src-sym">(</span><span class="src-var">$service</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a911"></a> </div></li> -<li><div class="src-line"><a name="a912"></a> <span class="src-key">return </span><span class="src-id">false</span><span class="src-sym">;</span></div></li> -<li><div class="src-line"><a name="a913"></a> <span class="src-sym">}</span></div></li> -<li><div class="src-line"><a name="a914"></a><span class="src-sym">}</span></div></li> -</ol></div> -</div> - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:10 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/blank.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/blank.html deleted file mode 100644 index 38517691083ef97f77fee80fcbbef325f9cc94e5..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/blank.html +++ /dev/null @@ -1,13 +0,0 @@ -<html> -<head> - <title>Generated Documentation</title> - <link rel="stylesheet" href="media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> -</head> -<body> -<div align="center"><h1>Generated Documentation</h1></div> -<b>Welcome to Apache!</b><br /> -<br /> -This documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor v1.4.3</a><br /> -</body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/classtrees_Apache.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/classtrees_Apache.html deleted file mode 100644 index e82831d9833b92236aa3eeaf1f6fc108d784af0a..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/classtrees_Apache.html +++ /dev/null @@ -1,56 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title></title> - <link rel="stylesheet" href="media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - -<!-- Start of Class Data --> -<H2> - -</H2> -<h2>Root interface Apache_Solr_HttpTransport_Interface</h2> -<ul> -<li><a href="Apache/Solr/Apache_Solr_HttpTransport_Interface.html">Apache_Solr_HttpTransport_Interface</a></li></ul> - -<h2>Root class Apache_Solr_Document</h2> -<ul> -<li><a href="Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a></li></ul> - -<h2>Root class Apache_Solr_HttpTransport_Abstract</h2> -<ul> -<li><a href="Apache/Solr/Apache_Solr_HttpTransport_Abstract.html">Apache_Solr_HttpTransport_Abstract</a> (implements <a href="Apache/Solr/Apache_Solr_HttpTransport_Interface.html">Apache_Solr_HttpTransport_Interface</a>)<ul> -<li><a href="Apache/Solr/Apache_Solr_HttpTransport_Curl.html">Apache_Solr_HttpTransport_Curl</a></li><li><a href="Apache/Solr/Apache_Solr_HttpTransport_CurlNoReuse.html">Apache_Solr_HttpTransport_CurlNoReuse</a></li><li><a href="Apache/Solr/Apache_Solr_HttpTransport_FileGetContents.html">Apache_Solr_HttpTransport_FileGetContents</a></li></ul></li> -</ul> - -<h2>Root class Apache_Solr_HttpTransport_Response</h2> -<ul> -<li><a href="Apache/Solr/Apache_Solr_HttpTransport_Response.html">Apache_Solr_HttpTransport_Response</a></li></ul> - -<h2>Root class Apache_Solr_Response</h2> -<ul> -<li><a href="Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a></li></ul> - -<h2>Root class Apache_Solr_Service</h2> -<ul> -<li><a href="Apache/Solr/Apache_Solr_Service.html">Apache_Solr_Service</a></li></ul> - -<h2>Root class Apache_Solr_Service_Balancer</h2> -<ul> -<li><a href="Apache/Solr/Apache_Solr_Service_Balancer.html">Apache_Solr_Service_Balancer</a></li></ul> - -<h2>Root class Exception</h2> -<ul> -<li><a href="Apache/Solr/Apache_Solr_Exception.html">Apache_Solr_Exception</a><ul> -<li><a href="Apache/Solr/Apache_Solr_HttpTransportException.html">Apache_Solr_HttpTransportException</a></li><li><a href="Apache/Solr/Apache_Solr_InvalidArgumentException.html">Apache_Solr_InvalidArgumentException</a></li><li><a href="Apache/Solr/Apache_Solr_NoServiceAvailableException.html">Apache_Solr_NoServiceAvailableException</a></li><li><a href="Apache/Solr/Apache_Solr_ParserException.html">Apache_Solr_ParserException</a></li></ul></li> -</ul> - - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:08 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/elementindex.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/elementindex.html deleted file mode 100644 index 78d0581a663f28c02c789df57e2bc1a5954d3635..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/elementindex.html +++ /dev/null @@ -1,1726 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title></title> - <link rel="stylesheet" href="media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <a name="top"></a> -<h2>Full index</h2> -<h3>Package indexes</h3> -<ul> - <li><a href="elementindex_Apache.html">Apache</a></li> -</ul> -<br /> -<div class="index-letter-menu"> - <a class="index-letter" href="elementindex.html#a">a</a> - <a class="index-letter" href="elementindex.html#b">b</a> - <a class="index-letter" href="elementindex.html#c">c</a> - <a class="index-letter" href="elementindex.html#d">d</a> - <a class="index-letter" href="elementindex.html#e">e</a> - <a class="index-letter" href="elementindex.html#f">f</a> - <a class="index-letter" href="elementindex.html#g">g</a> - <a class="index-letter" href="elementindex.html#h">h</a> - <a class="index-letter" href="elementindex.html#i">i</a> - <a class="index-letter" href="elementindex.html#m">m</a> - <a class="index-letter" href="elementindex.html#n">n</a> - <a class="index-letter" href="elementindex.html#o">o</a> - <a class="index-letter" href="elementindex.html#p">p</a> - <a class="index-letter" href="elementindex.html#r">r</a> - <a class="index-letter" href="elementindex.html#s">s</a> - <a class="index-letter" href="elementindex.html#t">t</a> - <a class="index-letter" href="elementindex.html#u">u</a> - <a class="index-letter" href="elementindex.html#_">_</a> -</div> - - <a name="a"></a> - <div class="index-letter-section"> - <div style="float: left" class="index-letter-title">a</div> - <div style="float: right"><a href="#top">top</a></div> - <div style="clear: both"></div> - </div> - <dl> - <dt class="field"> - <span class="method-title">add</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodadd">Apache_Solr_Service::add()</a> in Service.php</div> - <div class="index-item-description">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.</div> - </dd> - <dt class="field"> - <span class="method-title">add</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodadd">Apache_Solr_Service_Balancer::add()</a> in Balancer.php</div> - <div class="index-item-description">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.</div> - </dd> - <dt class="field"> - <span class="method-title">addDocument</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodaddDocument">Apache_Solr_Service_Balancer::addDocument()</a> in Balancer.php</div> - <div class="index-item-description">Add a Solr Document to the index</div> - </dd> - <dt class="field"> - <span class="method-title">addDocument</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodaddDocument">Apache_Solr_Service::addDocument()</a> in Service.php</div> - <div class="index-item-description">Add a Solr Document to the index</div> - </dd> - <dt class="field"> - <span class="method-title">addDocuments</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodaddDocuments">Apache_Solr_Service_Balancer::addDocuments()</a> in Balancer.php</div> - <div class="index-item-description">Add an array of Solr Documents to the index all at once</div> - </dd> - <dt class="field"> - <span class="method-title">addDocuments</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodaddDocuments">Apache_Solr_Service::addDocuments()</a> in Service.php</div> - <div class="index-item-description">Add an array of Solr Documents to the index all at once</div> - </dd> - <dt class="field"> - <span class="method-title">addField</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#methodaddField">Apache_Solr_Document::addField()</a> in Document.php</div> - <div class="index-item-description">Add a value to a multi-valued field</div> - </dd> - <dt class="field"> - <span class="method-title">addReadService</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodaddReadService">Apache_Solr_Service_Balancer::addReadService()</a> in Balancer.php</div> - <div class="index-item-description">Adds a service instance or service descriptor (if it is already not added)</div> - </dd> - <dt class="field"> - <span class="method-title">addWriteService</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodaddWriteService">Apache_Solr_Service_Balancer::addWriteService()</a> in Balancer.php</div> - <div class="index-item-description">Adds a service instance or service descriptor (if it is already not added)</div> - </dd> - <dt class="field"> - Apache_Solr_Document - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a> in Document.php</div> - <div class="index-item-description">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:</div> - </dd> - <dt class="field"> - Apache_Solr_Exception - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Exception.html">Apache_Solr_Exception</a> in Exception.php</div> - <div class="index-item-description">Copyright (c) 2007-2011, Servigistics, Inc.</div> - </dd> - <dt class="field"> - Apache_Solr_HttpTransportException - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransportException.html">Apache_Solr_HttpTransportException</a> in HttpTransportException.php</div> - <div class="index-item-description">Copyright (c) 2007-2011, Servigistics, Inc.</div> - </dd> - <dt class="field"> - Apache_Solr_HttpTransport_Abstract - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Abstract.html">Apache_Solr_HttpTransport_Abstract</a> in Abstract.php</div> - <div class="index-item-description">Convenience class that implements the transport implementation. Can be extended by</div> - </dd> - <dt class="field"> - Apache_Solr_HttpTransport_Curl - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Curl.html">Apache_Solr_HttpTransport_Curl</a> in Curl.php</div> - <div class="index-item-description">A Curl based HTTP transport. Uses a single curl session for all requests.</div> - </dd> - <dt class="field"> - Apache_Solr_HttpTransport_CurlNoReuse - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_CurlNoReuse.html">Apache_Solr_HttpTransport_CurlNoReuse</a> in CurlNoReuse.php</div> - <div class="index-item-description">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.</div> - </dd> - <dt class="field"> - Apache_Solr_HttpTransport_FileGetContents - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_FileGetContents.html">Apache_Solr_HttpTransport_FileGetContents</a> in FileGetContents.php</div> - <div class="index-item-description">HTTP Transport implemenation that uses the builtin http URL wrappers and file_get_contents</div> - </dd> - <dt class="field"> - Apache_Solr_HttpTransport_Interface - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Interface.html">Apache_Solr_HttpTransport_Interface</a> in Interface.php</div> - <div class="index-item-description">Interface that all Transport (HTTP Requester) implementations must implement. These</div> - </dd> - <dt class="field"> - Apache_Solr_HttpTransport_Response - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Response.html">Apache_Solr_HttpTransport_Response</a> in Response.php</div> - <div class="index-item-description">Represents the required pieces of an HTTP response provided by HTTP transport</div> - </dd> - <dt class="field"> - Apache_Solr_InvalidArgumentException - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_InvalidArgumentException.html">Apache_Solr_InvalidArgumentException</a> in InvalidArgumentException.php</div> - <div class="index-item-description">Copyright (c) 2007-2011, Servigistics, Inc.</div> - </dd> - <dt class="field"> - Apache_Solr_NoServiceAvailableException - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_NoServiceAvailableException.html">Apache_Solr_NoServiceAvailableException</a> in NoServiceAvailableException.php</div> - <div class="index-item-description">Copyright (c) 2007-2011, Servigistics, Inc.</div> - </dd> - <dt class="field"> - Apache_Solr_ParserException - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_ParserException.html">Apache_Solr_ParserException</a> in ParserException.php</div> - <div class="index-item-description">Copyright (c) 2007-2011, Servigistics, Inc.</div> - </dd> - <dt class="field"> - Apache_Solr_Response - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a> in Response.php</div> - <div class="index-item-description">Represents a Solr response. Parses the raw response into a set of stdClass objects and associative arrays for easy access.</div> - </dd> - <dt class="field"> - Apache_Solr_Service - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html">Apache_Solr_Service</a> in Service.php</div> - <div class="index-item-description">Starting point for the Solr API. Represents a Solr server resource and has methods for pinging, adding, deleting, committing, optimizing and searching.</div> - </dd> - <dt class="field"> - Apache_Solr_Service_Balancer - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html">Apache_Solr_Service_Balancer</a> in Balancer.php</div> - <div class="index-item-description">Reference Implementation for using multiple Solr services in a distribution. Functionality</div> - </dd> - <dt class="field"> - <span class="include-title">Abstract.php</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/_HttpTransport---Abstract.php.html">Abstract.php</a> in Abstract.php</div> - </dd> - </dl> - <a name="b"></a> - <div class="index-letter-section"> - <div style="float: left" class="index-letter-title">b</div> - <div style="float: right"><a href="#top">top</a></div> - <div style="clear: both"></div> - </div> - <dl> - <dt class="field"> - <span class="include-title">Balancer.php</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/_Service---Balancer.php.html">Balancer.php</a> in Balancer.php</div> - </dd> - </dl> - <a name="c"></a> - <div class="index-letter-section"> - <div style="float: left" class="index-letter-title">c</div> - <div style="float: right"><a href="#top">top</a></div> - <div style="clear: both"></div> - </div> - <dl> - <dt class="field"> - <span class="method-title">clear</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#methodclear">Apache_Solr_Document::clear()</a> in Document.php</div> - <div class="index-item-description">Clear all boosts and fields from this document</div> - </dd> - <dt class="field"> - <span class="method-title">commit</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodcommit">Apache_Solr_Service_Balancer::commit()</a> in Balancer.php</div> - <div class="index-item-description">Send a commit command. Will be synchronous unless both wait parameters are set to false.</div> - </dd> - <dt class="field"> - <span class="method-title">commit</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodcommit">Apache_Solr_Service::commit()</a> in Service.php</div> - <div class="index-item-description">Send a commit command. Will be synchronous unless both wait parameters are set to false.</div> - </dd> - <dt class="field"> - <span class="include-title">Curl.php</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/_HttpTransport---Curl.php.html">Curl.php</a> in Curl.php</div> - </dd> - <dt class="field"> - <span class="include-title">CurlNoReuse.php</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/_HttpTransport---CurlNoReuse.php.html">CurlNoReuse.php</a> in CurlNoReuse.php</div> - </dd> - </dl> - <a name="d"></a> - <div class="index-letter-section"> - <div style="float: left" class="index-letter-title">d</div> - <div style="float: right"><a href="#top">top</a></div> - <div style="clear: both"></div> - </div> - <dl> - <dt class="field"> - <span class="method-title">delete</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methoddelete">Apache_Solr_Service_Balancer::delete()</a> in Balancer.php</div> - <div class="index-item-description">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</div> - </dd> - <dt class="field"> - <span class="method-title">delete</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methoddelete">Apache_Solr_Service::delete()</a> in Service.php</div> - <div class="index-item-description">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</div> - </dd> - <dt class="field"> - <span class="method-title">deleteById</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methoddeleteById">Apache_Solr_Service_Balancer::deleteById()</a> in Balancer.php</div> - <div class="index-item-description">Create a delete document based on document ID</div> - </dd> - <dt class="field"> - <span class="method-title">deleteById</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methoddeleteById">Apache_Solr_Service::deleteById()</a> in Service.php</div> - <div class="index-item-description">Create a delete document based on document ID</div> - </dd> - <dt class="field"> - <span class="method-title">deleteByMultipleIds</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methoddeleteByMultipleIds">Apache_Solr_Service_Balancer::deleteByMultipleIds()</a> in Balancer.php</div> - <div class="index-item-description">Create and post a delete document based on multiple document IDs.</div> - </dd> - <dt class="field"> - <span class="method-title">deleteByMultipleIds</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methoddeleteByMultipleIds">Apache_Solr_Service::deleteByMultipleIds()</a> in Service.php</div> - <div class="index-item-description">Create and post a delete document based on multiple document IDs.</div> - </dd> - <dt class="field"> - <span class="method-title">deleteByQuery</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methoddeleteByQuery">Apache_Solr_Service_Balancer::deleteByQuery()</a> in Balancer.php</div> - <div class="index-item-description">Create a delete document based on a query and submit it</div> - </dd> - <dt class="field"> - <span class="method-title">deleteByQuery</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methoddeleteByQuery">Apache_Solr_Service::deleteByQuery()</a> in Service.php</div> - <div class="index-item-description">Create a delete document based on a query and submit it</div> - </dd> - <dt class="field"> - <span class="include-title">Document.php</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/_Document.php.html">Document.php</a> in Document.php</div> - </dd> - </dl> - <a name="e"></a> - <div class="index-letter-section"> - <div style="float: left" class="index-letter-title">e</div> - <div style="float: right"><a href="#top">top</a></div> - <div style="clear: both"></div> - </div> - <dl> - <dt class="field"> - <span class="method-title">escape</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodescape">Apache_Solr_Service_Balancer::escape()</a> in Balancer.php</div> - <div class="index-item-description">Escape a value for special query characters such as ':', '(', ')', '*', '?', etc.</div> - </dd> - <dt class="field"> - <span class="method-title">escape</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodescape">Apache_Solr_Service::escape()</a> in Service.php</div> - <div class="index-item-description">Escape a value for special query characters such as ':', '(', ')', '*', '?', etc.</div> - </dd> - <dt class="field"> - <span class="method-title">escapePhrase</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodescapePhrase">Apache_Solr_Service_Balancer::escapePhrase()</a> in Balancer.php</div> - <div class="index-item-description">Escape a value meant to be contained in a phrase for special query characters</div> - </dd> - <dt class="field"> - <span class="method-title">escapePhrase</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodescapePhrase">Apache_Solr_Service::escapePhrase()</a> in Service.php</div> - <div class="index-item-description">Escape a value meant to be contained in a phrase for special query characters</div> - </dd> - <dt class="field"> - <span class="include-title">Exception.php</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/_Exception.php.html">Exception.php</a> in Exception.php</div> - </dd> - <dt class="field"> - <span class="method-title">extract</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodextract">Apache_Solr_Service_Balancer::extract()</a> in Balancer.php</div> - <div class="index-item-description">Use Solr Cell to extract document contents. See <a href="http://wiki.apache.org/solr/ExtractingRequestHandler">http://wiki.apache.org/solr/ExtractingRequestHandler</a> for information on how to use Solr Cell and what parameters are available.</div> - </dd> - <dt class="field"> - <span class="method-title">extract</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodextract">Apache_Solr_Service::extract()</a> in Service.php</div> - <div class="index-item-description">Use Solr Cell to extract document contents. See <a href="http://wiki.apache.org/solr/ExtractingRequestHandler">http://wiki.apache.org/solr/ExtractingRequestHandler</a> for information on how to use Solr Cell and what parameters are available.</div> - </dd> - <dt class="field"> - <span class="method-title">extractFromString</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodextractFromString">Apache_Solr_Service_Balancer::extractFromString()</a> in Balancer.php</div> - <div class="index-item-description">Use Solr Cell to extract document contents. See <a href="http://wiki.apache.org/solr/ExtractingRequestHandler">http://wiki.apache.org/solr/ExtractingRequestHandler</a> for information on how to use Solr Cell and what parameters are available.</div> - </dd> - <dt class="field"> - <span class="method-title">extractFromString</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodextractFromString">Apache_Solr_Service::extractFromString()</a> in Service.php</div> - <div class="index-item-description">Use Solr Cell to extract document contents. See <a href="http://wiki.apache.org/solr/ExtractingRequestHandler">http://wiki.apache.org/solr/ExtractingRequestHandler</a> for information on how to use Solr Cell and what parameters are available.</div> - </dd> - <dt class="field"> - <span class="method-title">extractFromUrl</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodextractFromUrl">Apache_Solr_Service::extractFromUrl()</a> in Service.php</div> - <div class="index-item-description">Use Solr Cell to extract document contents. See <a href="http://wiki.apache.org/solr/ExtractingRequestHandler">http://wiki.apache.org/solr/ExtractingRequestHandler</a> for information on how to use Solr Cell and what parameters are available.</div> - </dd> - <dt class="field"> - EXTRACT_SERVLET - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#constEXTRACT_SERVLET">Apache_Solr_Service::EXTRACT_SERVLET</a> in Service.php</div> - </dd> - </dl> - <a name="f"></a> - <div class="index-letter-section"> - <div style="float: left" class="index-letter-title">f</div> - <div style="float: right"><a href="#top">top</a></div> - <div style="clear: both"></div> - </div> - <dl> - <dt class="field"> - <span class="include-title">FileGetContents.php</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/_HttpTransport---FileGetContents.php.html">FileGetContents.php</a> in FileGetContents.php</div> - </dd> - </dl> - <a name="g"></a> - <div class="index-letter-section"> - <div style="float: left" class="index-letter-title">g</div> - <div style="float: right"><a href="#top">top</a></div> - <div style="clear: both"></div> - </div> - <dl> - <dt class="field"> - <span class="method-title">getBody</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Response.html#methodgetBody">Apache_Solr_HttpTransport_Response::getBody()</a> in Response.php</div> - <div class="index-item-description">Get the raw response body</div> - </dd> - <dt class="field"> - <span class="method-title">getBoost</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#methodgetBoost">Apache_Solr_Document::getBoost()</a> in Document.php</div> - <div class="index-item-description">Get current document boost</div> - </dd> - <dt class="field"> - <span class="method-title">getCollapseSingleValueArrays</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodgetCollapseSingleValueArrays">Apache_Solr_Service::getCollapseSingleValueArrays()</a> in Service.php</div> - <div class="index-item-description">Get the current state of the collapse single value arrays flag.</div> - </dd> - <dt class="field"> - <span class="method-title">getCreateDocuments</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodgetCreateDocuments">Apache_Solr_Service_Balancer::getCreateDocuments()</a> in Balancer.php</div> - <div class="index-item-description">Get the current state of teh create documents flag.</div> - </dd> - <dt class="field"> - <span class="method-title">getCreateDocuments</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodgetCreateDocuments">Apache_Solr_Service::getCreateDocuments()</a> in Service.php</div> - <div class="index-item-description">Get the current state of teh create documents flag.</div> - </dd> - <dt class="field"> - <span class="method-title">getDefaultStatusMessage</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Response.html#methodgetDefaultStatusMessage">Apache_Solr_HttpTransport_Response::getDefaultStatusMessage()</a> in Response.php</div> - <div class="index-item-description">Get the HTTP status message based on status code</div> - </dd> - <dt class="field"> - <span class="method-title">getDefaultTimeout</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Abstract.html#methodgetDefaultTimeout">Apache_Solr_HttpTransport_Abstract::getDefaultTimeout()</a> in Abstract.php</div> - <div class="index-item-description">Get the current default timeout setting (initially the default_socket_timeout ini setting) in seconds</div> - </dd> - <dt class="field"> - <span class="method-title">getDefaultTimeout</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Interface.html#methodgetDefaultTimeout">Apache_Solr_HttpTransport_Interface::getDefaultTimeout()</a> in Interface.php</div> - <div class="index-item-description">Get the current default timeout for all HTTP requests</div> - </dd> - <dt class="field"> - <span class="method-title">getDefaultTimeout</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodgetDefaultTimeout">Apache_Solr_Service::getDefaultTimeout()</a> in Service.php</div> - <div class="index-item-description">Get the current default timeout setting (initially the default_socket_timeout ini setting) in seconds</div> - </dd> - <dt class="field"> - <span class="method-title">getEncoding</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Response.html#methodgetEncoding">Apache_Solr_HttpTransport_Response::getEncoding()</a> in Response.php</div> - <div class="index-item-description">Get the charset encoding of the response body.</div> - </dd> - <dt class="field"> - <span class="method-title">getEncoding</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Response.html#methodgetEncoding">Apache_Solr_Response::getEncoding()</a> in Response.php</div> - <div class="index-item-description">Get character encoding of this response. Should usually be utf-8, but just in case</div> - </dd> - <dt class="field"> - <span class="method-title">getField</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#methodgetField">Apache_Solr_Document::getField()</a> in Document.php</div> - <div class="index-item-description">Get field information</div> - </dd> - <dt class="field"> - <span class="method-title">getFieldBoost</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#methodgetFieldBoost">Apache_Solr_Document::getFieldBoost()</a> in Document.php</div> - <div class="index-item-description">Get the currently set field boost for a document field</div> - </dd> - <dt class="field"> - <span class="method-title">getFieldBoosts</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#methodgetFieldBoosts">Apache_Solr_Document::getFieldBoosts()</a> in Document.php</div> - <div class="index-item-description">Return current field boosts, indexed by field name</div> - </dd> - <dt class="field"> - <span class="method-title">getFieldNames</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#methodgetFieldNames">Apache_Solr_Document::getFieldNames()</a> in Document.php</div> - <div class="index-item-description">Get the names of all fields in this document</div> - </dd> - <dt class="field"> - <span class="method-title">getFieldValues</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#methodgetFieldValues">Apache_Solr_Document::getFieldValues()</a> in Document.php</div> - <div class="index-item-description">Get the values of all fields in this document</div> - </dd> - <dt class="field"> - <span class="method-title">getHost</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodgetHost">Apache_Solr_Service::getHost()</a> in Service.php</div> - <div class="index-item-description">Returns the set host</div> - </dd> - <dt class="field"> - <span class="method-title">getHttpStatus</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Response.html#methodgetHttpStatus">Apache_Solr_Response::getHttpStatus()</a> in Response.php</div> - <div class="index-item-description">Get the HTTP status code</div> - </dd> - <dt class="field"> - <span class="method-title">getHttpStatusMessage</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Response.html#methodgetHttpStatusMessage">Apache_Solr_Response::getHttpStatusMessage()</a> in Response.php</div> - <div class="index-item-description">Get the HTTP status message of the response</div> - </dd> - <dt class="field"> - <span class="method-title">getHttpTransport</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodgetHttpTransport">Apache_Solr_Service::getHttpTransport()</a> in Service.php</div> - <div class="index-item-description">Get the current configured HTTP Transport</div> - </dd> - <dt class="field"> - <span class="method-title">getIterator</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#methodgetIterator">Apache_Solr_Document::getIterator()</a> in Document.php</div> - <div class="index-item-description">IteratorAggregate implementation function. Allows usage:</div> - </dd> - <dt class="field"> - <span class="method-title">getMimeType</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Response.html#methodgetMimeType">Apache_Solr_HttpTransport_Response::getMimeType()</a> in Response.php</div> - <div class="index-item-description">Get the mimetype of the response body</div> - </dd> - <dt class="field"> - <span class="method-title">getNamedListTreatment</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodgetNamedListTreatment">Apache_Solr_Service::getNamedListTreatment()</a> in Service.php</div> - <div class="index-item-description">Get the current setting for named list treatment.</div> - </dd> - <dt class="field"> - <span class="method-title">getPath</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodgetPath">Apache_Solr_Service::getPath()</a> in Service.php</div> - <div class="index-item-description">Get the set path.</div> - </dd> - <dt class="field"> - <span class="method-title">getPort</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodgetPort">Apache_Solr_Service::getPort()</a> in Service.php</div> - <div class="index-item-description">Get the set port</div> - </dd> - <dt class="field"> - <span class="method-title">getRawResponse</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Response.html#methodgetRawResponse">Apache_Solr_Response::getRawResponse()</a> in Response.php</div> - <div class="index-item-description">Get the raw response as it was given to this object</div> - </dd> - <dt class="field"> - <span class="method-title">getResponse</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransportException.html#methodgetResponse">Apache_Solr_HttpTransportException::getResponse()</a> in HttpTransportException.php</div> - <div class="index-item-description">Get the response for which this exception was generated</div> - </dd> - <dt class="field"> - <span class="method-title">getStatusCode</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Response.html#methodgetStatusCode">Apache_Solr_HttpTransport_Response::getStatusCode()</a> in Response.php</div> - <div class="index-item-description">Get the status code of the response</div> - </dd> - <dt class="field"> - <span class="method-title">getStatusMessage</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Response.html#methodgetStatusMessage">Apache_Solr_HttpTransport_Response::getStatusMessage()</a> in Response.php</div> - <div class="index-item-description">Get the status message of the response</div> - </dd> - <dt class="field"> - <span class="method-title">getType</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Response.html#methodgetType">Apache_Solr_Response::getType()</a> in Response.php</div> - <div class="index-item-description">Get content type of this Solr response</div> - </dd> - </dl> - <a name="h"></a> - <div class="index-letter-section"> - <div style="float: left" class="index-letter-title">h</div> - <div style="float: right"><a href="#top">top</a></div> - <div style="clear: both"></div> - </div> - <dl> - <dt class="field"> - <span class="include-title">HttpTransportException.php</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/_HttpTransportException.php.html">HttpTransportException.php</a> in HttpTransportException.php</div> - </dd> - </dl> - <a name="i"></a> - <div class="index-letter-section"> - <div style="float: left" class="index-letter-title">i</div> - <div style="float: right"><a href="#top">top</a></div> - <div style="clear: both"></div> - </div> - <dl> - <dt class="field"> - <span class="include-title">Interface.php</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/_HttpTransport---Interface.php.html">Interface.php</a> in Interface.php</div> - </dd> - <dt class="field"> - <span class="include-title">InvalidArgumentException.php</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/_InvalidArgumentException.php.html">InvalidArgumentException.php</a> in InvalidArgumentException.php</div> - </dd> - </dl> - <a name="m"></a> - <div class="index-letter-section"> - <div style="float: left" class="index-letter-title">m</div> - <div style="float: right"><a href="#top">top</a></div> - <div style="clear: both"></div> - </div> - <dl> - <dt class="field"> - METHOD_GET - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#constMETHOD_GET">Apache_Solr_Service::METHOD_GET</a> in Service.php</div> - <div class="index-item-description">Search HTTP Methods</div> - </dd> - <dt class="field"> - METHOD_POST - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#constMETHOD_POST">Apache_Solr_Service::METHOD_POST</a> in Service.php</div> - </dd> - </dl> - <a name="n"></a> - <div class="index-letter-section"> - <div style="float: left" class="index-letter-title">n</div> - <div style="float: right"><a href="#top">top</a></div> - <div style="clear: both"></div> - </div> - <dl> - <dt class="field"> - NAMED_LIST_FLAT - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#constNAMED_LIST_FLAT">Apache_Solr_Service::NAMED_LIST_FLAT</a> in Service.php</div> - <div class="index-item-description">NamedList Treatment constants</div> - </dd> - <dt class="field"> - NAMED_LIST_MAP - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#constNAMED_LIST_MAP">Apache_Solr_Service::NAMED_LIST_MAP</a> in Service.php</div> - </dd> - <dt class="field"> - <span class="include-title">NoServiceAvailableException.php</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/_NoServiceAvailableException.php.html">NoServiceAvailableException.php</a> in NoServiceAvailableException.php</div> - </dd> - </dl> - <a name="o"></a> - <div class="index-letter-section"> - <div style="float: left" class="index-letter-title">o</div> - <div style="float: right"><a href="#top">top</a></div> - <div style="clear: both"></div> - </div> - <dl> - <dt class="field"> - <span class="method-title">optimize</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodoptimize">Apache_Solr_Service::optimize()</a> in Service.php</div> - <div class="index-item-description">Send an optimize command. Will be synchronous unless both wait parameters are set to false.</div> - </dd> - <dt class="field"> - <span class="method-title">optimize</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodoptimize">Apache_Solr_Service_Balancer::optimize()</a> in Balancer.php</div> - <div class="index-item-description">Send an optimize command. Will be synchronous unless both wait parameters are set to false.</div> - </dd> - </dl> - <a name="p"></a> - <div class="index-letter-section"> - <div style="float: left" class="index-letter-title">p</div> - <div style="float: right"><a href="#top">top</a></div> - <div style="clear: both"></div> - </div> - <dl> - <dt class="field"> - <span class="include-title">ParserException.php</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/_ParserException.php.html">ParserException.php</a> in ParserException.php</div> - </dd> - <dt class="field"> - <span class="method-title">performGetRequest</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_CurlNoReuse.html#methodperformGetRequest">Apache_Solr_HttpTransport_CurlNoReuse::performGetRequest()</a> in CurlNoReuse.php</div> - </dd> - <dt class="field"> - <span class="method-title">performGetRequest</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Curl.html#methodperformGetRequest">Apache_Solr_HttpTransport_Curl::performGetRequest()</a> in Curl.php</div> - </dd> - <dt class="field"> - <span class="method-title">performGetRequest</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_FileGetContents.html#methodperformGetRequest">Apache_Solr_HttpTransport_FileGetContents::performGetRequest()</a> in FileGetContents.php</div> - </dd> - <dt class="field"> - <span class="method-title">performGetRequest</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Interface.html#methodperformGetRequest">Apache_Solr_HttpTransport_Interface::performGetRequest()</a> in Interface.php</div> - <div class="index-item-description">Perform a GET HTTP operation with an optional timeout and return the response contents, use getLastResponseHeaders to retrieve HTTP headers</div> - </dd> - <dt class="field"> - <span class="method-title">performHeadRequest</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Interface.html#methodperformHeadRequest">Apache_Solr_HttpTransport_Interface::performHeadRequest()</a> in Interface.php</div> - <div class="index-item-description">Perform a HEAD HTTP operation with an optional timeout and return the response headers - NOTE: head requests have no response body</div> - </dd> - <dt class="field"> - <span class="method-title">performHeadRequest</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_FileGetContents.html#methodperformHeadRequest">Apache_Solr_HttpTransport_FileGetContents::performHeadRequest()</a> in FileGetContents.php</div> - </dd> - <dt class="field"> - <span class="method-title">performHeadRequest</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_CurlNoReuse.html#methodperformHeadRequest">Apache_Solr_HttpTransport_CurlNoReuse::performHeadRequest()</a> in CurlNoReuse.php</div> - </dd> - <dt class="field"> - <span class="method-title">performHeadRequest</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Curl.html#methodperformHeadRequest">Apache_Solr_HttpTransport_Curl::performHeadRequest()</a> in Curl.php</div> - </dd> - <dt class="field"> - <span class="method-title">performPostRequest</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_CurlNoReuse.html#methodperformPostRequest">Apache_Solr_HttpTransport_CurlNoReuse::performPostRequest()</a> in CurlNoReuse.php</div> - </dd> - <dt class="field"> - <span class="method-title">performPostRequest</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Interface.html#methodperformPostRequest">Apache_Solr_HttpTransport_Interface::performPostRequest()</a> in Interface.php</div> - <div class="index-item-description">Perform a POST HTTP operation with an optional timeout and return the response contents, use getLastResponseHeaders to retrieve HTTP headers</div> - </dd> - <dt class="field"> - <span class="method-title">performPostRequest</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Curl.html#methodperformPostRequest">Apache_Solr_HttpTransport_Curl::performPostRequest()</a> in Curl.php</div> - </dd> - <dt class="field"> - <span class="method-title">performPostRequest</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_FileGetContents.html#methodperformPostRequest">Apache_Solr_HttpTransport_FileGetContents::performPostRequest()</a> in FileGetContents.php</div> - </dd> - <dt class="field"> - <span class="method-title">phrase</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodphrase">Apache_Solr_Service::phrase()</a> in Service.php</div> - <div class="index-item-description">Convenience function for creating phrase syntax from a value</div> - </dd> - <dt class="field"> - <span class="method-title">phrase</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodphrase">Apache_Solr_Service_Balancer::phrase()</a> in Balancer.php</div> - <div class="index-item-description">Convenience function for creating phrase syntax from a value</div> - </dd> - <dt class="field"> - <span class="method-title">ping</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodping">Apache_Solr_Service::ping()</a> in Service.php</div> - <div class="index-item-description">Call the /admin/ping servlet, can be used to quickly tell if a connection to the server is able to be made.</div> - </dd> - <dt class="field"> - PING_SERVLET - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#constPING_SERVLET">Apache_Solr_Service::PING_SERVLET</a> in Service.php</div> - <div class="index-item-description">Servlet mappings</div> - </dd> - </dl> - <a name="r"></a> - <div class="index-letter-section"> - <div style="float: left" class="index-letter-title">r</div> - <div style="float: right"><a href="#top">top</a></div> - <div style="clear: both"></div> - </div> - <dl> - <dt class="field"> - <span class="include-title">Response.php</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/_HttpTransport---Response.php.html">Response.php</a> in Response.php</div> - </dd> - <dt class="field"> - <span class="method-title">removeReadService</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodremoveReadService">Apache_Solr_Service_Balancer::removeReadService()</a> in Balancer.php</div> - <div class="index-item-description">Removes a service instance or descriptor from the available services</div> - </dd> - <dt class="field"> - <span class="method-title">removeWriteService</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodremoveWriteService">Apache_Solr_Service_Balancer::removeWriteService()</a> in Balancer.php</div> - <div class="index-item-description">Removes a service instance or descriptor from the available services</div> - </dd> - <dt class="field"> - <span class="include-title">Response.php</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/_Response.php.html">Response.php</a> in Response.php</div> - </dd> - </dl> - <a name="s"></a> - <div class="index-letter-section"> - <div style="float: left" class="index-letter-title">s</div> - <div style="float: right"><a href="#top">top</a></div> - <div style="clear: both"></div> - </div> - <dl> - <dt class="field"> - <span class="method-title">search</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodsearch">Apache_Solr_Service::search()</a> in Service.php</div> - <div class="index-item-description">Simple Search interface</div> - </dd> - <dt class="field"> - <span class="method-title">search</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodsearch">Apache_Solr_Service_Balancer::search()</a> in Balancer.php</div> - <div class="index-item-description">Simple Search interface</div> - </dd> - <dt class="field"> - SEARCH_SERVLET - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#constSEARCH_SERVLET">Apache_Solr_Service::SEARCH_SERVLET</a> in Service.php</div> - </dd> - <dt class="field"> - <span class="include-title">Service.php</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/_Service.php.html">Service.php</a> in Service.php</div> - </dd> - <dt class="field"> - <span class="method-title">setBoost</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#methodsetBoost">Apache_Solr_Document::setBoost()</a> in Document.php</div> - <div class="index-item-description">Set document boost factor</div> - </dd> - <dt class="field"> - <span class="method-title">setCollapseSingleValueArrays</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodsetCollapseSingleValueArrays">Apache_Solr_Service::setCollapseSingleValueArrays()</a> in Service.php</div> - <div class="index-item-description">Set the collapse single value arrays flag.</div> - </dd> - <dt class="field"> - <span class="method-title">setCreateDocuments</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodsetCreateDocuments">Apache_Solr_Service::setCreateDocuments()</a> in Service.php</div> - <div class="index-item-description">Set the create documents flag. This determines whether <a href="Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a> objects will parse the response and create <a href="Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a> instances in place.</div> - </dd> - <dt class="field"> - <span class="method-title">setCreateDocuments</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodsetCreateDocuments">Apache_Solr_Service_Balancer::setCreateDocuments()</a> in Balancer.php</div> - <div class="index-item-description">Set the create documents flag. This determines whether <a href="Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a> objects will parse the response and create <a href="Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a> instances in place.</div> - </dd> - <dt class="field"> - <span class="method-title">setDefaultTimeout</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Abstract.html#methodsetDefaultTimeout">Apache_Solr_HttpTransport_Abstract::setDefaultTimeout()</a> in Abstract.php</div> - <div class="index-item-description">Set the current default timeout for all HTTP requests</div> - </dd> - <dt class="field"> - <span class="method-title">setDefaultTimeout</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodsetDefaultTimeout">Apache_Solr_Service::setDefaultTimeout()</a> in Service.php</div> - <div class="index-item-description">Set the default timeout for all calls that aren't passed a specific timeout</div> - </dd> - <dt class="field"> - <span class="method-title">setDefaultTimeout</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Interface.html#methodsetDefaultTimeout">Apache_Solr_HttpTransport_Interface::setDefaultTimeout()</a> in Interface.php</div> - <div class="index-item-description">Set the current default timeout for all HTTP requests</div> - </dd> - <dt class="field"> - <span class="method-title">setField</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#methodsetField">Apache_Solr_Document::setField()</a> in Document.php</div> - <div class="index-item-description">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.</div> - </dd> - <dt class="field"> - <span class="method-title">setFieldBoost</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#methodsetFieldBoost">Apache_Solr_Document::setFieldBoost()</a> in Document.php</div> - <div class="index-item-description">Set the field boost for a document field</div> - </dd> - <dt class="field"> - <span class="method-title">setHost</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodsetHost">Apache_Solr_Service::setHost()</a> in Service.php</div> - <div class="index-item-description">Set the host used. If empty will fallback to constants</div> - </dd> - <dt class="field"> - <span class="method-title">setHttpTransport</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodsetHttpTransport">Apache_Solr_Service::setHttpTransport()</a> in Service.php</div> - <div class="index-item-description">Set the HTTP Transport implemenation that will be used for all HTTP requests</div> - </dd> - <dt class="field"> - <span class="method-title">setMultiValue</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#methodsetMultiValue">Apache_Solr_Document::setMultiValue()</a> in Document.php</div> - <div class="index-item-description">Handle the array manipulation for a multi-valued field</div> - </dd> - <dt class="field"> - <span class="method-title">setNamedListTreatment</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodsetNamedListTreatment">Apache_Solr_Service::setNamedListTreatment()</a> in Service.php</div> - <div class="index-item-description">Set how NamedLists should be formatted in the response data. This mainly effects the facet counts format.</div> - </dd> - <dt class="field"> - <span class="method-title">setPath</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodsetPath">Apache_Solr_Service::setPath()</a> in Service.php</div> - <div class="index-item-description">Set the path used. If empty will fallback to constants</div> - </dd> - <dt class="field"> - <span class="method-title">setPort</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodsetPort">Apache_Solr_Service::setPort()</a> in Service.php</div> - <div class="index-item-description">Set the port used. If empty will fallback to constants</div> - </dd> - <dt class="field"> - <span class="method-title">setQueryDelimiter</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodsetQueryDelimiter">Apache_Solr_Service::setQueryDelimiter()</a> in Service.php</div> - <div class="index-item-description">Set the string used to separate the path form the query string.</div> - </dd> - <dt class="field"> - <span class="method-title">setQueryStringDelimiter</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodsetQueryStringDelimiter">Apache_Solr_Service::setQueryStringDelimiter()</a> in Service.php</div> - <div class="index-item-description">Set the string used to separate the parameters in thequery string Defaulted to '&'</div> - </dd> - <dt class="field"> - <span class="method-title">setReadPingTimeout</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodsetReadPingTimeout">Apache_Solr_Service_Balancer::setReadPingTimeout()</a> in Balancer.php</div> - </dd> - <dt class="field"> - <span class="method-title">setUseBackoff</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodsetUseBackoff">Apache_Solr_Service_Balancer::setUseBackoff()</a> in Balancer.php</div> - </dd> - <dt class="field"> - <span class="method-title">setWritePingTimeout</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodsetWritePingTimeout">Apache_Solr_Service_Balancer::setWritePingTimeout()</a> in Balancer.php</div> - </dd> - <dt class="field"> - SOLR_WRITER - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#constSOLR_WRITER">Apache_Solr_Service::SOLR_WRITER</a> in Service.php</div> - <div class="index-item-description">Response writer we'll request - JSON. See http://code.google.com/p/solr-php-client/issues/detail?id=6#c1 for reasoning</div> - </dd> - <dt class="field"> - SVN_ID - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#constSVN_ID">Apache_Solr_Service_Balancer::SVN_ID</a> in Balancer.php</div> - <div class="index-item-description">SVN ID meta data for this class</div> - </dd> - <dt class="field"> - SVN_ID - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Curl.html#constSVN_ID">Apache_Solr_HttpTransport_Curl::SVN_ID</a> in Curl.php</div> - <div class="index-item-description">SVN ID meta data for this class</div> - </dd> - <dt class="field"> - SVN_ID - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#constSVN_ID">Apache_Solr_Service::SVN_ID</a> in Service.php</div> - <div class="index-item-description">SVN ID meta data for this class</div> - </dd> - <dt class="field"> - SVN_ID - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Response.html#constSVN_ID">Apache_Solr_Response::SVN_ID</a> in Response.php</div> - <div class="index-item-description">SVN ID meta data for this class</div> - </dd> - <dt class="field"> - SVN_ID - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_ParserException.html#constSVN_ID">Apache_Solr_ParserException::SVN_ID</a> in ParserException.php</div> - <div class="index-item-description">SVN ID meta data for this class</div> - </dd> - <dt class="field"> - SVN_ID - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_InvalidArgumentException.html#constSVN_ID">Apache_Solr_InvalidArgumentException::SVN_ID</a> in InvalidArgumentException.php</div> - <div class="index-item-description">SVN ID meta data for this class</div> - </dd> - <dt class="field"> - SVN_ID - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_FileGetContents.html#constSVN_ID">Apache_Solr_HttpTransport_FileGetContents::SVN_ID</a> in FileGetContents.php</div> - <div class="index-item-description">SVN ID meta data for this class</div> - </dd> - <dt class="field"> - SVN_ID - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransportException.html#constSVN_ID">Apache_Solr_HttpTransportException::SVN_ID</a> in HttpTransportException.php</div> - <div class="index-item-description">SVN ID meta data for this class</div> - </dd> - <dt class="field"> - SVN_ID - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Exception.html#constSVN_ID">Apache_Solr_Exception::SVN_ID</a> in Exception.php</div> - <div class="index-item-description">SVN ID meta data for this class</div> - </dd> - <dt class="field"> - SVN_ID - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_NoServiceAvailableException.html#constSVN_ID">Apache_Solr_NoServiceAvailableException::SVN_ID</a> in NoServiceAvailableException.php</div> - <div class="index-item-description">SVN ID meta data for this class</div> - </dd> - <dt class="field"> - SVN_ID - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_CurlNoReuse.html#constSVN_ID">Apache_Solr_HttpTransport_CurlNoReuse::SVN_ID</a> in CurlNoReuse.php</div> - <div class="index-item-description">SVN ID meta data for this class</div> - </dd> - <dt class="field"> - SVN_ID - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#constSVN_ID">Apache_Solr_Document::SVN_ID</a> in Document.php</div> - <div class="index-item-description">SVN ID meta data for this class</div> - </dd> - <dt class="field"> - SVN_REVISION - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#constSVN_REVISION">Apache_Solr_Service::SVN_REVISION</a> in Service.php</div> - <div class="index-item-description">SVN Revision meta data for this class</div> - </dd> - <dt class="field"> - SVN_REVISION - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#constSVN_REVISION">Apache_Solr_Document::SVN_REVISION</a> in Document.php</div> - <div class="index-item-description">SVN Revision meta data for this class</div> - </dd> - <dt class="field"> - SVN_REVISION - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Exception.html#constSVN_REVISION">Apache_Solr_Exception::SVN_REVISION</a> in Exception.php</div> - <div class="index-item-description">SVN Revision meta data for this class</div> - </dd> - <dt class="field"> - SVN_REVISION - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_FileGetContents.html#constSVN_REVISION">Apache_Solr_HttpTransport_FileGetContents::SVN_REVISION</a> in FileGetContents.php</div> - <div class="index-item-description">SVN Revision meta data for this class</div> - </dd> - <dt class="field"> - SVN_REVISION - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransportException.html#constSVN_REVISION">Apache_Solr_HttpTransportException::SVN_REVISION</a> in HttpTransportException.php</div> - <div class="index-item-description">SVN Revision meta data for this class</div> - </dd> - <dt class="field"> - SVN_REVISION - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Response.html#constSVN_REVISION">Apache_Solr_Response::SVN_REVISION</a> in Response.php</div> - <div class="index-item-description">SVN Revision meta data for this class</div> - </dd> - <dt class="field"> - SVN_REVISION - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_CurlNoReuse.html#constSVN_REVISION">Apache_Solr_HttpTransport_CurlNoReuse::SVN_REVISION</a> in CurlNoReuse.php</div> - <div class="index-item-description">SVN Revision meta data for this class</div> - </dd> - <dt class="field"> - SVN_REVISION - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_NoServiceAvailableException.html#constSVN_REVISION">Apache_Solr_NoServiceAvailableException::SVN_REVISION</a> in NoServiceAvailableException.php</div> - <div class="index-item-description">SVN Revision meta data for this class</div> - </dd> - <dt class="field"> - SVN_REVISION - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#constSVN_REVISION">Apache_Solr_Service_Balancer::SVN_REVISION</a> in Balancer.php</div> - <div class="index-item-description">SVN Revision meta data for this class</div> - </dd> - <dt class="field"> - SVN_REVISION - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Curl.html#constSVN_REVISION">Apache_Solr_HttpTransport_Curl::SVN_REVISION</a> in Curl.php</div> - <div class="index-item-description">SVN Revision meta data for this class</div> - </dd> - <dt class="field"> - SVN_REVISION - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_InvalidArgumentException.html#constSVN_REVISION">Apache_Solr_InvalidArgumentException::SVN_REVISION</a> in InvalidArgumentException.php</div> - <div class="index-item-description">SVN Revision meta data for this class</div> - </dd> - <dt class="field"> - SVN_REVISION - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_ParserException.html#constSVN_REVISION">Apache_Solr_ParserException::SVN_REVISION</a> in ParserException.php</div> - <div class="index-item-description">SVN Revision meta data for this class</div> - </dd> - </dl> - <a name="t"></a> - <div class="index-letter-section"> - <div style="float: left" class="index-letter-title">t</div> - <div style="float: right"><a href="#top">top</a></div> - <div style="clear: both"></div> - </div> - <dl> - <dt class="field"> - <span class="method-title">threads</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodthreads">Apache_Solr_Service::threads()</a> in Service.php</div> - <div class="index-item-description">Call the /admin/threads servlet and retrieve information about all threads in the Solr servlet's thread group. Useful for diagnostics.</div> - </dd> - <dt class="field"> - THREADS_SERVLET - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#constTHREADS_SERVLET">Apache_Solr_Service::THREADS_SERVLET</a> in Service.php</div> - </dd> - </dl> - <a name="u"></a> - <div class="index-letter-section"> - <div style="float: left" class="index-letter-title">u</div> - <div style="float: right"><a href="#top">top</a></div> - <div style="clear: both"></div> - </div> - <dl> - <dt class="field"> - UPDATE_SERVLET - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#constUPDATE_SERVLET">Apache_Solr_Service::UPDATE_SERVLET</a> in Service.php</div> - </dd> - </dl> - <a name="_"></a> - <div class="index-letter-section"> - <div style="float: left" class="index-letter-title">_</div> - <div style="float: right"><a href="#top">top</a></div> - <div style="clear: both"></div> - </div> - <dl> - <dt class="field"> - <span class="var-title">$_backoffEscalation</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#var$_backoffEscalation">Apache_Solr_Service_Balancer::$_backoffEscalation</a> in Balancer.php</div> - </dd> - <dt class="field"> - <span class="var-title">$_backoffLimit</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#var$_backoffLimit">Apache_Solr_Service_Balancer::$_backoffLimit</a> in Balancer.php</div> - </dd> - <dt class="field"> - <span class="var-title">$_collapseSingleValueArrays</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#var$_collapseSingleValueArrays">Apache_Solr_Service::$_collapseSingleValueArrays</a> in Service.php</div> - <div class="index-item-description">Whether <a href="Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a> objects should have multivalue fields with only a single value collapsed to appear as a single value would.</div> - </dd> - <dt class="field"> - <span class="var-title">$_collapseSingleValueArrays</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Response.html#var$_collapseSingleValueArrays">Apache_Solr_Response::$_collapseSingleValueArrays</a> in Response.php</div> - </dd> - <dt class="field"> - <span class="var-title">$_createDocuments</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Response.html#var$_createDocuments">Apache_Solr_Response::$_createDocuments</a> in Response.php</div> - <div class="index-item-description">Data parsing flags. Determines what extra processing should be done after the data is initially converted to a data structure.</div> - </dd> - <dt class="field"> - <span class="var-title">$_createDocuments</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#var$_createDocuments">Apache_Solr_Service::$_createDocuments</a> in Service.php</div> - <div class="index-item-description">Whether <a href="Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a> objects should create <a href="Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a>s in the returned parsed data</div> - </dd> - <dt class="field"> - <span class="var-title">$_createDocuments</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#var$_createDocuments">Apache_Solr_Service_Balancer::$_createDocuments</a> in Balancer.php</div> - </dd> - <dt class="field"> - <span class="var-title">$_currentReadService</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#var$_currentReadService">Apache_Solr_Service_Balancer::$_currentReadService</a> in Balancer.php</div> - </dd> - <dt class="field"> - <span class="var-title">$_currentWriteService</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#var$_currentWriteService">Apache_Solr_Service_Balancer::$_currentWriteService</a> in Balancer.php</div> - </dd> - <dt class="field"> - <span class="var-title">$_defaultBackoff</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#var$_defaultBackoff">Apache_Solr_Service_Balancer::$_defaultBackoff</a> in Balancer.php</div> - </dd> - <dt class="field"> - <span class="var-title">$_documentBoost</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#var$_documentBoost">Apache_Solr_Document::$_documentBoost</a> in Document.php</div> - <div class="index-item-description">Document boost value</div> - </dd> - <dt class="field"> - <span class="var-title">$_fieldBoosts</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#var$_fieldBoosts">Apache_Solr_Document::$_fieldBoosts</a> in Document.php</div> - <div class="index-item-description">Document field boost values, indexed by name</div> - </dd> - <dt class="field"> - <span class="var-title">$_fields</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#var$_fields">Apache_Solr_Document::$_fields</a> in Document.php</div> - <div class="index-item-description">Document field values, indexed by name</div> - </dd> - <dt class="field"> - <span class="var-title">$_host</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#var$_host">Apache_Solr_Service::$_host</a> in Service.php</div> - <div class="index-item-description">Server identification strings</div> - </dd> - <dt class="field"> - <span class="var-title">$_httpTransport</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#var$_httpTransport">Apache_Solr_Service::$_httpTransport</a> in Service.php</div> - <div class="index-item-description">HTTP Transport implementation (pluggable)</div> - </dd> - <dt class="field"> - <span class="var-title">$_isParsed</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Response.html#var$_isParsed">Apache_Solr_Response::$_isParsed</a> in Response.php</div> - <div class="index-item-description">Whether the raw response has been parsed</div> - </dd> - <dt class="field"> - <span class="var-title">$_namedListTreatment</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#var$_namedListTreatment">Apache_Solr_Service::$_namedListTreatment</a> in Service.php</div> - <div class="index-item-description">How NamedLists should be formatted in the output. This specifically effects facet counts. Valid values are <a href="Apache/Solr/Apache_Solr_Service.html#constNAMED_LIST_MAP">Apache_Solr_Service::NAMED_LIST_MAP</a> (default) or <a href="Apache/Solr/Apache_Solr_Service.html#constNAMED_LIST_FLAT">Apache_Solr_Service::NAMED_LIST_FLAT</a>.</div> - </dd> - <dt class="field"> - <span class="var-title">$_parsedData</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Response.html#var$_parsedData">Apache_Solr_Response::$_parsedData</a> in Response.php</div> - <div class="index-item-description">Parsed representation of the data</div> - </dd> - <dt class="field"> - <span class="var-title">$_path</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#var$_path">Apache_Solr_Service::$_path</a> in Service.php</div> - </dd> - <dt class="field"> - <span class="var-title">$_pingUrl</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#var$_pingUrl">Apache_Solr_Service::$_pingUrl</a> in Service.php</div> - <div class="index-item-description">Constructed servlet full path URLs</div> - </dd> - <dt class="field"> - <span class="var-title">$_port</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#var$_port">Apache_Solr_Service::$_port</a> in Service.php</div> - </dd> - <dt class="field"> - <span class="var-title">$_queryBracketsEscaped</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#var$_queryBracketsEscaped">Apache_Solr_Service::$_queryBracketsEscaped</a> in Service.php</div> - </dd> - <dt class="field"> - <span class="var-title">$_queryDelimiter</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#var$_queryDelimiter">Apache_Solr_Service::$_queryDelimiter</a> in Service.php</div> - <div class="index-item-description">Query delimiters. Someone might want to be able to change these (to use &amp; instead of & for example), so I've provided them.</div> - </dd> - <dt class="field"> - <span class="var-title">$_queryStringDelimiter</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#var$_queryStringDelimiter">Apache_Solr_Service::$_queryStringDelimiter</a> in Service.php</div> - </dd> - <dt class="field"> - <span class="var-title">$_readableServices</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#var$_readableServices">Apache_Solr_Service_Balancer::$_readableServices</a> in Balancer.php</div> - </dd> - <dt class="field"> - <span class="var-title">$_readPingTimeout</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#var$_readPingTimeout">Apache_Solr_Service_Balancer::$_readPingTimeout</a> in Balancer.php</div> - </dd> - <dt class="field"> - <span class="var-title">$_response</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Response.html#var$_response">Apache_Solr_Response::$_response</a> in Response.php</div> - <div class="index-item-description">Holds the raw response used in construction</div> - </dd> - <dt class="field"> - <span class="var-title">$_searchUrl</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#var$_searchUrl">Apache_Solr_Service::$_searchUrl</a> in Service.php</div> - </dd> - <dt class="field"> - <span class="var-title">$_threadsUrl</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#var$_threadsUrl">Apache_Solr_Service::$_threadsUrl</a> in Service.php</div> - </dd> - <dt class="field"> - <span class="var-title">$_updateUrl</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#var$_updateUrl">Apache_Solr_Service::$_updateUrl</a> in Service.php</div> - </dd> - <dt class="field"> - <span class="var-title">$_urlsInited</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#var$_urlsInited">Apache_Solr_Service::$_urlsInited</a> in Service.php</div> - <div class="index-item-description">Keep track of whether our URLs have been constructed</div> - </dd> - <dt class="field"> - <span class="var-title">$_useBackoff</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#var$_useBackoff">Apache_Solr_Service_Balancer::$_useBackoff</a> in Balancer.php</div> - </dd> - <dt class="field"> - <span class="var-title">$_writeableServices</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#var$_writeableServices">Apache_Solr_Service_Balancer::$_writeableServices</a> in Balancer.php</div> - </dd> - <dt class="field"> - <span class="var-title">$_writePingTimeout</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#var$_writePingTimeout">Apache_Solr_Service_Balancer::$_writePingTimeout</a> in Balancer.php</div> - </dd> - <dt class="field"> - <span class="method-title">_constructUrl</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#method_constructUrl">Apache_Solr_Service::_constructUrl()</a> in Service.php</div> - <div class="index-item-description">Return a valid http URL given this server's host, port and path and a provided servlet name</div> - </dd> - <dt class="field"> - <span class="method-title">_documentToXmlFragment</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#method_documentToXmlFragment">Apache_Solr_Service::_documentToXmlFragment()</a> in Service.php</div> - <div class="index-item-description">Create an XML fragment from a <a href="Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a> instance appropriate for use inside a Solr add call</div> - </dd> - <dt class="field"> - <span class="method-title">_generateQueryString</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#method_generateQueryString">Apache_Solr_Service::_generateQueryString()</a> in Service.php</div> - </dd> - <dt class="field"> - <span class="method-title">_getServiceId</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#method_getServiceId">Apache_Solr_Service_Balancer::_getServiceId()</a> in Balancer.php</div> - <div class="index-item-description">Generates a service ID</div> - </dd> - <dt class="field"> - <span class="method-title">_initUrls</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#method_initUrls">Apache_Solr_Service::_initUrls()</a> in Service.php</div> - <div class="index-item-description">Construct the Full URLs for the three servlets we reference</div> - </dd> - <dt class="field"> - <span class="method-title">_parseData</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Response.html#method_parseData">Apache_Solr_Response::_parseData()</a> in Response.php</div> - <div class="index-item-description">Parse the raw response into the parsed_data array for access</div> - </dd> - <dt class="field"> - <span class="method-title">_selectReadService</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#method_selectReadService">Apache_Solr_Service_Balancer::_selectReadService()</a> in Balancer.php</div> - <div class="index-item-description">Iterate through available read services and select the first with a ping that satisfies configured timeout restrictions (or the default)</div> - </dd> - <dt class="field"> - <span class="method-title">_selectWriteService</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#method_selectWriteService">Apache_Solr_Service_Balancer::_selectWriteService()</a> in Balancer.php</div> - <div class="index-item-description">Iterate through available write services and select the first with a ping that satisfies configured timeout restrictions (or the default)</div> - </dd> - <dt class="field"> - <span class="method-title">_selectWriteServiceSafe</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#method_selectWriteServiceSafe">Apache_Solr_Service_Balancer::_selectWriteServiceSafe()</a> in Balancer.php</div> - <div class="index-item-description">Iterate through available write services and select the first with a ping</div> - </dd> - <dt class="field"> - <span class="method-title">_sendRawGet</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#method_sendRawGet">Apache_Solr_Service::_sendRawGet()</a> in Service.php</div> - <div class="index-item-description">Central method for making a get operation against this Solr Server</div> - </dd> - <dt class="field"> - <span class="method-title">_sendRawPost</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#method_sendRawPost">Apache_Solr_Service::_sendRawPost()</a> in Service.php</div> - <div class="index-item-description">Central method for making a post operation against this Solr Server</div> - </dd> - <dt class="field"> - <span class="method-title">_stripCtrlChars</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#method_stripCtrlChars">Apache_Solr_Service::_stripCtrlChars()</a> in Service.php</div> - <div class="index-item-description">Replace control (non-printable) characters from string that are invalid to Solr's XML parser with a space.</div> - </dd> - <dt class="field"> - <span class="method-title">__construct</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#method__construct">Apache_Solr_Service::__construct()</a> in Service.php</div> - <div class="index-item-description">Constructor. All parameters are optional and will take on default values if not specified.</div> - </dd> - <dt class="field"> - <span class="method-title">__construct</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Response.html#method__construct">Apache_Solr_HttpTransport_Response::__construct()</a> in Response.php</div> - <div class="index-item-description">Construct a HTTP transport response</div> - </dd> - <dt class="field"> - <span class="method-title">__construct</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_FileGetContents.html#method__construct">Apache_Solr_HttpTransport_FileGetContents::__construct()</a> in FileGetContents.php</div> - <div class="index-item-description">Initializes our reuseable get and post stream contexts</div> - </dd> - <dt class="field"> - <span class="method-title">__construct</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Curl.html#method__construct">Apache_Solr_HttpTransport_Curl::__construct()</a> in Curl.php</div> - <div class="index-item-description">Initializes a curl session</div> - </dd> - <dt class="field"> - <span class="method-title">__construct</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransportException.html#method__construct">Apache_Solr_HttpTransportException::__construct()</a> in HttpTransportException.php</div> - <div class="index-item-description">HttpTransportException Constructor</div> - </dd> - <dt class="field"> - <span class="method-title">__construct</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Response.html#method__construct">Apache_Solr_Response::__construct()</a> in Response.php</div> - <div class="index-item-description">Constructor. Takes the raw HTTP response body and the exploded HTTP headers</div> - </dd> - <dt class="field"> - <span class="method-title">__construct</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#method__construct">Apache_Solr_Service_Balancer::__construct()</a> in Balancer.php</div> - <div class="index-item-description">Constructor. Takes arrays of read and write service instances or descriptions</div> - </dd> - <dt class="field"> - <span class="method-title">__destruct</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Curl.html#method__destruct">Apache_Solr_HttpTransport_Curl::__destruct()</a> in Curl.php</div> - <div class="index-item-description">Closes a curl session</div> - </dd> - <dt class="field"> - <span class="method-title">__get</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Response.html#method__get">Apache_Solr_Response::__get()</a> in Response.php</div> - <div class="index-item-description">Magic get to expose the parsed data and to lazily load it</div> - </dd> - <dt class="field"> - <span class="method-title">__get</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#method__get">Apache_Solr_Document::__get()</a> in Document.php</div> - <div class="index-item-description">Magic get for field values</div> - </dd> - <dt class="field"> - <span class="method-title">__isset</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#method__isset">Apache_Solr_Document::__isset()</a> in Document.php</div> - <div class="index-item-description">Magic isset for fields values. Do not call directly. Allows usage:</div> - </dd> - <dt class="field"> - <span class="method-title">__isset</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Response.html#method__isset">Apache_Solr_Response::__isset()</a> in Response.php</div> - <div class="index-item-description">Magic function for isset function on parsed data</div> - </dd> - <dt class="field"> - <span class="method-title">__set</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#method__set">Apache_Solr_Document::__set()</a> in Document.php</div> - <div class="index-item-description">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.</div> - </dd> - <dt class="field"> - <span class="method-title">__unset</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#method__unset">Apache_Solr_Document::__unset()</a> in Document.php</div> - <div class="index-item-description">Magic unset for field values. Do not call directly. Allows usage:</div> - </dd> - </dl> - -<div class="index-letter-menu"> - <a class="index-letter" href="elementindex.html#a">a</a> - <a class="index-letter" href="elementindex.html#b">b</a> - <a class="index-letter" href="elementindex.html#c">c</a> - <a class="index-letter" href="elementindex.html#d">d</a> - <a class="index-letter" href="elementindex.html#e">e</a> - <a class="index-letter" href="elementindex.html#f">f</a> - <a class="index-letter" href="elementindex.html#g">g</a> - <a class="index-letter" href="elementindex.html#h">h</a> - <a class="index-letter" href="elementindex.html#i">i</a> - <a class="index-letter" href="elementindex.html#m">m</a> - <a class="index-letter" href="elementindex.html#n">n</a> - <a class="index-letter" href="elementindex.html#o">o</a> - <a class="index-letter" href="elementindex.html#p">p</a> - <a class="index-letter" href="elementindex.html#r">r</a> - <a class="index-letter" href="elementindex.html#s">s</a> - <a class="index-letter" href="elementindex.html#t">t</a> - <a class="index-letter" href="elementindex.html#u">u</a> - <a class="index-letter" href="elementindex.html#_">_</a> -</div> </body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/elementindex_Apache.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/elementindex_Apache.html deleted file mode 100644 index ae0fec6ffe49e1d479054e63467ec3ef407e9f41..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/elementindex_Apache.html +++ /dev/null @@ -1,1723 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title></title> - <link rel="stylesheet" href="media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <a name="top"></a> -<h2>[Apache] element index</h2> -<a href="elementindex.html">All elements</a> -<br /> -<div class="index-letter-menu"> - <a class="index-letter" href="elementindex_Apache.html#a">a</a> - <a class="index-letter" href="elementindex_Apache.html#b">b</a> - <a class="index-letter" href="elementindex_Apache.html#c">c</a> - <a class="index-letter" href="elementindex_Apache.html#d">d</a> - <a class="index-letter" href="elementindex_Apache.html#e">e</a> - <a class="index-letter" href="elementindex_Apache.html#f">f</a> - <a class="index-letter" href="elementindex_Apache.html#g">g</a> - <a class="index-letter" href="elementindex_Apache.html#h">h</a> - <a class="index-letter" href="elementindex_Apache.html#i">i</a> - <a class="index-letter" href="elementindex_Apache.html#m">m</a> - <a class="index-letter" href="elementindex_Apache.html#n">n</a> - <a class="index-letter" href="elementindex_Apache.html#o">o</a> - <a class="index-letter" href="elementindex_Apache.html#p">p</a> - <a class="index-letter" href="elementindex_Apache.html#r">r</a> - <a class="index-letter" href="elementindex_Apache.html#s">s</a> - <a class="index-letter" href="elementindex_Apache.html#t">t</a> - <a class="index-letter" href="elementindex_Apache.html#u">u</a> - <a class="index-letter" href="elementindex_Apache.html#_">_</a> -</div> - - <a name="_"></a> - <div class="index-letter-section"> - <div style="float: left" class="index-letter-title">_</div> - <div style="float: right"><a href="#top">top</a></div> - <div style="clear: both"></div> - </div> - <dl> - <dt class="field"> - <span class="var-title">$_backoffEscalation</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#var$_backoffEscalation">Apache_Solr_Service_Balancer::$_backoffEscalation</a> in Balancer.php</div> - </dd> - <dt class="field"> - <span class="var-title">$_backoffLimit</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#var$_backoffLimit">Apache_Solr_Service_Balancer::$_backoffLimit</a> in Balancer.php</div> - </dd> - <dt class="field"> - <span class="var-title">$_collapseSingleValueArrays</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#var$_collapseSingleValueArrays">Apache_Solr_Service::$_collapseSingleValueArrays</a> in Service.php</div> - <div class="index-item-description">Whether <a href="Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a> objects should have multivalue fields with only a single value collapsed to appear as a single value would.</div> - </dd> - <dt class="field"> - <span class="var-title">$_collapseSingleValueArrays</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Response.html#var$_collapseSingleValueArrays">Apache_Solr_Response::$_collapseSingleValueArrays</a> in Response.php</div> - </dd> - <dt class="field"> - <span class="var-title">$_createDocuments</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Response.html#var$_createDocuments">Apache_Solr_Response::$_createDocuments</a> in Response.php</div> - <div class="index-item-description">Data parsing flags. Determines what extra processing should be done after the data is initially converted to a data structure.</div> - </dd> - <dt class="field"> - <span class="var-title">$_createDocuments</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#var$_createDocuments">Apache_Solr_Service::$_createDocuments</a> in Service.php</div> - <div class="index-item-description">Whether <a href="Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a> objects should create <a href="Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a>s in the returned parsed data</div> - </dd> - <dt class="field"> - <span class="var-title">$_createDocuments</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#var$_createDocuments">Apache_Solr_Service_Balancer::$_createDocuments</a> in Balancer.php</div> - </dd> - <dt class="field"> - <span class="var-title">$_currentReadService</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#var$_currentReadService">Apache_Solr_Service_Balancer::$_currentReadService</a> in Balancer.php</div> - </dd> - <dt class="field"> - <span class="var-title">$_currentWriteService</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#var$_currentWriteService">Apache_Solr_Service_Balancer::$_currentWriteService</a> in Balancer.php</div> - </dd> - <dt class="field"> - <span class="var-title">$_defaultBackoff</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#var$_defaultBackoff">Apache_Solr_Service_Balancer::$_defaultBackoff</a> in Balancer.php</div> - </dd> - <dt class="field"> - <span class="var-title">$_documentBoost</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#var$_documentBoost">Apache_Solr_Document::$_documentBoost</a> in Document.php</div> - <div class="index-item-description">Document boost value</div> - </dd> - <dt class="field"> - <span class="var-title">$_fieldBoosts</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#var$_fieldBoosts">Apache_Solr_Document::$_fieldBoosts</a> in Document.php</div> - <div class="index-item-description">Document field boost values, indexed by name</div> - </dd> - <dt class="field"> - <span class="var-title">$_fields</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#var$_fields">Apache_Solr_Document::$_fields</a> in Document.php</div> - <div class="index-item-description">Document field values, indexed by name</div> - </dd> - <dt class="field"> - <span class="var-title">$_host</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#var$_host">Apache_Solr_Service::$_host</a> in Service.php</div> - <div class="index-item-description">Server identification strings</div> - </dd> - <dt class="field"> - <span class="var-title">$_httpTransport</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#var$_httpTransport">Apache_Solr_Service::$_httpTransport</a> in Service.php</div> - <div class="index-item-description">HTTP Transport implementation (pluggable)</div> - </dd> - <dt class="field"> - <span class="var-title">$_isParsed</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Response.html#var$_isParsed">Apache_Solr_Response::$_isParsed</a> in Response.php</div> - <div class="index-item-description">Whether the raw response has been parsed</div> - </dd> - <dt class="field"> - <span class="var-title">$_namedListTreatment</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#var$_namedListTreatment">Apache_Solr_Service::$_namedListTreatment</a> in Service.php</div> - <div class="index-item-description">How NamedLists should be formatted in the output. This specifically effects facet counts. Valid values are <a href="Apache/Solr/Apache_Solr_Service.html#constNAMED_LIST_MAP">Apache_Solr_Service::NAMED_LIST_MAP</a> (default) or <a href="Apache/Solr/Apache_Solr_Service.html#constNAMED_LIST_FLAT">Apache_Solr_Service::NAMED_LIST_FLAT</a>.</div> - </dd> - <dt class="field"> - <span class="var-title">$_parsedData</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Response.html#var$_parsedData">Apache_Solr_Response::$_parsedData</a> in Response.php</div> - <div class="index-item-description">Parsed representation of the data</div> - </dd> - <dt class="field"> - <span class="var-title">$_path</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#var$_path">Apache_Solr_Service::$_path</a> in Service.php</div> - </dd> - <dt class="field"> - <span class="var-title">$_pingUrl</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#var$_pingUrl">Apache_Solr_Service::$_pingUrl</a> in Service.php</div> - <div class="index-item-description">Constructed servlet full path URLs</div> - </dd> - <dt class="field"> - <span class="var-title">$_port</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#var$_port">Apache_Solr_Service::$_port</a> in Service.php</div> - </dd> - <dt class="field"> - <span class="var-title">$_queryBracketsEscaped</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#var$_queryBracketsEscaped">Apache_Solr_Service::$_queryBracketsEscaped</a> in Service.php</div> - </dd> - <dt class="field"> - <span class="var-title">$_queryDelimiter</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#var$_queryDelimiter">Apache_Solr_Service::$_queryDelimiter</a> in Service.php</div> - <div class="index-item-description">Query delimiters. Someone might want to be able to change these (to use &amp; instead of & for example), so I've provided them.</div> - </dd> - <dt class="field"> - <span class="var-title">$_queryStringDelimiter</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#var$_queryStringDelimiter">Apache_Solr_Service::$_queryStringDelimiter</a> in Service.php</div> - </dd> - <dt class="field"> - <span class="var-title">$_readableServices</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#var$_readableServices">Apache_Solr_Service_Balancer::$_readableServices</a> in Balancer.php</div> - </dd> - <dt class="field"> - <span class="var-title">$_readPingTimeout</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#var$_readPingTimeout">Apache_Solr_Service_Balancer::$_readPingTimeout</a> in Balancer.php</div> - </dd> - <dt class="field"> - <span class="var-title">$_response</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Response.html#var$_response">Apache_Solr_Response::$_response</a> in Response.php</div> - <div class="index-item-description">Holds the raw response used in construction</div> - </dd> - <dt class="field"> - <span class="var-title">$_searchUrl</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#var$_searchUrl">Apache_Solr_Service::$_searchUrl</a> in Service.php</div> - </dd> - <dt class="field"> - <span class="var-title">$_threadsUrl</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#var$_threadsUrl">Apache_Solr_Service::$_threadsUrl</a> in Service.php</div> - </dd> - <dt class="field"> - <span class="var-title">$_updateUrl</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#var$_updateUrl">Apache_Solr_Service::$_updateUrl</a> in Service.php</div> - </dd> - <dt class="field"> - <span class="var-title">$_urlsInited</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#var$_urlsInited">Apache_Solr_Service::$_urlsInited</a> in Service.php</div> - <div class="index-item-description">Keep track of whether our URLs have been constructed</div> - </dd> - <dt class="field"> - <span class="var-title">$_useBackoff</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#var$_useBackoff">Apache_Solr_Service_Balancer::$_useBackoff</a> in Balancer.php</div> - </dd> - <dt class="field"> - <span class="var-title">$_writeableServices</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#var$_writeableServices">Apache_Solr_Service_Balancer::$_writeableServices</a> in Balancer.php</div> - </dd> - <dt class="field"> - <span class="var-title">$_writePingTimeout</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#var$_writePingTimeout">Apache_Solr_Service_Balancer::$_writePingTimeout</a> in Balancer.php</div> - </dd> - <dt class="field"> - <span class="method-title">_constructUrl</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#method_constructUrl">Apache_Solr_Service::_constructUrl()</a> in Service.php</div> - <div class="index-item-description">Return a valid http URL given this server's host, port and path and a provided servlet name</div> - </dd> - <dt class="field"> - <span class="method-title">_documentToXmlFragment</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#method_documentToXmlFragment">Apache_Solr_Service::_documentToXmlFragment()</a> in Service.php</div> - <div class="index-item-description">Create an XML fragment from a <a href="Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a> instance appropriate for use inside a Solr add call</div> - </dd> - <dt class="field"> - <span class="method-title">_generateQueryString</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#method_generateQueryString">Apache_Solr_Service::_generateQueryString()</a> in Service.php</div> - </dd> - <dt class="field"> - <span class="method-title">_getServiceId</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#method_getServiceId">Apache_Solr_Service_Balancer::_getServiceId()</a> in Balancer.php</div> - <div class="index-item-description">Generates a service ID</div> - </dd> - <dt class="field"> - <span class="method-title">_initUrls</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#method_initUrls">Apache_Solr_Service::_initUrls()</a> in Service.php</div> - <div class="index-item-description">Construct the Full URLs for the three servlets we reference</div> - </dd> - <dt class="field"> - <span class="method-title">_parseData</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Response.html#method_parseData">Apache_Solr_Response::_parseData()</a> in Response.php</div> - <div class="index-item-description">Parse the raw response into the parsed_data array for access</div> - </dd> - <dt class="field"> - <span class="method-title">_selectReadService</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#method_selectReadService">Apache_Solr_Service_Balancer::_selectReadService()</a> in Balancer.php</div> - <div class="index-item-description">Iterate through available read services and select the first with a ping that satisfies configured timeout restrictions (or the default)</div> - </dd> - <dt class="field"> - <span class="method-title">_selectWriteService</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#method_selectWriteService">Apache_Solr_Service_Balancer::_selectWriteService()</a> in Balancer.php</div> - <div class="index-item-description">Iterate through available write services and select the first with a ping that satisfies configured timeout restrictions (or the default)</div> - </dd> - <dt class="field"> - <span class="method-title">_selectWriteServiceSafe</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#method_selectWriteServiceSafe">Apache_Solr_Service_Balancer::_selectWriteServiceSafe()</a> in Balancer.php</div> - <div class="index-item-description">Iterate through available write services and select the first with a ping</div> - </dd> - <dt class="field"> - <span class="method-title">_sendRawGet</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#method_sendRawGet">Apache_Solr_Service::_sendRawGet()</a> in Service.php</div> - <div class="index-item-description">Central method for making a get operation against this Solr Server</div> - </dd> - <dt class="field"> - <span class="method-title">_sendRawPost</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#method_sendRawPost">Apache_Solr_Service::_sendRawPost()</a> in Service.php</div> - <div class="index-item-description">Central method for making a post operation against this Solr Server</div> - </dd> - <dt class="field"> - <span class="method-title">_stripCtrlChars</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#method_stripCtrlChars">Apache_Solr_Service::_stripCtrlChars()</a> in Service.php</div> - <div class="index-item-description">Replace control (non-printable) characters from string that are invalid to Solr's XML parser with a space.</div> - </dd> - <dt class="field"> - <span class="method-title">__construct</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#method__construct">Apache_Solr_Service::__construct()</a> in Service.php</div> - <div class="index-item-description">Constructor. All parameters are optional and will take on default values if not specified.</div> - </dd> - <dt class="field"> - <span class="method-title">__construct</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Response.html#method__construct">Apache_Solr_HttpTransport_Response::__construct()</a> in Response.php</div> - <div class="index-item-description">Construct a HTTP transport response</div> - </dd> - <dt class="field"> - <span class="method-title">__construct</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_FileGetContents.html#method__construct">Apache_Solr_HttpTransport_FileGetContents::__construct()</a> in FileGetContents.php</div> - <div class="index-item-description">Initializes our reuseable get and post stream contexts</div> - </dd> - <dt class="field"> - <span class="method-title">__construct</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Curl.html#method__construct">Apache_Solr_HttpTransport_Curl::__construct()</a> in Curl.php</div> - <div class="index-item-description">Initializes a curl session</div> - </dd> - <dt class="field"> - <span class="method-title">__construct</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransportException.html#method__construct">Apache_Solr_HttpTransportException::__construct()</a> in HttpTransportException.php</div> - <div class="index-item-description">HttpTransportException Constructor</div> - </dd> - <dt class="field"> - <span class="method-title">__construct</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Response.html#method__construct">Apache_Solr_Response::__construct()</a> in Response.php</div> - <div class="index-item-description">Constructor. Takes the raw HTTP response body and the exploded HTTP headers</div> - </dd> - <dt class="field"> - <span class="method-title">__construct</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#method__construct">Apache_Solr_Service_Balancer::__construct()</a> in Balancer.php</div> - <div class="index-item-description">Constructor. Takes arrays of read and write service instances or descriptions</div> - </dd> - <dt class="field"> - <span class="method-title">__destruct</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Curl.html#method__destruct">Apache_Solr_HttpTransport_Curl::__destruct()</a> in Curl.php</div> - <div class="index-item-description">Closes a curl session</div> - </dd> - <dt class="field"> - <span class="method-title">__get</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Response.html#method__get">Apache_Solr_Response::__get()</a> in Response.php</div> - <div class="index-item-description">Magic get to expose the parsed data and to lazily load it</div> - </dd> - <dt class="field"> - <span class="method-title">__get</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#method__get">Apache_Solr_Document::__get()</a> in Document.php</div> - <div class="index-item-description">Magic get for field values</div> - </dd> - <dt class="field"> - <span class="method-title">__isset</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#method__isset">Apache_Solr_Document::__isset()</a> in Document.php</div> - <div class="index-item-description">Magic isset for fields values. Do not call directly. Allows usage:</div> - </dd> - <dt class="field"> - <span class="method-title">__isset</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Response.html#method__isset">Apache_Solr_Response::__isset()</a> in Response.php</div> - <div class="index-item-description">Magic function for isset function on parsed data</div> - </dd> - <dt class="field"> - <span class="method-title">__set</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#method__set">Apache_Solr_Document::__set()</a> in Document.php</div> - <div class="index-item-description">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.</div> - </dd> - <dt class="field"> - <span class="method-title">__unset</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#method__unset">Apache_Solr_Document::__unset()</a> in Document.php</div> - <div class="index-item-description">Magic unset for field values. Do not call directly. Allows usage:</div> - </dd> - </dl> - <a name="a"></a> - <div class="index-letter-section"> - <div style="float: left" class="index-letter-title">a</div> - <div style="float: right"><a href="#top">top</a></div> - <div style="clear: both"></div> - </div> - <dl> - <dt class="field"> - <span class="method-title">add</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodadd">Apache_Solr_Service::add()</a> in Service.php</div> - <div class="index-item-description">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.</div> - </dd> - <dt class="field"> - <span class="method-title">add</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodadd">Apache_Solr_Service_Balancer::add()</a> in Balancer.php</div> - <div class="index-item-description">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.</div> - </dd> - <dt class="field"> - <span class="method-title">addDocument</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodaddDocument">Apache_Solr_Service_Balancer::addDocument()</a> in Balancer.php</div> - <div class="index-item-description">Add a Solr Document to the index</div> - </dd> - <dt class="field"> - <span class="method-title">addDocument</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodaddDocument">Apache_Solr_Service::addDocument()</a> in Service.php</div> - <div class="index-item-description">Add a Solr Document to the index</div> - </dd> - <dt class="field"> - <span class="method-title">addDocuments</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodaddDocuments">Apache_Solr_Service_Balancer::addDocuments()</a> in Balancer.php</div> - <div class="index-item-description">Add an array of Solr Documents to the index all at once</div> - </dd> - <dt class="field"> - <span class="method-title">addDocuments</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodaddDocuments">Apache_Solr_Service::addDocuments()</a> in Service.php</div> - <div class="index-item-description">Add an array of Solr Documents to the index all at once</div> - </dd> - <dt class="field"> - <span class="method-title">addField</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#methodaddField">Apache_Solr_Document::addField()</a> in Document.php</div> - <div class="index-item-description">Add a value to a multi-valued field</div> - </dd> - <dt class="field"> - <span class="method-title">addReadService</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodaddReadService">Apache_Solr_Service_Balancer::addReadService()</a> in Balancer.php</div> - <div class="index-item-description">Adds a service instance or service descriptor (if it is already not added)</div> - </dd> - <dt class="field"> - <span class="method-title">addWriteService</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodaddWriteService">Apache_Solr_Service_Balancer::addWriteService()</a> in Balancer.php</div> - <div class="index-item-description">Adds a service instance or service descriptor (if it is already not added)</div> - </dd> - <dt class="field"> - Apache_Solr_Document - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a> in Document.php</div> - <div class="index-item-description">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:</div> - </dd> - <dt class="field"> - Apache_Solr_Exception - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Exception.html">Apache_Solr_Exception</a> in Exception.php</div> - <div class="index-item-description">Copyright (c) 2007-2011, Servigistics, Inc.</div> - </dd> - <dt class="field"> - Apache_Solr_HttpTransportException - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransportException.html">Apache_Solr_HttpTransportException</a> in HttpTransportException.php</div> - <div class="index-item-description">Copyright (c) 2007-2011, Servigistics, Inc.</div> - </dd> - <dt class="field"> - Apache_Solr_HttpTransport_Abstract - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Abstract.html">Apache_Solr_HttpTransport_Abstract</a> in Abstract.php</div> - <div class="index-item-description">Convenience class that implements the transport implementation. Can be extended by</div> - </dd> - <dt class="field"> - Apache_Solr_HttpTransport_Curl - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Curl.html">Apache_Solr_HttpTransport_Curl</a> in Curl.php</div> - <div class="index-item-description">A Curl based HTTP transport. Uses a single curl session for all requests.</div> - </dd> - <dt class="field"> - Apache_Solr_HttpTransport_CurlNoReuse - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_CurlNoReuse.html">Apache_Solr_HttpTransport_CurlNoReuse</a> in CurlNoReuse.php</div> - <div class="index-item-description">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.</div> - </dd> - <dt class="field"> - Apache_Solr_HttpTransport_FileGetContents - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_FileGetContents.html">Apache_Solr_HttpTransport_FileGetContents</a> in FileGetContents.php</div> - <div class="index-item-description">HTTP Transport implemenation that uses the builtin http URL wrappers and file_get_contents</div> - </dd> - <dt class="field"> - Apache_Solr_HttpTransport_Interface - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Interface.html">Apache_Solr_HttpTransport_Interface</a> in Interface.php</div> - <div class="index-item-description">Interface that all Transport (HTTP Requester) implementations must implement. These</div> - </dd> - <dt class="field"> - Apache_Solr_HttpTransport_Response - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Response.html">Apache_Solr_HttpTransport_Response</a> in Response.php</div> - <div class="index-item-description">Represents the required pieces of an HTTP response provided by HTTP transport</div> - </dd> - <dt class="field"> - Apache_Solr_InvalidArgumentException - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_InvalidArgumentException.html">Apache_Solr_InvalidArgumentException</a> in InvalidArgumentException.php</div> - <div class="index-item-description">Copyright (c) 2007-2011, Servigistics, Inc.</div> - </dd> - <dt class="field"> - Apache_Solr_NoServiceAvailableException - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_NoServiceAvailableException.html">Apache_Solr_NoServiceAvailableException</a> in NoServiceAvailableException.php</div> - <div class="index-item-description">Copyright (c) 2007-2011, Servigistics, Inc.</div> - </dd> - <dt class="field"> - Apache_Solr_ParserException - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_ParserException.html">Apache_Solr_ParserException</a> in ParserException.php</div> - <div class="index-item-description">Copyright (c) 2007-2011, Servigistics, Inc.</div> - </dd> - <dt class="field"> - Apache_Solr_Response - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a> in Response.php</div> - <div class="index-item-description">Represents a Solr response. Parses the raw response into a set of stdClass objects and associative arrays for easy access.</div> - </dd> - <dt class="field"> - Apache_Solr_Service - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html">Apache_Solr_Service</a> in Service.php</div> - <div class="index-item-description">Starting point for the Solr API. Represents a Solr server resource and has methods for pinging, adding, deleting, committing, optimizing and searching.</div> - </dd> - <dt class="field"> - Apache_Solr_Service_Balancer - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html">Apache_Solr_Service_Balancer</a> in Balancer.php</div> - <div class="index-item-description">Reference Implementation for using multiple Solr services in a distribution. Functionality</div> - </dd> - <dt class="field"> - <span class="include-title">Abstract.php</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/_HttpTransport---Abstract.php.html">Abstract.php</a> in Abstract.php</div> - </dd> - </dl> - <a name="b"></a> - <div class="index-letter-section"> - <div style="float: left" class="index-letter-title">b</div> - <div style="float: right"><a href="#top">top</a></div> - <div style="clear: both"></div> - </div> - <dl> - <dt class="field"> - <span class="include-title">Balancer.php</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/_Service---Balancer.php.html">Balancer.php</a> in Balancer.php</div> - </dd> - </dl> - <a name="c"></a> - <div class="index-letter-section"> - <div style="float: left" class="index-letter-title">c</div> - <div style="float: right"><a href="#top">top</a></div> - <div style="clear: both"></div> - </div> - <dl> - <dt class="field"> - <span class="method-title">clear</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#methodclear">Apache_Solr_Document::clear()</a> in Document.php</div> - <div class="index-item-description">Clear all boosts and fields from this document</div> - </dd> - <dt class="field"> - <span class="method-title">commit</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodcommit">Apache_Solr_Service_Balancer::commit()</a> in Balancer.php</div> - <div class="index-item-description">Send a commit command. Will be synchronous unless both wait parameters are set to false.</div> - </dd> - <dt class="field"> - <span class="method-title">commit</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodcommit">Apache_Solr_Service::commit()</a> in Service.php</div> - <div class="index-item-description">Send a commit command. Will be synchronous unless both wait parameters are set to false.</div> - </dd> - <dt class="field"> - <span class="include-title">Curl.php</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/_HttpTransport---Curl.php.html">Curl.php</a> in Curl.php</div> - </dd> - <dt class="field"> - <span class="include-title">CurlNoReuse.php</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/_HttpTransport---CurlNoReuse.php.html">CurlNoReuse.php</a> in CurlNoReuse.php</div> - </dd> - </dl> - <a name="d"></a> - <div class="index-letter-section"> - <div style="float: left" class="index-letter-title">d</div> - <div style="float: right"><a href="#top">top</a></div> - <div style="clear: both"></div> - </div> - <dl> - <dt class="field"> - <span class="method-title">delete</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methoddelete">Apache_Solr_Service_Balancer::delete()</a> in Balancer.php</div> - <div class="index-item-description">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</div> - </dd> - <dt class="field"> - <span class="method-title">delete</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methoddelete">Apache_Solr_Service::delete()</a> in Service.php</div> - <div class="index-item-description">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</div> - </dd> - <dt class="field"> - <span class="method-title">deleteById</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methoddeleteById">Apache_Solr_Service_Balancer::deleteById()</a> in Balancer.php</div> - <div class="index-item-description">Create a delete document based on document ID</div> - </dd> - <dt class="field"> - <span class="method-title">deleteById</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methoddeleteById">Apache_Solr_Service::deleteById()</a> in Service.php</div> - <div class="index-item-description">Create a delete document based on document ID</div> - </dd> - <dt class="field"> - <span class="method-title">deleteByMultipleIds</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methoddeleteByMultipleIds">Apache_Solr_Service_Balancer::deleteByMultipleIds()</a> in Balancer.php</div> - <div class="index-item-description">Create and post a delete document based on multiple document IDs.</div> - </dd> - <dt class="field"> - <span class="method-title">deleteByMultipleIds</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methoddeleteByMultipleIds">Apache_Solr_Service::deleteByMultipleIds()</a> in Service.php</div> - <div class="index-item-description">Create and post a delete document based on multiple document IDs.</div> - </dd> - <dt class="field"> - <span class="method-title">deleteByQuery</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methoddeleteByQuery">Apache_Solr_Service_Balancer::deleteByQuery()</a> in Balancer.php</div> - <div class="index-item-description">Create a delete document based on a query and submit it</div> - </dd> - <dt class="field"> - <span class="method-title">deleteByQuery</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methoddeleteByQuery">Apache_Solr_Service::deleteByQuery()</a> in Service.php</div> - <div class="index-item-description">Create a delete document based on a query and submit it</div> - </dd> - <dt class="field"> - <span class="include-title">Document.php</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/_Document.php.html">Document.php</a> in Document.php</div> - </dd> - </dl> - <a name="e"></a> - <div class="index-letter-section"> - <div style="float: left" class="index-letter-title">e</div> - <div style="float: right"><a href="#top">top</a></div> - <div style="clear: both"></div> - </div> - <dl> - <dt class="field"> - <span class="method-title">escape</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodescape">Apache_Solr_Service_Balancer::escape()</a> in Balancer.php</div> - <div class="index-item-description">Escape a value for special query characters such as ':', '(', ')', '*', '?', etc.</div> - </dd> - <dt class="field"> - <span class="method-title">escape</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodescape">Apache_Solr_Service::escape()</a> in Service.php</div> - <div class="index-item-description">Escape a value for special query characters such as ':', '(', ')', '*', '?', etc.</div> - </dd> - <dt class="field"> - <span class="method-title">escapePhrase</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodescapePhrase">Apache_Solr_Service_Balancer::escapePhrase()</a> in Balancer.php</div> - <div class="index-item-description">Escape a value meant to be contained in a phrase for special query characters</div> - </dd> - <dt class="field"> - <span class="method-title">escapePhrase</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodescapePhrase">Apache_Solr_Service::escapePhrase()</a> in Service.php</div> - <div class="index-item-description">Escape a value meant to be contained in a phrase for special query characters</div> - </dd> - <dt class="field"> - <span class="include-title">Exception.php</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/_Exception.php.html">Exception.php</a> in Exception.php</div> - </dd> - <dt class="field"> - <span class="method-title">extract</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodextract">Apache_Solr_Service_Balancer::extract()</a> in Balancer.php</div> - <div class="index-item-description">Use Solr Cell to extract document contents. See <a href="http://wiki.apache.org/solr/ExtractingRequestHandler">http://wiki.apache.org/solr/ExtractingRequestHandler</a> for information on how to use Solr Cell and what parameters are available.</div> - </dd> - <dt class="field"> - <span class="method-title">extract</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodextract">Apache_Solr_Service::extract()</a> in Service.php</div> - <div class="index-item-description">Use Solr Cell to extract document contents. See <a href="http://wiki.apache.org/solr/ExtractingRequestHandler">http://wiki.apache.org/solr/ExtractingRequestHandler</a> for information on how to use Solr Cell and what parameters are available.</div> - </dd> - <dt class="field"> - <span class="method-title">extractFromString</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodextractFromString">Apache_Solr_Service_Balancer::extractFromString()</a> in Balancer.php</div> - <div class="index-item-description">Use Solr Cell to extract document contents. See <a href="http://wiki.apache.org/solr/ExtractingRequestHandler">http://wiki.apache.org/solr/ExtractingRequestHandler</a> for information on how to use Solr Cell and what parameters are available.</div> - </dd> - <dt class="field"> - <span class="method-title">extractFromString</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodextractFromString">Apache_Solr_Service::extractFromString()</a> in Service.php</div> - <div class="index-item-description">Use Solr Cell to extract document contents. See <a href="http://wiki.apache.org/solr/ExtractingRequestHandler">http://wiki.apache.org/solr/ExtractingRequestHandler</a> for information on how to use Solr Cell and what parameters are available.</div> - </dd> - <dt class="field"> - <span class="method-title">extractFromUrl</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodextractFromUrl">Apache_Solr_Service::extractFromUrl()</a> in Service.php</div> - <div class="index-item-description">Use Solr Cell to extract document contents. See <a href="http://wiki.apache.org/solr/ExtractingRequestHandler">http://wiki.apache.org/solr/ExtractingRequestHandler</a> for information on how to use Solr Cell and what parameters are available.</div> - </dd> - <dt class="field"> - EXTRACT_SERVLET - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#constEXTRACT_SERVLET">Apache_Solr_Service::EXTRACT_SERVLET</a> in Service.php</div> - </dd> - </dl> - <a name="f"></a> - <div class="index-letter-section"> - <div style="float: left" class="index-letter-title">f</div> - <div style="float: right"><a href="#top">top</a></div> - <div style="clear: both"></div> - </div> - <dl> - <dt class="field"> - <span class="include-title">FileGetContents.php</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/_HttpTransport---FileGetContents.php.html">FileGetContents.php</a> in FileGetContents.php</div> - </dd> - </dl> - <a name="g"></a> - <div class="index-letter-section"> - <div style="float: left" class="index-letter-title">g</div> - <div style="float: right"><a href="#top">top</a></div> - <div style="clear: both"></div> - </div> - <dl> - <dt class="field"> - <span class="method-title">getBody</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Response.html#methodgetBody">Apache_Solr_HttpTransport_Response::getBody()</a> in Response.php</div> - <div class="index-item-description">Get the raw response body</div> - </dd> - <dt class="field"> - <span class="method-title">getBoost</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#methodgetBoost">Apache_Solr_Document::getBoost()</a> in Document.php</div> - <div class="index-item-description">Get current document boost</div> - </dd> - <dt class="field"> - <span class="method-title">getCollapseSingleValueArrays</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodgetCollapseSingleValueArrays">Apache_Solr_Service::getCollapseSingleValueArrays()</a> in Service.php</div> - <div class="index-item-description">Get the current state of the collapse single value arrays flag.</div> - </dd> - <dt class="field"> - <span class="method-title">getCreateDocuments</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodgetCreateDocuments">Apache_Solr_Service_Balancer::getCreateDocuments()</a> in Balancer.php</div> - <div class="index-item-description">Get the current state of teh create documents flag.</div> - </dd> - <dt class="field"> - <span class="method-title">getCreateDocuments</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodgetCreateDocuments">Apache_Solr_Service::getCreateDocuments()</a> in Service.php</div> - <div class="index-item-description">Get the current state of teh create documents flag.</div> - </dd> - <dt class="field"> - <span class="method-title">getDefaultStatusMessage</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Response.html#methodgetDefaultStatusMessage">Apache_Solr_HttpTransport_Response::getDefaultStatusMessage()</a> in Response.php</div> - <div class="index-item-description">Get the HTTP status message based on status code</div> - </dd> - <dt class="field"> - <span class="method-title">getDefaultTimeout</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Abstract.html#methodgetDefaultTimeout">Apache_Solr_HttpTransport_Abstract::getDefaultTimeout()</a> in Abstract.php</div> - <div class="index-item-description">Get the current default timeout setting (initially the default_socket_timeout ini setting) in seconds</div> - </dd> - <dt class="field"> - <span class="method-title">getDefaultTimeout</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Interface.html#methodgetDefaultTimeout">Apache_Solr_HttpTransport_Interface::getDefaultTimeout()</a> in Interface.php</div> - <div class="index-item-description">Get the current default timeout for all HTTP requests</div> - </dd> - <dt class="field"> - <span class="method-title">getDefaultTimeout</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodgetDefaultTimeout">Apache_Solr_Service::getDefaultTimeout()</a> in Service.php</div> - <div class="index-item-description">Get the current default timeout setting (initially the default_socket_timeout ini setting) in seconds</div> - </dd> - <dt class="field"> - <span class="method-title">getEncoding</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Response.html#methodgetEncoding">Apache_Solr_HttpTransport_Response::getEncoding()</a> in Response.php</div> - <div class="index-item-description">Get the charset encoding of the response body.</div> - </dd> - <dt class="field"> - <span class="method-title">getEncoding</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Response.html#methodgetEncoding">Apache_Solr_Response::getEncoding()</a> in Response.php</div> - <div class="index-item-description">Get character encoding of this response. Should usually be utf-8, but just in case</div> - </dd> - <dt class="field"> - <span class="method-title">getField</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#methodgetField">Apache_Solr_Document::getField()</a> in Document.php</div> - <div class="index-item-description">Get field information</div> - </dd> - <dt class="field"> - <span class="method-title">getFieldBoost</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#methodgetFieldBoost">Apache_Solr_Document::getFieldBoost()</a> in Document.php</div> - <div class="index-item-description">Get the currently set field boost for a document field</div> - </dd> - <dt class="field"> - <span class="method-title">getFieldBoosts</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#methodgetFieldBoosts">Apache_Solr_Document::getFieldBoosts()</a> in Document.php</div> - <div class="index-item-description">Return current field boosts, indexed by field name</div> - </dd> - <dt class="field"> - <span class="method-title">getFieldNames</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#methodgetFieldNames">Apache_Solr_Document::getFieldNames()</a> in Document.php</div> - <div class="index-item-description">Get the names of all fields in this document</div> - </dd> - <dt class="field"> - <span class="method-title">getFieldValues</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#methodgetFieldValues">Apache_Solr_Document::getFieldValues()</a> in Document.php</div> - <div class="index-item-description">Get the values of all fields in this document</div> - </dd> - <dt class="field"> - <span class="method-title">getHost</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodgetHost">Apache_Solr_Service::getHost()</a> in Service.php</div> - <div class="index-item-description">Returns the set host</div> - </dd> - <dt class="field"> - <span class="method-title">getHttpStatus</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Response.html#methodgetHttpStatus">Apache_Solr_Response::getHttpStatus()</a> in Response.php</div> - <div class="index-item-description">Get the HTTP status code</div> - </dd> - <dt class="field"> - <span class="method-title">getHttpStatusMessage</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Response.html#methodgetHttpStatusMessage">Apache_Solr_Response::getHttpStatusMessage()</a> in Response.php</div> - <div class="index-item-description">Get the HTTP status message of the response</div> - </dd> - <dt class="field"> - <span class="method-title">getHttpTransport</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodgetHttpTransport">Apache_Solr_Service::getHttpTransport()</a> in Service.php</div> - <div class="index-item-description">Get the current configured HTTP Transport</div> - </dd> - <dt class="field"> - <span class="method-title">getIterator</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#methodgetIterator">Apache_Solr_Document::getIterator()</a> in Document.php</div> - <div class="index-item-description">IteratorAggregate implementation function. Allows usage:</div> - </dd> - <dt class="field"> - <span class="method-title">getMimeType</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Response.html#methodgetMimeType">Apache_Solr_HttpTransport_Response::getMimeType()</a> in Response.php</div> - <div class="index-item-description">Get the mimetype of the response body</div> - </dd> - <dt class="field"> - <span class="method-title">getNamedListTreatment</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodgetNamedListTreatment">Apache_Solr_Service::getNamedListTreatment()</a> in Service.php</div> - <div class="index-item-description">Get the current setting for named list treatment.</div> - </dd> - <dt class="field"> - <span class="method-title">getPath</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodgetPath">Apache_Solr_Service::getPath()</a> in Service.php</div> - <div class="index-item-description">Get the set path.</div> - </dd> - <dt class="field"> - <span class="method-title">getPort</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodgetPort">Apache_Solr_Service::getPort()</a> in Service.php</div> - <div class="index-item-description">Get the set port</div> - </dd> - <dt class="field"> - <span class="method-title">getRawResponse</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Response.html#methodgetRawResponse">Apache_Solr_Response::getRawResponse()</a> in Response.php</div> - <div class="index-item-description">Get the raw response as it was given to this object</div> - </dd> - <dt class="field"> - <span class="method-title">getResponse</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransportException.html#methodgetResponse">Apache_Solr_HttpTransportException::getResponse()</a> in HttpTransportException.php</div> - <div class="index-item-description">Get the response for which this exception was generated</div> - </dd> - <dt class="field"> - <span class="method-title">getStatusCode</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Response.html#methodgetStatusCode">Apache_Solr_HttpTransport_Response::getStatusCode()</a> in Response.php</div> - <div class="index-item-description">Get the status code of the response</div> - </dd> - <dt class="field"> - <span class="method-title">getStatusMessage</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Response.html#methodgetStatusMessage">Apache_Solr_HttpTransport_Response::getStatusMessage()</a> in Response.php</div> - <div class="index-item-description">Get the status message of the response</div> - </dd> - <dt class="field"> - <span class="method-title">getType</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Response.html#methodgetType">Apache_Solr_Response::getType()</a> in Response.php</div> - <div class="index-item-description">Get content type of this Solr response</div> - </dd> - </dl> - <a name="h"></a> - <div class="index-letter-section"> - <div style="float: left" class="index-letter-title">h</div> - <div style="float: right"><a href="#top">top</a></div> - <div style="clear: both"></div> - </div> - <dl> - <dt class="field"> - <span class="include-title">HttpTransportException.php</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/_HttpTransportException.php.html">HttpTransportException.php</a> in HttpTransportException.php</div> - </dd> - </dl> - <a name="i"></a> - <div class="index-letter-section"> - <div style="float: left" class="index-letter-title">i</div> - <div style="float: right"><a href="#top">top</a></div> - <div style="clear: both"></div> - </div> - <dl> - <dt class="field"> - <span class="include-title">Interface.php</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/_HttpTransport---Interface.php.html">Interface.php</a> in Interface.php</div> - </dd> - <dt class="field"> - <span class="include-title">InvalidArgumentException.php</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/_InvalidArgumentException.php.html">InvalidArgumentException.php</a> in InvalidArgumentException.php</div> - </dd> - </dl> - <a name="m"></a> - <div class="index-letter-section"> - <div style="float: left" class="index-letter-title">m</div> - <div style="float: right"><a href="#top">top</a></div> - <div style="clear: both"></div> - </div> - <dl> - <dt class="field"> - METHOD_GET - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#constMETHOD_GET">Apache_Solr_Service::METHOD_GET</a> in Service.php</div> - <div class="index-item-description">Search HTTP Methods</div> - </dd> - <dt class="field"> - METHOD_POST - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#constMETHOD_POST">Apache_Solr_Service::METHOD_POST</a> in Service.php</div> - </dd> - </dl> - <a name="n"></a> - <div class="index-letter-section"> - <div style="float: left" class="index-letter-title">n</div> - <div style="float: right"><a href="#top">top</a></div> - <div style="clear: both"></div> - </div> - <dl> - <dt class="field"> - NAMED_LIST_FLAT - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#constNAMED_LIST_FLAT">Apache_Solr_Service::NAMED_LIST_FLAT</a> in Service.php</div> - <div class="index-item-description">NamedList Treatment constants</div> - </dd> - <dt class="field"> - NAMED_LIST_MAP - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#constNAMED_LIST_MAP">Apache_Solr_Service::NAMED_LIST_MAP</a> in Service.php</div> - </dd> - <dt class="field"> - <span class="include-title">NoServiceAvailableException.php</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/_NoServiceAvailableException.php.html">NoServiceAvailableException.php</a> in NoServiceAvailableException.php</div> - </dd> - </dl> - <a name="o"></a> - <div class="index-letter-section"> - <div style="float: left" class="index-letter-title">o</div> - <div style="float: right"><a href="#top">top</a></div> - <div style="clear: both"></div> - </div> - <dl> - <dt class="field"> - <span class="method-title">optimize</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodoptimize">Apache_Solr_Service::optimize()</a> in Service.php</div> - <div class="index-item-description">Send an optimize command. Will be synchronous unless both wait parameters are set to false.</div> - </dd> - <dt class="field"> - <span class="method-title">optimize</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodoptimize">Apache_Solr_Service_Balancer::optimize()</a> in Balancer.php</div> - <div class="index-item-description">Send an optimize command. Will be synchronous unless both wait parameters are set to false.</div> - </dd> - </dl> - <a name="p"></a> - <div class="index-letter-section"> - <div style="float: left" class="index-letter-title">p</div> - <div style="float: right"><a href="#top">top</a></div> - <div style="clear: both"></div> - </div> - <dl> - <dt class="field"> - <span class="include-title">ParserException.php</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/_ParserException.php.html">ParserException.php</a> in ParserException.php</div> - </dd> - <dt class="field"> - <span class="method-title">performGetRequest</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_CurlNoReuse.html#methodperformGetRequest">Apache_Solr_HttpTransport_CurlNoReuse::performGetRequest()</a> in CurlNoReuse.php</div> - </dd> - <dt class="field"> - <span class="method-title">performGetRequest</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Curl.html#methodperformGetRequest">Apache_Solr_HttpTransport_Curl::performGetRequest()</a> in Curl.php</div> - </dd> - <dt class="field"> - <span class="method-title">performGetRequest</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_FileGetContents.html#methodperformGetRequest">Apache_Solr_HttpTransport_FileGetContents::performGetRequest()</a> in FileGetContents.php</div> - </dd> - <dt class="field"> - <span class="method-title">performGetRequest</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Interface.html#methodperformGetRequest">Apache_Solr_HttpTransport_Interface::performGetRequest()</a> in Interface.php</div> - <div class="index-item-description">Perform a GET HTTP operation with an optional timeout and return the response contents, use getLastResponseHeaders to retrieve HTTP headers</div> - </dd> - <dt class="field"> - <span class="method-title">performHeadRequest</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Interface.html#methodperformHeadRequest">Apache_Solr_HttpTransport_Interface::performHeadRequest()</a> in Interface.php</div> - <div class="index-item-description">Perform a HEAD HTTP operation with an optional timeout and return the response headers - NOTE: head requests have no response body</div> - </dd> - <dt class="field"> - <span class="method-title">performHeadRequest</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_FileGetContents.html#methodperformHeadRequest">Apache_Solr_HttpTransport_FileGetContents::performHeadRequest()</a> in FileGetContents.php</div> - </dd> - <dt class="field"> - <span class="method-title">performHeadRequest</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_CurlNoReuse.html#methodperformHeadRequest">Apache_Solr_HttpTransport_CurlNoReuse::performHeadRequest()</a> in CurlNoReuse.php</div> - </dd> - <dt class="field"> - <span class="method-title">performHeadRequest</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Curl.html#methodperformHeadRequest">Apache_Solr_HttpTransport_Curl::performHeadRequest()</a> in Curl.php</div> - </dd> - <dt class="field"> - <span class="method-title">performPostRequest</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_CurlNoReuse.html#methodperformPostRequest">Apache_Solr_HttpTransport_CurlNoReuse::performPostRequest()</a> in CurlNoReuse.php</div> - </dd> - <dt class="field"> - <span class="method-title">performPostRequest</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Interface.html#methodperformPostRequest">Apache_Solr_HttpTransport_Interface::performPostRequest()</a> in Interface.php</div> - <div class="index-item-description">Perform a POST HTTP operation with an optional timeout and return the response contents, use getLastResponseHeaders to retrieve HTTP headers</div> - </dd> - <dt class="field"> - <span class="method-title">performPostRequest</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Curl.html#methodperformPostRequest">Apache_Solr_HttpTransport_Curl::performPostRequest()</a> in Curl.php</div> - </dd> - <dt class="field"> - <span class="method-title">performPostRequest</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_FileGetContents.html#methodperformPostRequest">Apache_Solr_HttpTransport_FileGetContents::performPostRequest()</a> in FileGetContents.php</div> - </dd> - <dt class="field"> - <span class="method-title">phrase</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodphrase">Apache_Solr_Service::phrase()</a> in Service.php</div> - <div class="index-item-description">Convenience function for creating phrase syntax from a value</div> - </dd> - <dt class="field"> - <span class="method-title">phrase</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodphrase">Apache_Solr_Service_Balancer::phrase()</a> in Balancer.php</div> - <div class="index-item-description">Convenience function for creating phrase syntax from a value</div> - </dd> - <dt class="field"> - <span class="method-title">ping</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodping">Apache_Solr_Service::ping()</a> in Service.php</div> - <div class="index-item-description">Call the /admin/ping servlet, can be used to quickly tell if a connection to the server is able to be made.</div> - </dd> - <dt class="field"> - PING_SERVLET - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#constPING_SERVLET">Apache_Solr_Service::PING_SERVLET</a> in Service.php</div> - <div class="index-item-description">Servlet mappings</div> - </dd> - </dl> - <a name="r"></a> - <div class="index-letter-section"> - <div style="float: left" class="index-letter-title">r</div> - <div style="float: right"><a href="#top">top</a></div> - <div style="clear: both"></div> - </div> - <dl> - <dt class="field"> - <span class="include-title">Response.php</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/_HttpTransport---Response.php.html">Response.php</a> in Response.php</div> - </dd> - <dt class="field"> - <span class="method-title">removeReadService</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodremoveReadService">Apache_Solr_Service_Balancer::removeReadService()</a> in Balancer.php</div> - <div class="index-item-description">Removes a service instance or descriptor from the available services</div> - </dd> - <dt class="field"> - <span class="method-title">removeWriteService</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodremoveWriteService">Apache_Solr_Service_Balancer::removeWriteService()</a> in Balancer.php</div> - <div class="index-item-description">Removes a service instance or descriptor from the available services</div> - </dd> - <dt class="field"> - <span class="include-title">Response.php</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/_Response.php.html">Response.php</a> in Response.php</div> - </dd> - </dl> - <a name="s"></a> - <div class="index-letter-section"> - <div style="float: left" class="index-letter-title">s</div> - <div style="float: right"><a href="#top">top</a></div> - <div style="clear: both"></div> - </div> - <dl> - <dt class="field"> - <span class="method-title">search</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodsearch">Apache_Solr_Service::search()</a> in Service.php</div> - <div class="index-item-description">Simple Search interface</div> - </dd> - <dt class="field"> - <span class="method-title">search</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodsearch">Apache_Solr_Service_Balancer::search()</a> in Balancer.php</div> - <div class="index-item-description">Simple Search interface</div> - </dd> - <dt class="field"> - SEARCH_SERVLET - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#constSEARCH_SERVLET">Apache_Solr_Service::SEARCH_SERVLET</a> in Service.php</div> - </dd> - <dt class="field"> - <span class="include-title">Service.php</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/_Service.php.html">Service.php</a> in Service.php</div> - </dd> - <dt class="field"> - <span class="method-title">setBoost</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#methodsetBoost">Apache_Solr_Document::setBoost()</a> in Document.php</div> - <div class="index-item-description">Set document boost factor</div> - </dd> - <dt class="field"> - <span class="method-title">setCollapseSingleValueArrays</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodsetCollapseSingleValueArrays">Apache_Solr_Service::setCollapseSingleValueArrays()</a> in Service.php</div> - <div class="index-item-description">Set the collapse single value arrays flag.</div> - </dd> - <dt class="field"> - <span class="method-title">setCreateDocuments</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodsetCreateDocuments">Apache_Solr_Service::setCreateDocuments()</a> in Service.php</div> - <div class="index-item-description">Set the create documents flag. This determines whether <a href="Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a> objects will parse the response and create <a href="Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a> instances in place.</div> - </dd> - <dt class="field"> - <span class="method-title">setCreateDocuments</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodsetCreateDocuments">Apache_Solr_Service_Balancer::setCreateDocuments()</a> in Balancer.php</div> - <div class="index-item-description">Set the create documents flag. This determines whether <a href="Apache/Solr/Apache_Solr_Response.html">Apache_Solr_Response</a> objects will parse the response and create <a href="Apache/Solr/Apache_Solr_Document.html">Apache_Solr_Document</a> instances in place.</div> - </dd> - <dt class="field"> - <span class="method-title">setDefaultTimeout</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Abstract.html#methodsetDefaultTimeout">Apache_Solr_HttpTransport_Abstract::setDefaultTimeout()</a> in Abstract.php</div> - <div class="index-item-description">Set the current default timeout for all HTTP requests</div> - </dd> - <dt class="field"> - <span class="method-title">setDefaultTimeout</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodsetDefaultTimeout">Apache_Solr_Service::setDefaultTimeout()</a> in Service.php</div> - <div class="index-item-description">Set the default timeout for all calls that aren't passed a specific timeout</div> - </dd> - <dt class="field"> - <span class="method-title">setDefaultTimeout</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Interface.html#methodsetDefaultTimeout">Apache_Solr_HttpTransport_Interface::setDefaultTimeout()</a> in Interface.php</div> - <div class="index-item-description">Set the current default timeout for all HTTP requests</div> - </dd> - <dt class="field"> - <span class="method-title">setField</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#methodsetField">Apache_Solr_Document::setField()</a> in Document.php</div> - <div class="index-item-description">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.</div> - </dd> - <dt class="field"> - <span class="method-title">setFieldBoost</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#methodsetFieldBoost">Apache_Solr_Document::setFieldBoost()</a> in Document.php</div> - <div class="index-item-description">Set the field boost for a document field</div> - </dd> - <dt class="field"> - <span class="method-title">setHost</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodsetHost">Apache_Solr_Service::setHost()</a> in Service.php</div> - <div class="index-item-description">Set the host used. If empty will fallback to constants</div> - </dd> - <dt class="field"> - <span class="method-title">setHttpTransport</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodsetHttpTransport">Apache_Solr_Service::setHttpTransport()</a> in Service.php</div> - <div class="index-item-description">Set the HTTP Transport implemenation that will be used for all HTTP requests</div> - </dd> - <dt class="field"> - <span class="method-title">setMultiValue</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#methodsetMultiValue">Apache_Solr_Document::setMultiValue()</a> in Document.php</div> - <div class="index-item-description">Handle the array manipulation for a multi-valued field</div> - </dd> - <dt class="field"> - <span class="method-title">setNamedListTreatment</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodsetNamedListTreatment">Apache_Solr_Service::setNamedListTreatment()</a> in Service.php</div> - <div class="index-item-description">Set how NamedLists should be formatted in the response data. This mainly effects the facet counts format.</div> - </dd> - <dt class="field"> - <span class="method-title">setPath</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodsetPath">Apache_Solr_Service::setPath()</a> in Service.php</div> - <div class="index-item-description">Set the path used. If empty will fallback to constants</div> - </dd> - <dt class="field"> - <span class="method-title">setPort</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodsetPort">Apache_Solr_Service::setPort()</a> in Service.php</div> - <div class="index-item-description">Set the port used. If empty will fallback to constants</div> - </dd> - <dt class="field"> - <span class="method-title">setQueryDelimiter</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodsetQueryDelimiter">Apache_Solr_Service::setQueryDelimiter()</a> in Service.php</div> - <div class="index-item-description">Set the string used to separate the path form the query string.</div> - </dd> - <dt class="field"> - <span class="method-title">setQueryStringDelimiter</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodsetQueryStringDelimiter">Apache_Solr_Service::setQueryStringDelimiter()</a> in Service.php</div> - <div class="index-item-description">Set the string used to separate the parameters in thequery string Defaulted to '&'</div> - </dd> - <dt class="field"> - <span class="method-title">setReadPingTimeout</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodsetReadPingTimeout">Apache_Solr_Service_Balancer::setReadPingTimeout()</a> in Balancer.php</div> - </dd> - <dt class="field"> - <span class="method-title">setUseBackoff</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodsetUseBackoff">Apache_Solr_Service_Balancer::setUseBackoff()</a> in Balancer.php</div> - </dd> - <dt class="field"> - <span class="method-title">setWritePingTimeout</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodsetWritePingTimeout">Apache_Solr_Service_Balancer::setWritePingTimeout()</a> in Balancer.php</div> - </dd> - <dt class="field"> - SOLR_WRITER - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#constSOLR_WRITER">Apache_Solr_Service::SOLR_WRITER</a> in Service.php</div> - <div class="index-item-description">Response writer we'll request - JSON. See http://code.google.com/p/solr-php-client/issues/detail?id=6#c1 for reasoning</div> - </dd> - <dt class="field"> - SVN_ID - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#constSVN_ID">Apache_Solr_Service_Balancer::SVN_ID</a> in Balancer.php</div> - <div class="index-item-description">SVN ID meta data for this class</div> - </dd> - <dt class="field"> - SVN_ID - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Curl.html#constSVN_ID">Apache_Solr_HttpTransport_Curl::SVN_ID</a> in Curl.php</div> - <div class="index-item-description">SVN ID meta data for this class</div> - </dd> - <dt class="field"> - SVN_ID - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#constSVN_ID">Apache_Solr_Service::SVN_ID</a> in Service.php</div> - <div class="index-item-description">SVN ID meta data for this class</div> - </dd> - <dt class="field"> - SVN_ID - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Response.html#constSVN_ID">Apache_Solr_Response::SVN_ID</a> in Response.php</div> - <div class="index-item-description">SVN ID meta data for this class</div> - </dd> - <dt class="field"> - SVN_ID - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_ParserException.html#constSVN_ID">Apache_Solr_ParserException::SVN_ID</a> in ParserException.php</div> - <div class="index-item-description">SVN ID meta data for this class</div> - </dd> - <dt class="field"> - SVN_ID - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_InvalidArgumentException.html#constSVN_ID">Apache_Solr_InvalidArgumentException::SVN_ID</a> in InvalidArgumentException.php</div> - <div class="index-item-description">SVN ID meta data for this class</div> - </dd> - <dt class="field"> - SVN_ID - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_FileGetContents.html#constSVN_ID">Apache_Solr_HttpTransport_FileGetContents::SVN_ID</a> in FileGetContents.php</div> - <div class="index-item-description">SVN ID meta data for this class</div> - </dd> - <dt class="field"> - SVN_ID - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransportException.html#constSVN_ID">Apache_Solr_HttpTransportException::SVN_ID</a> in HttpTransportException.php</div> - <div class="index-item-description">SVN ID meta data for this class</div> - </dd> - <dt class="field"> - SVN_ID - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Exception.html#constSVN_ID">Apache_Solr_Exception::SVN_ID</a> in Exception.php</div> - <div class="index-item-description">SVN ID meta data for this class</div> - </dd> - <dt class="field"> - SVN_ID - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_NoServiceAvailableException.html#constSVN_ID">Apache_Solr_NoServiceAvailableException::SVN_ID</a> in NoServiceAvailableException.php</div> - <div class="index-item-description">SVN ID meta data for this class</div> - </dd> - <dt class="field"> - SVN_ID - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_CurlNoReuse.html#constSVN_ID">Apache_Solr_HttpTransport_CurlNoReuse::SVN_ID</a> in CurlNoReuse.php</div> - <div class="index-item-description">SVN ID meta data for this class</div> - </dd> - <dt class="field"> - SVN_ID - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#constSVN_ID">Apache_Solr_Document::SVN_ID</a> in Document.php</div> - <div class="index-item-description">SVN ID meta data for this class</div> - </dd> - <dt class="field"> - SVN_REVISION - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#constSVN_REVISION">Apache_Solr_Service::SVN_REVISION</a> in Service.php</div> - <div class="index-item-description">SVN Revision meta data for this class</div> - </dd> - <dt class="field"> - SVN_REVISION - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Document.html#constSVN_REVISION">Apache_Solr_Document::SVN_REVISION</a> in Document.php</div> - <div class="index-item-description">SVN Revision meta data for this class</div> - </dd> - <dt class="field"> - SVN_REVISION - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Exception.html#constSVN_REVISION">Apache_Solr_Exception::SVN_REVISION</a> in Exception.php</div> - <div class="index-item-description">SVN Revision meta data for this class</div> - </dd> - <dt class="field"> - SVN_REVISION - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_FileGetContents.html#constSVN_REVISION">Apache_Solr_HttpTransport_FileGetContents::SVN_REVISION</a> in FileGetContents.php</div> - <div class="index-item-description">SVN Revision meta data for this class</div> - </dd> - <dt class="field"> - SVN_REVISION - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransportException.html#constSVN_REVISION">Apache_Solr_HttpTransportException::SVN_REVISION</a> in HttpTransportException.php</div> - <div class="index-item-description">SVN Revision meta data for this class</div> - </dd> - <dt class="field"> - SVN_REVISION - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Response.html#constSVN_REVISION">Apache_Solr_Response::SVN_REVISION</a> in Response.php</div> - <div class="index-item-description">SVN Revision meta data for this class</div> - </dd> - <dt class="field"> - SVN_REVISION - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_CurlNoReuse.html#constSVN_REVISION">Apache_Solr_HttpTransport_CurlNoReuse::SVN_REVISION</a> in CurlNoReuse.php</div> - <div class="index-item-description">SVN Revision meta data for this class</div> - </dd> - <dt class="field"> - SVN_REVISION - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_NoServiceAvailableException.html#constSVN_REVISION">Apache_Solr_NoServiceAvailableException::SVN_REVISION</a> in NoServiceAvailableException.php</div> - <div class="index-item-description">SVN Revision meta data for this class</div> - </dd> - <dt class="field"> - SVN_REVISION - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#constSVN_REVISION">Apache_Solr_Service_Balancer::SVN_REVISION</a> in Balancer.php</div> - <div class="index-item-description">SVN Revision meta data for this class</div> - </dd> - <dt class="field"> - SVN_REVISION - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_HttpTransport_Curl.html#constSVN_REVISION">Apache_Solr_HttpTransport_Curl::SVN_REVISION</a> in Curl.php</div> - <div class="index-item-description">SVN Revision meta data for this class</div> - </dd> - <dt class="field"> - SVN_REVISION - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_InvalidArgumentException.html#constSVN_REVISION">Apache_Solr_InvalidArgumentException::SVN_REVISION</a> in InvalidArgumentException.php</div> - <div class="index-item-description">SVN Revision meta data for this class</div> - </dd> - <dt class="field"> - SVN_REVISION - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_ParserException.html#constSVN_REVISION">Apache_Solr_ParserException::SVN_REVISION</a> in ParserException.php</div> - <div class="index-item-description">SVN Revision meta data for this class</div> - </dd> - </dl> - <a name="t"></a> - <div class="index-letter-section"> - <div style="float: left" class="index-letter-title">t</div> - <div style="float: right"><a href="#top">top</a></div> - <div style="clear: both"></div> - </div> - <dl> - <dt class="field"> - <span class="method-title">threads</span> - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#methodthreads">Apache_Solr_Service::threads()</a> in Service.php</div> - <div class="index-item-description">Call the /admin/threads servlet and retrieve information about all threads in the Solr servlet's thread group. Useful for diagnostics.</div> - </dd> - <dt class="field"> - THREADS_SERVLET - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#constTHREADS_SERVLET">Apache_Solr_Service::THREADS_SERVLET</a> in Service.php</div> - </dd> - </dl> - <a name="u"></a> - <div class="index-letter-section"> - <div style="float: left" class="index-letter-title">u</div> - <div style="float: right"><a href="#top">top</a></div> - <div style="clear: both"></div> - </div> - <dl> - <dt class="field"> - UPDATE_SERVLET - </dt> - <dd class="index-item-body"> - <div class="index-item-details"><a href="Apache/Solr/Apache_Solr_Service.html#constUPDATE_SERVLET">Apache_Solr_Service::UPDATE_SERVLET</a> in Service.php</div> - </dd> - </dl> - -<div class="index-letter-menu"> - <a class="index-letter" href="elementindex_Apache.html#a">a</a> - <a class="index-letter" href="elementindex_Apache.html#b">b</a> - <a class="index-letter" href="elementindex_Apache.html#c">c</a> - <a class="index-letter" href="elementindex_Apache.html#d">d</a> - <a class="index-letter" href="elementindex_Apache.html#e">e</a> - <a class="index-letter" href="elementindex_Apache.html#f">f</a> - <a class="index-letter" href="elementindex_Apache.html#g">g</a> - <a class="index-letter" href="elementindex_Apache.html#h">h</a> - <a class="index-letter" href="elementindex_Apache.html#i">i</a> - <a class="index-letter" href="elementindex_Apache.html#m">m</a> - <a class="index-letter" href="elementindex_Apache.html#n">n</a> - <a class="index-letter" href="elementindex_Apache.html#o">o</a> - <a class="index-letter" href="elementindex_Apache.html#p">p</a> - <a class="index-letter" href="elementindex_Apache.html#r">r</a> - <a class="index-letter" href="elementindex_Apache.html#s">s</a> - <a class="index-letter" href="elementindex_Apache.html#t">t</a> - <a class="index-letter" href="elementindex_Apache.html#u">u</a> - <a class="index-letter" href="elementindex_Apache.html#_">_</a> -</div> </body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/errors.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/errors.html deleted file mode 100644 index 56c8e288c023eeb92059287b82fdeb408de4b1a1..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/errors.html +++ /dev/null @@ -1,95 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>phpDocumentor Parser Errors and Warnings</title> - <link rel="stylesheet" href="media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <a href="#Post-parsing">Post-parsing</a><br> -<a href="#Balancer.php">Balancer.php</a><br> -<a href="#Curl.php">Curl.php</a><br> -<a href="#CurlNoReuse.php">CurlNoReuse.php</a><br> -<a href="#Document.php">Document.php</a><br> -<a href="#Exception.php">Exception.php</a><br> -<a href="#FileGetContents.php">FileGetContents.php</a><br> -<a href="#HttpTransportException.php">HttpTransportException.php</a><br> -<a href="#Interface.php">Interface.php</a><br> -<a href="#InvalidArgumentException.php">InvalidArgumentException.php</a><br> -<a href="#NoServiceAvailableException.php">NoServiceAvailableException.php</a><br> -<a href="#ParserException.php">ParserException.php</a><br> -<a href="#Response.php">Response.php</a><br> -<a href="#Service.php">Service.php</a><br> -<a name="Abstract.php"></a> -<h1>Abstract.php</h1> -<h2>Warnings:</h2><br> -<b>Warning on line 43</b> - no @package tag was used in a DocBlock for class Apache_Solr_HttpTransport_Abstract<br> -<a name="Balancer.php"></a> -<h1>Balancer.php</h1> -<h2>Warnings:</h2><br> -<b>Warning on line 40</b> - Page-level DocBlock precedes "require_once dirname(dirname(__FILE__)).'/Service.php'", use another DocBlock to document the source element<br> -<b>Warning on line 51</b> - no @package tag was used in a DocBlock for class Apache_Solr_Service_Balancer<br> -<a name="Curl.php"></a> -<h1>Curl.php</h1> -<h2>Warnings:</h2><br> -<b>Warning on line 39</b> - Page-level DocBlock precedes "require_once dirname(__FILE__).'/Abstract.php'", use another DocBlock to document the source element<br> -<b>Warning on line 45</b> - no @package tag was used in a DocBlock for class Apache_Solr_HttpTransport_Curl<br> -<a name="CurlNoReuse.php"></a> -<h1>CurlNoReuse.php</h1> -<h2>Warnings:</h2><br> -<b>Warning on line 39</b> - Page-level DocBlock precedes "require_once dirname(__FILE__).'/Abstract.php'", use another DocBlock to document the source element<br> -<b>Warning on line 47</b> - no @package tag was used in a DocBlock for class Apache_Solr_HttpTransport_CurlNoReuse<br> -<a name="Document.php"></a> -<h1>Document.php</h1> -<h2>Warnings:</h2><br> -<b>Warning on line 58</b> - no @package tag was used in a DocBlock for class Apache_Solr_Document<br> -<h2>Errors:</h2><br> -<b>Error on line 57</b> - Unclosed code tag in DocBlock, parsing will be incorrect<br> -<a name="Exception.php"></a> -<h1>Exception.php</h1> -<h2>Warnings:</h2><br> -<b>Warning on line 39</b> - DocBlock would be page-level, but precedes class "Apache_Solr_Exception", use another DocBlock to document the file<br> -<a name="FileGetContents.php"></a> -<h1>FileGetContents.php</h1> -<h2>Warnings:</h2><br> -<b>Warning on line 39</b> - Page-level DocBlock precedes "require_once dirname(__FILE__).'/Abstract.php'", use another DocBlock to document the source element<br> -<b>Warning on line 45</b> - no @package tag was used in a DocBlock for class Apache_Solr_HttpTransport_FileGetContents<br> -<a name="HttpTransportException.php"></a> -<h1>HttpTransportException.php</h1> -<h2>Warnings:</h2><br> -<b>Warning on line 39</b> - DocBlock would be page-level, but precedes class "Apache_Solr_HttpTransportException", use another DocBlock to document the file<br> -<a name="Interface.php"></a> -<h1>Interface.php</h1> -<h2>Warnings:</h2><br> -<b>Warning on line 39</b> - Page-level DocBlock precedes "require_once dirname(__FILE__).'/Response.php'", use another DocBlock to document the source element<br> -<b>Warning on line 47</b> - no @package tag was used in a DocBlock for interface Apache_Solr_HttpTransport_Interface<br> -<a name="InvalidArgumentException.php"></a> -<h1>InvalidArgumentException.php</h1> -<h2>Warnings:</h2><br> -<b>Warning on line 39</b> - DocBlock would be page-level, but precedes class "Apache_Solr_InvalidArgumentException", use another DocBlock to document the file<br> -<a name="NoServiceAvailableException.php"></a> -<h1>NoServiceAvailableException.php</h1> -<h2>Warnings:</h2><br> -<b>Warning on line 39</b> - DocBlock would be page-level, but precedes class "Apache_Solr_NoServiceAvailableException", use another DocBlock to document the file<br> -<a name="ParserException.php"></a> -<h1>ParserException.php</h1> -<h2>Warnings:</h2><br> -<b>Warning on line 39</b> - DocBlock would be page-level, but precedes class "Apache_Solr_ParserException", use another DocBlock to document the file<br> -<a name="Response.php"></a> -<h1>Response.php</h1> -<h2>Warnings:</h2><br> -<b>Warning on line 38</b> - Page-level DocBlock precedes "require_once dirname(__FILE__).'/ParserException.php'", use another DocBlock to document the source element<br> -<b>Warning on line 44</b> - no @package tag was used in a DocBlock for class Apache_Solr_HttpTransport_Response<br> -<b>Warning on line 48</b> - no @package tag was used in a DocBlock for class Apache_Solr_Response<br> -<a name="Service.php"></a> -<h1>Service.php</h1> -<h2>Warnings:</h2><br> -<b>Warning on line 40</b> - Page-level DocBlock precedes "require_once dirname(__FILE__).'/Exception.php'", use another DocBlock to document the source element<br> -<b>Warning on line 86</b> - no @package tag was used in a DocBlock for class Apache_Solr_Service<br> - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:19 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/index.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/index.html deleted file mode 100644 index dd90e5269e9763cc654d99fcfc1047c913043264..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/index.html +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//FR" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> -<head> - <!-- Generated by phpDocumentor on Wed, 04 May 2011 11:01:08 -0400 --> - <title>Generated Documentation</title> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> -</head> - -<FRAMESET rows='120,*'> - <FRAME src='packages.html' name='left_top' frameborder="1" bordercolor="#999999"> - <FRAMESET cols='25%,*'> - <FRAME src='li_Apache.html' name='left_bottom' frameborder="1" bordercolor="#999999"> - <FRAME src='blank.html' name='right' frameborder="1" bordercolor="#999999"> - </FRAMESET> - <NOFRAMES> - <H2>Frame Alert</H2> - <P>This document is designed to be viewed using the frames feature. - If you see this message, you are using a non-frame-capable web client.</P> - </NOFRAMES> -</FRAMESET> -</HTML> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/li_Apache.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/li_Apache.html deleted file mode 100644 index 9b6e2b6e84ba99f41cab886c58c2e4011f888f63..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/li_Apache.html +++ /dev/null @@ -1,72 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title></title> - <link rel="stylesheet" href="media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <div class="package-title">Apache</div> -<div class="package-details"> - - <dl class="tree"> - - <dt class="folder-title">Description</dt> - <dd> - <a href='classtrees_Apache.html' target='right'>Class trees</a><br /> - <a href='elementindex_Apache.html' target='right'>Index of elements</a><br /> - <a href="todolist.html" target="right">Todo List</a><br /> - </dd> - - - - - - - - <dt class="sub-package">Solr</dt> - <dd> - <dl class="tree"> - <dt class="folder-title">Classes</dt> - <dd><a href='Apache/Solr/Apache_Solr_Document.html' target='right'>Apache_Solr_Document</a></dd> - <dd><a href='Apache/Solr/Apache_Solr_Exception.html' target='right'>Apache_Solr_Exception</a></dd> - <dd><a href='Apache/Solr/Apache_Solr_HttpTransportException.html' target='right'>Apache_Solr_HttpTransportException</a></dd> - <dd><a href='Apache/Solr/Apache_Solr_HttpTransport_Abstract.html' target='right'>Apache_Solr_HttpTransport_Abstract</a></dd> - <dd><a href='Apache/Solr/Apache_Solr_HttpTransport_Curl.html' target='right'>Apache_Solr_HttpTransport_Curl</a></dd> - <dd><a href='Apache/Solr/Apache_Solr_HttpTransport_CurlNoReuse.html' target='right'>Apache_Solr_HttpTransport_CurlNoReuse</a></dd> - <dd><a href='Apache/Solr/Apache_Solr_HttpTransport_FileGetContents.html' target='right'>Apache_Solr_HttpTransport_FileGetContents</a></dd> - <dd><a href='Apache/Solr/Apache_Solr_HttpTransport_Interface.html' target='right'>Apache_Solr_HttpTransport_Interface</a></dd> - <dd><a href='Apache/Solr/Apache_Solr_HttpTransport_Response.html' target='right'>Apache_Solr_HttpTransport_Response</a></dd> - <dd><a href='Apache/Solr/Apache_Solr_InvalidArgumentException.html' target='right'>Apache_Solr_InvalidArgumentException</a></dd> - <dd><a href='Apache/Solr/Apache_Solr_NoServiceAvailableException.html' target='right'>Apache_Solr_NoServiceAvailableException</a></dd> - <dd><a href='Apache/Solr/Apache_Solr_ParserException.html' target='right'>Apache_Solr_ParserException</a></dd> - <dd><a href='Apache/Solr/Apache_Solr_Response.html' target='right'>Apache_Solr_Response</a></dd> - <dd><a href='Apache/Solr/Apache_Solr_Service.html' target='right'>Apache_Solr_Service</a></dd> - <dd><a href='Apache/Solr/Apache_Solr_Service_Balancer.html' target='right'>Apache_Solr_Service_Balancer</a></dd> - <dt class="folder-title">Files</dt> - <dd><a href='Apache/Solr/_HttpTransport---Abstract.php.html' target='right'>Abstract.php</a></dd> - <dd><a href='Apache/Solr/_Service---Balancer.php.html' target='right'>Balancer.php</a></dd> - <dd><a href='Apache/Solr/_HttpTransport---Curl.php.html' target='right'>Curl.php</a></dd> - <dd><a href='Apache/Solr/_HttpTransport---CurlNoReuse.php.html' target='right'>CurlNoReuse.php</a></dd> - <dd><a href='Apache/Solr/_Document.php.html' target='right'>Document.php</a></dd> - <dd><a href='Apache/Solr/_Exception.php.html' target='right'>Exception.php</a></dd> - <dd><a href='Apache/Solr/_HttpTransport---FileGetContents.php.html' target='right'>FileGetContents.php</a></dd> - <dd><a href='Apache/Solr/_HttpTransportException.php.html' target='right'>HttpTransportException.php</a></dd> - <dd><a href='Apache/Solr/_HttpTransport---Interface.php.html' target='right'>Interface.php</a></dd> - <dd><a href='Apache/Solr/_InvalidArgumentException.php.html' target='right'>InvalidArgumentException.php</a></dd> - <dd><a href='Apache/Solr/_NoServiceAvailableException.php.html' target='right'>NoServiceAvailableException.php</a></dd> - <dd><a href='Apache/Solr/_ParserException.php.html' target='right'>ParserException.php</a></dd> - <dd><a href='Apache/Solr/_Response.php.html' target='right'>Response.php</a></dd> - <dd><a href='Apache/Solr/_HttpTransport---Response.php.html' target='right'>Response.php</a></dd> - <dd><a href='Apache/Solr/_Service.php.html' target='right'>Service.php</a></dd> - </dl> - </dd> - - - </dl> -</div> -<p class="notes"><a href="http://www.phpdoc.org" target="_blank">phpDocumentor v <span class="field">1.4.3</span></a></p> -</BODY> -</HTML> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/media/banner.css b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/media/banner.css deleted file mode 100644 index ba1a7ba52a86a39865cc4559514d7bfc7ea519ad..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/media/banner.css +++ /dev/null @@ -1,32 +0,0 @@ -body -{ - background-color: #DDDDDD; - margin: 0px; - padding: 0px; -} - -/* Banner (top bar) classes */ - -.banner { } - -.banner-menu -{ - clear: both; - padding: .5em; - border-top: 2px solid #999999; -} - -.banner-title -{ - text-align: right; - font-size: 20pt; - font-weight: bold; - margin: .2em; -} - -.package-selector -{ - background-color: #CCCCCC; - border: 1px solid black; - color: blue; -} diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/media/stylesheet.css b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/media/stylesheet.css deleted file mode 100644 index 051586b3b61fa64a9debb626c99ceb5de659aca9..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/media/stylesheet.css +++ /dev/null @@ -1,142 +0,0 @@ -a { color: #0000FF; text-decoration: none; } -a:hover { color: #FF0000; text-decoration: underline; } -a:active { color: #FF0000; text-decoration: underline; } - -body { background-color: #EEEEEE; font-family: Verdana, Arial, sans-serif } -body, table { font-size: 10pt } -a img { border: 0px; } -dd { margin-left: 0px; padding-left: 1em; } - -/* Page layout/boxes */ - -.info-box {} -.info-box-title { margin: 1em 0em 0em 0em; padding: .25em; font-weight: normal; font-size: 14pt; border: 2px solid #999999; background-color: #DDDDDD } -.info-box-body { border: 1px solid #999999; padding: .5em; background-color: #F8F8F8; } -.nav-bar { font-size: 8pt; white-space: nowrap; text-align: right; padding: .2em; margin: 0em 0em 1em 0em; } - -.oddrow { background-color: #DDDDDD; border: 1px solid #999999; padding: .5em; margin-bottom: 1em} -.evenrow { background-color: #DDDDDD; border: 1px solid #999999; padding: .5em; margin-bottom: 1em} - -.page-body { max-width: 800px; margin: auto; } -.tree dl { margin: 0px } - -/* Index formatting classes */ - -.index-item-body { margin-top: .5em; margin-bottom: .5em} -.index-item-description { margin-top: .25em } -.index-item-details { font-weight: normal; font-style: italic; font-size: 8pt } -.index-letter-section { background-color: #EEEEEE; border: 1px dotted #999999; padding: .5em; margin-bottom: 1em} -.index-letter-title { font-size: 12pt; font-weight: bold } -.index-letter-menu { text-align: center; margin: 1em } -.index-letter { font-size: 12pt } - -/* Docbook classes */ - -.description {} -.short-description { font-weight: bold; color: #666666; } -.tags { padding-left: 0em; margin-left: 3em; color: #666666; list-style-type: square; } -.parameters { padding-left: 0em; margin-left: 3em; font-style: italic; list-style-type: square; } -.redefinitions { font-size: 8pt; padding-left: 0em; margin-left: 2em; } -.package { } -.package-title { font-weight: bold; font-size: 14pt; border-bottom: 1px solid black } -.package-details { font-size: 85%; } -.sub-package { font-weight: bold; font-size: 120% } -.tutorial { border-width: thin; border-color: #0066ff } -.tutorial-nav-box { width: 100%; border: 2px solid #999999; background-color: #DDDDDD } -.nav-button-disabled { color: #999999; } -.nav-button:active, -.nav-button:focus, -.nav-button:hover { background-color: #AAAAAA; outline: 1px solid #666666; text-decoration: none } -.folder-title { font-style: italic } - -/* Generic formatting */ - -.field { font-weight: bold; } -.detail { font-size: 8pt; } -.notes { font-style: italic; font-size: 8pt; } -.separator { background-color: #999999; height: 2px; } -.warning { color: #FF6600; } -.disabled { font-style: italic; color: #999999; } - -/* Code elements */ - -.line-number { } - -.class-table { width: 100%; } -.class-table-header { border-bottom: 1px dotted #666666; text-align: left} -.class-name { color: #000000; font-weight: bold; } - -.method-summary { padding-left: 1em; font-size: 8pt } -.method-header { } -.method-definition { margin-bottom: .3em } -.method-title { font-weight: bold; } -.method-name { font-weight: bold; } -.method-signature { font-size: 85%; color: #0066BB; margin: .5em 0em } -.method-result { font-style: italic; } - -.var-summary { padding-left: 1em; font-size: 8pt; } -.var-header { } -.var-title { margin-bottom: .3em } -.var-type { color: red; font-weight: bold } -.var-name { font-weight: bold; } -.var-default {} -.var-description { font-weight: normal; color: #000000; } - -.include-title { } -.include-type { font-style: italic; } -.include-name { font-weight: bold; } - -.const-title { } -.const-name { font-weight: bold; } - -/* Syntax highlighting */ - -.src-code { border: 1px solid #336699; padding: 1em; background-color: #EEEEEE; - font-family: 'Courier New', Courier, monospace; font-weight: normal; } -.src-line { font-family: 'Courier New', Courier, monospace; font-weight: normal; } - -.src-comm { color: #666666; } -.src-id { } -.src-inc { color: #0000FF; } -.src-key { color: #0000FF; } -.src-num { color: #CC0000; } -.src-str { color: #66cccc; } -.src-sym { font-weight: bold; } -.src-var { } - -.src-php { font-weight: bold; } - -.src-doc { color: #009999 } -.src-doc-close-template { color: #0000FF } -.src-doc-coretag { color: #0099FF; font-weight: bold } -.src-doc-inlinetag { color: #0099FF } -.src-doc-internal { color: #6699cc } -.src-doc-tag { color: #0080CC } -.src-doc-template { color: #0000FF } -.src-doc-type { font-style: italic } -.src-doc-var { font-style: italic } - -.tute-tag { color: #009999 } -.tute-attribute-name { color: #0000FF } -.tute-attribute-value { color: #0099FF } -.tute-entity { font-weight: bold; } -.tute-comment { font-style: italic } -.tute-inline-tag { color: #636311; font-weight: bold } - -/* tutorial */ - -.authors { } -.author { font-style: italic; font-weight: bold } -.author-blurb { margin: .5em 0em .5em 2em; font-size: 85%; font-weight: normal; font-style: normal } -.example { background-color: #DDDDDD; border: 1px solid #999999; padding: .5em; } -.listing { background-color: #DDDDDD; border: 1px solid #999999; padding: .5em; white-space: nowrap; } -.release-info { font-size: 85%; font-style: italic; margin: 1em 0em } -.ref-title-box { } -.ref-title { } -.ref-purpose { font-style: italic; color: #666666 } -.ref-synopsis { } -.title { font-weight: bold; border-bottom: 1px solid #888888; color: #888888; } -.cmd-synopsis { margin: 1em 0em } -.cmd-title { font-weight: bold } -.toc { margin-left: 2em; padding-left: 0em } - diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/packages.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/packages.html deleted file mode 100644 index 97fe3802ff33b8fa364d48a645bb52ddbf433a70..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/packages.html +++ /dev/null @@ -1,29 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title></title> - <link rel="stylesheet" href="media/stylesheet.css" /> - <link rel="stylesheet" href="media/banner.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <div class="banner"> - <div class="banner-title">Apache</div> - <div class="banner-menu"> - <form> - <table cellpadding="0" cellspacing="0" style="width: 100%"> - <tr> - <td> - </td> - <td style="width: 2em"> </td> - <td style="text-align: right"> - </td> - </tr> - </table> - </form> - </div> - </div> - </body> - </html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/todolist.html b/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/todolist.html deleted file mode 100644 index 1490bd8d52992e1df6c48cd1fb4c389a5164b491..0000000000000000000000000000000000000000 --- a/profiles/wcm_base/libraries/SolrPhpClient/phpdocs/todolist.html +++ /dev/null @@ -1,29 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <!-- template designed by Marco Von Ballmoos --> - <title>Todo List</title> - <link rel="stylesheet" href="media/stylesheet.css" /> - <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> - </head> - <body> - <div align="center"><h1>Todo List</h1></div> -<h2>Apache</h2> -<h3><a href="Apache/Solr/Apache_Solr_Service.html">Apache_Solr_Service</a></h3> -<ul> - <li>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</li> -</ul> -<h3><a href="Apache/Solr/Apache_Solr_Service.html#methodextractFromString">Apache_Solr_Service::extractFromString()</a></h3> -<ul> - <li>Should be using multipart/form-data to post parameter values, but I could not get my implementation to work. Needs revisisted.</li> -</ul> -<h3><a href="Apache/Solr/Apache_Solr_Service_Balancer.html#methodextractFromString">Apache_Solr_Service_Balancer::extractFromString()</a></h3> -<ul> - <li>Should be using multipart/form-data to post parameter values, but I could not get my implementation to work. Needs revisisted.</li> -</ul> - <p class="notes" id="credit"> - Documentation generated on Wed, 04 May 2011 11:01:19 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> - </p> - </body> -</html> \ No newline at end of file diff --git a/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/DocumentTest.php b/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/DocumentTest.php index 92261c8e7f23fd27bd28e126259c5b09c48e9e5f..0a1e36171e3d5b5145be28a866b16377ab81d647 100644 --- a/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/DocumentTest.php +++ b/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/DocumentTest.php @@ -1,34 +1,34 @@ <?php /** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. + * Copyright (c) 2007-2013, PTC 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 PTC 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. * - * 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 + * @copyright Copyright 2007-2013 PTC Inc. (http://ptc.com) + * @license https://raw.github.com/PTCInc/solr-php-client/master/COPYING 3-Clause BSD * * @package Apache * @subpackage Solr diff --git a/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/HttpTransport/AbstractTest.php b/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/HttpTransport/AbstractTest.php index a16e8b6d9f39bbab0a877c26f4c4b6028807282c..9fdefb1d6c45b3ef10adb02d499243cbca7c3133 100644 --- a/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/HttpTransport/AbstractTest.php +++ b/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/HttpTransport/AbstractTest.php @@ -1,34 +1,34 @@ <?php /** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. + * Copyright (c) 2007-2013, PTC 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 PTC 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. * - * 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 + * @copyright Copyright 2007-2013 PTC Inc. (http://ptc.com) + * @license https://raw.github.com/PTCInc/solr-php-client/master/COPYING 3-Clause BSD * * @package Apache * @subpackage Solr @@ -100,7 +100,7 @@ abstract class Apache_Solr_HttpTransport_AbstractTest extends PHPUnit_Framework_ $response = $fixture->performGetRequest(self::GET_URL); - $this->assertType('Apache_Solr_HttpTransport_Response', $response); + $this->assertInstanceOf('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'); @@ -113,7 +113,7 @@ abstract class Apache_Solr_HttpTransport_AbstractTest extends PHPUnit_Framework_ $fixture = $this->getFixture(); $response = $fixture->performGetRequest(self::GET_URL, self::TIMEOUT); - $this->assertType('Apache_Solr_HttpTransport_Response', $response); + $this->assertInstanceOf('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'); @@ -129,7 +129,7 @@ abstract class Apache_Solr_HttpTransport_AbstractTest extends PHPUnit_Framework_ $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->assertInstanceOf('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'); @@ -143,7 +143,7 @@ abstract class Apache_Solr_HttpTransport_AbstractTest extends PHPUnit_Framework_ $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->assertInstanceOf('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'); @@ -158,7 +158,7 @@ abstract class Apache_Solr_HttpTransport_AbstractTest extends PHPUnit_Framework_ $response = $fixture->performPostRequest(self::POST_URL, self::POST_DATA, self::POST_REQUEST_CONTENT_TYPE); - $this->assertType('Apache_Solr_HttpTransport_Response', $response); + $this->assertInstanceOf('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'); @@ -171,7 +171,7 @@ abstract class Apache_Solr_HttpTransport_AbstractTest extends PHPUnit_Framework_ $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->assertInstanceOf('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'); diff --git a/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/HttpTransport/CurlNoReuseTest.php b/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/HttpTransport/CurlNoReuseTest.php index 0484dd4d3fe2b92b43958e2098d3ada942f6e662..96297c3598f388934464802bb8579f58101a62a3 100644 --- a/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/HttpTransport/CurlNoReuseTest.php +++ b/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/HttpTransport/CurlNoReuseTest.php @@ -1,34 +1,34 @@ <?php /** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. + * Copyright (c) 2007-2013, PTC 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 PTC 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. * - * 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 + * @copyright Copyright 2007-2013 PTC Inc. (http://ptc.com) + * @license https://raw.github.com/PTCInc/solr-php-client/master/COPYING 3-Clause BSD * * @package Apache * @subpackage Solr diff --git a/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/HttpTransport/CurlTest.php b/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/HttpTransport/CurlTest.php index 070c164fe56ecc9beda9d40cc30eb6d969d9e71e..0dd8bef8429bcdf2911f0e57fe6008cf952da2bf 100644 --- a/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/HttpTransport/CurlTest.php +++ b/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/HttpTransport/CurlTest.php @@ -1,34 +1,34 @@ <?php /** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. + * Copyright (c) 2007-2013, PTC 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 PTC 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. * - * 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 + * @copyright Copyright 2007-2013 PTC Inc. (http://ptc.com) + * @license https://raw.github.com/PTCInc/solr-php-client/master/COPYING 3-Clause BSD * * @package Apache * @subpackage Solr diff --git a/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/HttpTransport/FileGetContentsTest.php b/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/HttpTransport/FileGetContentsTest.php index 2e4f8e90d25b180b09e50a04af1a2b1ff013d7f0..f039741dea62bd9c05f1224a6bda7b0b56eccf53 100644 --- a/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/HttpTransport/FileGetContentsTest.php +++ b/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/HttpTransport/FileGetContentsTest.php @@ -1,34 +1,34 @@ <?php /** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. + * Copyright (c) 2007-2013, PTC 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 PTC 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. * - * 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 + * @copyright Copyright 2007-2013 PTC Inc. (http://ptc.com) + * @license https://raw.github.com/PTCInc/solr-php-client/master/COPYING 3-Clause BSD * * @package Apache * @subpackage Solr diff --git a/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/HttpTransport/ResponseTest.php b/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/HttpTransport/ResponseTest.php index f3c11273da7c55b1a2cbebdd908ff81fd7a51653..ee3729b3302b8879ef31900c9898d9b51eca4723 100644 --- a/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/HttpTransport/ResponseTest.php +++ b/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/HttpTransport/ResponseTest.php @@ -1,34 +1,34 @@ <?php /** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. + * Copyright (c) 2007-2013, PTC 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 PTC 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. * - * 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 + * @copyright Copyright 2007-2013 PTC Inc. (http://ptc.com) + * @license https://raw.github.com/PTCInc/solr-php-client/master/COPYING 3-Clause BSD * * @package Apache * @subpackage Solr diff --git a/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/HttpTransportExceptionTest.php b/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/HttpTransportExceptionTest.php index a0958753e1c00702544cd012a171d4c93ee3f7ab..7285e312bc36b468b1dbb730f80299e78a8cf2d8 100644 --- a/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/HttpTransportExceptionTest.php +++ b/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/HttpTransportExceptionTest.php @@ -1,34 +1,34 @@ <?php /** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. + * Copyright (c) 2007-2013, PTC 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 PTC 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. * - * 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 + * @copyright Copyright 2007-2013 PTC Inc. (http://ptc.com) + * @license https://raw.github.com/PTCInc/solr-php-client/master/COPYING 3-Clause BSD * * @package Apache * @subpackage Solr diff --git a/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/ResponseTest.php b/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/ResponseTest.php index 6ba4fe993a0bdf4fe8f1d0b8fcf2bfb5011967fb..2901b9bf01ad0b9dd0c281cbb72457744bee2bc4 100644 --- a/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/ResponseTest.php +++ b/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/ResponseTest.php @@ -1,34 +1,34 @@ <?php /** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. + * Copyright (c) 2007-2013, PTC 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 PTC 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. * - * 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 + * @copyright Copyright 2007-2013 PTC Inc. (http://ptc.com) + * @license https://raw.github.com/PTCInc/solr-php-client/master/COPYING 3-Clause BSD * * @package Apache * @subpackage Solr @@ -95,11 +95,11 @@ class Apache_Solr_ResponseTest extends PHPUnit_Framework_TestCase $fixture = self::get200Response(); // test top level gets - $this->assertType('stdClass', $fixture->responseHeader); + $this->assertInstanceOf('stdClass', $fixture->responseHeader); $this->assertEquals(0, $fixture->responseHeader->status); $this->assertEquals(0, $fixture->responseHeader->QTime); - $this->assertType('stdClass', $fixture->response); + $this->assertInstanceOf('stdClass', $fixture->response); $this->assertEquals(0, $fixture->response->numFound); $this->assertTrue(is_array($fixture->response->docs)); @@ -153,7 +153,7 @@ class Apache_Solr_ResponseTest extends PHPUnit_Framework_TestCase $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'); + $this->assertInstanceOf('Apache_Solr_Document', $fixture->response->docs[0], 'The first document is not of type Apache_Solr_Document'); } public function testDontCreateDocuments() @@ -161,7 +161,7 @@ class Apache_Solr_ResponseTest extends PHPUnit_Framework_TestCase $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'); + $this->assertInstanceOf('stdClass', $fixture->response->docs[0], 'The first document is not of type stdClass'); } public function testGetHttpStatusMessage() diff --git a/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/Service/BalancerTest.php b/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/Service/BalancerTest.php index df398749e908e80753cdf45788003e9e44fa84c3..6b2c35235d2a1027f0ed5140a559e4513febad7d 100644 --- a/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/Service/BalancerTest.php +++ b/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/Service/BalancerTest.php @@ -1,34 +1,34 @@ <?php /** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. + * Copyright (c) 2007-2013, PTC 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 PTC 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. * - * 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 + * @copyright Copyright 2007-2013 PTC Inc. (http://ptc.com) + * @license https://raw.github.com/PTCInc/solr-php-client/master/COPYING 3-Clause BSD * * @package Apache * @subpackage Solr diff --git a/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/ServiceAbstractTest.php b/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/ServiceAbstractTest.php index 0e8fdf5267f8b2f87e16fe58312f6881b7664356..50de339b13b469428f8612c487de8c2bcc26552f 100644 --- a/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/ServiceAbstractTest.php +++ b/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/ServiceAbstractTest.php @@ -1,34 +1,34 @@ <?php /** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. + * Copyright (c) 2007-2013, PTC 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 PTC 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. * - * 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 + * @copyright Copyright 2007-2013 PTC Inc. (http://ptc.com) + * @license https://raw.github.com/PTCInc/solr-php-client/master/COPYING 3-Clause BSD * * @package Apache * @subpackage Solr diff --git a/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/ServiceTest.php b/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/ServiceTest.php index 4f0284e0f5647d905dc8d679db1d7d1112738465..fd3f5680fd832ae507e31cd83dd1ba5f02c395d3 100644 --- a/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/ServiceTest.php +++ b/profiles/wcm_base/libraries/SolrPhpClient/tests/Apache/Solr/ServiceTest.php @@ -1,34 +1,34 @@ <?php /** - * Copyright (c) 2007-2011, Servigistics, Inc. - * All rights reserved. + * Copyright (c) 2007-2013, PTC 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 PTC 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. * - * 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 + * @copyright Copyright 2007-2013 PTC Inc. (http://ptc.com) + * @license https://raw.github.com/PTCInc/solr-php-client/master/COPYING 3-Clause BSD * * @package Apache * @subpackage Solr @@ -52,6 +52,7 @@ class Apache_Solr_ServiceTest extends Apache_Solr_ServiceAbstractTest array( 'getDefaultTimeout', 'setDefaultTimeout', + 'setAuthenticationCredentials', 'performGetRequest', 'performHeadRequest', 'performPostRequest', @@ -309,6 +310,23 @@ class Apache_Solr_ServiceTest extends Apache_Solr_ServiceAbstractTest $fixture->setDefaultTimeout($timeout); } + public function testSetAuthenticationCredentialsCallsThroughToTransport() + { + $username = "user"; + $password = "password"; + + $fixture = new Apache_Solr_Service(); + + // set a mock transport + $mockTransport = $this->getMockHttpTransportInterface(); + + // setup expected call + $mockTransport->expects($this->once())->method('setAuthenticationCredentials')->with($this->equalTo($username), $this->equalTo($password)); + + $fixture->setHttpTransport($mockTransport); + $fixture->setAuthenticationCredentials($username, $password); + } + public function testPing() { $expectedUrl = "http://localhost:8180/solr/admin/ping"; @@ -352,6 +370,49 @@ class Apache_Solr_ServiceTest extends Apache_Solr_ServiceAbstractTest $this->assertFalse($fixture->ping()); } + public function testSystem() + { + $expectedUrl = "http://localhost:8180/solr/admin/system?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 system + $fixture = new Apache_Solr_service(); + $fixture->setHttpTransport($mockTransport); + $fixture->system(); + } + + /** + * @expectedException Apache_Solr_HttpTransportException + */ + public function testSystem404() + { + $expectedUrl = "http://localhost:8180/solr/admin/system?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 system + $fixture = new Apache_Solr_service(); + $fixture->setHttpTransport($mockTransport); + $fixture->system(); + } + public function testThreads() { $expectedUrl = "http://localhost:8180/solr/admin/threads?wt=json"; diff --git a/profiles/wcm_base/libraries/SolrPhpClient/tests/run.php b/profiles/wcm_base/libraries/SolrPhpClient/tests/run.php index b7445481b90ea40b5c0b41f0e69cab684b6c103d..9dfbf6ae1547ecc69c4fbfd9e452125ea2c2e550 100755 --- a/profiles/wcm_base/libraries/SolrPhpClient/tests/run.php +++ b/profiles/wcm_base/libraries/SolrPhpClient/tests/run.php @@ -1,32 +1,32 @@ #! /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. + * Copyright (c) 2007-2013, PTC 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 PTC 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) diff --git a/profiles/wcm_base/modules/contrib/redirect/PATCHES.txt b/profiles/wcm_base/modules/contrib/redirect/PATCHES.txt new file mode 100644 index 0000000000000000000000000000000000000000..b13c7b398ed8d2550fac71794192f7a91fd2272a --- /dev/null +++ b/profiles/wcm_base/modules/contrib/redirect/PATCHES.txt @@ -0,0 +1,4 @@ +The following patches have been applied to this project: +- http://drupal.org/files/issues/redirect-n905914-227.patch + +This file was automatically generated by Drush Make (http://drupal.org/project/drush). diff --git a/profiles/wcm_base/modules/contrib/redirect/redirect.admin.inc b/profiles/wcm_base/modules/contrib/redirect/redirect.admin.inc index 1e80438382dad99fb7de470fb77f6ae9f54c13af..7104dff9a6ef4824a901164bf4e529d10081dfe3 100644 --- a/profiles/wcm_base/modules/contrib/redirect/redirect.admin.inc +++ b/profiles/wcm_base/modules/contrib/redirect/redirect.admin.inc @@ -654,44 +654,94 @@ function redirect_settings_form($form, &$form_state) { '#description' => t('Only redirects managed by the redirect module itself will be deleted. Redirects managed by other modules will be left alone.'), '#disabled' => variable_get('redirect_page_cache', 0) && !variable_get('page_cache_invoke_hooks', TRUE), ); + $form['redirect_purge_amount'] = array( + '#type' => 'select', + '#title' => t('Maximum number of redirects to delete per cron run'), + '#default_value' => variable_get('redirect_purge_amount', 100), + '#options' => drupal_map_assoc(array(10, 20, 50, 100, 200, 500)), + '#description' => t('The maximum number of redirects that can be deleted in each pass of a <a href="@cron">cron maintenance task</a>. If necessary, reduce the number of items to prevent timeouts and memory errors.', array('@cron' => url('admin/reports/status'))), + '#states' => array( + 'invisible' => array( + ':input[name="redirect_purge_inactive"]' => array('value' => '0'), + ), + ), + ); $form['globals'] = array( '#type' => 'fieldset', '#title' => t('Always enabled redirections'), - '#description' => t('(formerly Global Redirect features)'), - '#access' => FALSE, ); $form['globals']['redirect_global_home'] = array( '#type' => 'checkbox', - '#title' => t('Redirect from paths like index.php and /node to the root directory.'), + '#title' => t('Redirect alternative front page URLs to the root directory.'), '#default_value' => variable_get('redirect_global_home', 1), - '#access' => FALSE, + '#description' => t('Includes all aliases for the front page, %root, as well as %node if a default front page is not set.', array('%root' => '/index.php', '%node' => '/node')), + ); + $form['globals']['redirect_global_index'] = array( + '#type' => 'checkbox', + '#title' => t('Remove index.php from all non-front page paths.'), + '#default_value' => variable_get('redirect_global_index', 0), + '#description' => t('Will remove index.php from paths such as %prepend and %append.', array('%prepend' => '/index.php?q=node/1', '%append' => '/page-alias/index.php')), ); $form['globals']['redirect_global_clean'] = array( '#type' => 'checkbox', '#title' => t('Redirect from non-clean URLs to clean URLs.'), '#default_value' => variable_get('redirect_global_clean', 1), '#disabled' => !variable_get('clean_url', 0), - '#access' => FALSE, ); $form['globals']['redirect_global_canonical'] = array( '#type' => 'checkbox', '#title' => t('Redirect from non-canonical URLs to the canonical URLs.'), '#default_value' => variable_get('redirect_global_canonical', 1), ); + $form['globals']['redirect_global_canonical_front'] = array( + '#type' => 'checkbox', + '#title' => t('Redirect the front page to its canonical URL.'), + '#default_value' => variable_get('redirect_global_canonical_front', 0), + '#description' => t('Add a path to a request for the site root. For example, a request for %rootpath will redirect to %canonicalpath if the default front page is set to %defaultfrontpage.', array('%rootpath' => 'http://example.com/', '%canonicalpath' => 'http://example.com/node/1', '%defaultfrontpage' => 'node/1')), + ); $form['globals']['redirect_global_deslash'] = array( '#type' => 'checkbox', '#title' => t('Remove trailing slashes from paths.'), - '#default_value' => variable_get('redirect_global_deslash', 0), - '#access' => FALSE, + '#default_value' => variable_get('redirect_global_deslash', 1), + ); + $form['globals']['redirect_global_add_slash'] = array( + '#type' => 'checkbox', + '#title' => t('Add trailing slashes to paths.'), + '#description' => t('For use with the Trailing Slash module instead of editing the .htaccess file.'), + '#default_value' => variable_get('redirect_global_add_slash', 0), ); $form['globals']['redirect_global_admin_paths'] = array( '#type' => 'checkbox', '#title' => t('Allow redirections on admin paths.'), '#default_value' => variable_get('redirect_global_admin_paths', 0), ); + if (module_exists('locale')) { + $form['globals']['redirect_global_language_prefix'] = array( + '#type' => 'checkbox', + '#title' => t('Enforce Language Prefix'), + '#description' => t('Enforce language prefix in paths.'), + '#default_value' => variable_get('redirect_global_language_prefix', 0), + ); + + $form['globals']['redirect_global_language_prefix_paths'] = array( + '#type' => 'textarea', + '#title' => t('Language Prefix Exclude Paths'), + '#description' => t('Specify pages by using their paths. Enter one path per line. The '*' character is a wildcard. Example paths are blog for the blog page and blog/* for every personal blog. <front> is the front page.'), + '#default_value' => variable_get('redirect_global_language_prefix_paths', ''), + '#states' => array( + 'visible' => array( + ':input[name="redirect_global_language_prefix"]' => array('checked' => TRUE), + ), + ), + ); + } + + $form['submit'] = array( + '#validate' => array('redirect_settings_form_validate'), + '#submit' => array('redirect_settings_form_submit'), + ); - $form['#submit'][] = 'redirect_settings_form_submit'; return system_settings_form($form); } @@ -704,6 +754,17 @@ function redirect_settings_form_submit($form, &$form_state) { redirect_page_cache_clear(); } +/** + * Form validator; makes sure conflicting settings aren't chosen. + * + * @see redirect_settings_form() + */ +function redirect_settings_form_validate($form, &$form_state) { + if ($form_state['values']['redirect_global_deslash'] && $form_state['values']['redirect_global_add_slash']) { + form_set_error('info', t('You can not have both %deslash and %add_slash enabled.', array('%deslash' => rtrim($form['globals']['redirect_global_deslash']['#title'], '.'), '%add_slash' => rtrim($form['globals']['redirect_global_add_slash']['#title'], '.')))); + } +} + function redirect_404_list($form = NULL) { $destination = drupal_get_destination(); diff --git a/profiles/wcm_base/modules/contrib/redirect/redirect.info b/profiles/wcm_base/modules/contrib/redirect/redirect.info index b04e0a386c43f3aee1469548cc71ae5ca47a1260..dee8604f9fc8ed520f0a3e76d25a18adea9ad64a 100644 --- a/profiles/wcm_base/modules/contrib/redirect/redirect.info +++ b/profiles/wcm_base/modules/contrib/redirect/redirect.info @@ -12,10 +12,11 @@ files[] = views/redirect_handler_field_redirect_operations.inc files[] = views/redirect_handler_field_redirect_link_edit.inc files[] = views/redirect_handler_field_redirect_link_delete.inc configure = admin/config/search/redirect/settings +suggests[] = mpac -; Information added by Drupal.org packaging script on 2015-07-08 -version = "7.x-1.0-rc3" +; Information added by Drupal.org packaging script on 2015-10-03 +version = "7.x-2.x-dev" core = "7.x" project = "redirect" -datestamp = "1436393342" +datestamp = "1443904740" diff --git a/profiles/wcm_base/modules/contrib/redirect/redirect.install b/profiles/wcm_base/modules/contrib/redirect/redirect.install index a8fea0191c608eb724b3fca7f6db847514879df3..7b41d2e35c41266a8650408651b5f97f8032ad49 100644 --- a/profiles/wcm_base/modules/contrib/redirect/redirect.install +++ b/profiles/wcm_base/modules/contrib/redirect/redirect.install @@ -288,19 +288,31 @@ function redirect_update_7100() { * Add status field. */ function redirect_update_7101() { - db_add_field('redirect', 'status', array( + $status_schema = array( 'type' => 'int', 'size' => 'small', 'not null' => TRUE, 'default' => 1, 'description' => 'Boolean indicating whether the redirect is enabled (visible to non-administrators).', - )); - db_drop_index('redirect', 'source_language'); - db_add_index('redirect', 'status_source_language', array( - 'status', - 'source', - 'language', - )); + ); + if (!db_field_exists('redirect', 'status')) { + db_add_field('redirect', 'status', $status_schema); + } + else { + db_change_field('redirect', 'status', 'status', $status_schema); + } + + if (db_index_exists('redirect', 'source_language')) { + db_drop_index('redirect', 'source_language'); + } + + if (!db_index_exists('redirect', 'status_source_language')) { + db_add_index('redirect', 'status_source_language', array( + 'status', + 'source', + 'language', + )); + } } /** diff --git a/profiles/wcm_base/modules/contrib/redirect/redirect.module b/profiles/wcm_base/modules/contrib/redirect/redirect.module index 993eeed07dae6271cbac26fe7143f916ada89167..769a998e7171210918e69256df5531afe6106eb5 100644 --- a/profiles/wcm_base/modules/contrib/redirect/redirect.module +++ b/profiles/wcm_base/modules/contrib/redirect/redirect.module @@ -204,6 +204,8 @@ function redirect_get_current_redirect() { * Implements hook_url_inbound_alter(). */ function redirect_url_inbound_alter(&$path, $original_path, $path_language) { + global $language; + // If the current path global does not exist, then drupal_get_path_alias() // will fail. This condition only happens when $path is the front page. // @todo Remove when http://drupal.org/node/1329914 is fixed in core. @@ -226,23 +228,54 @@ function redirect_url_inbound_alter(&$path, $original_path, $path_language) { } } - // Redirect to canonical URLs. - // Commented out per https://www.drupal.org/node/2048137. - //if ($path && variable_get('redirect_canonical', 1)) { - //$alias = drupal_get_path_alias($path, $path_language); - //if ($alias != $path && $alias != $original_path) { - //return redirect_redirect(array('redirect' => $alias, 'type' => 'global')); - //} - - // Redirect from default entity paths to the proper entity path. - //if ($path_entity = redirect_load_entity_from_path($path)) { - // if ($uri = entity_uri($path_entity['entity_type'], $path_entity['entity'])) { - // if ($path != $uri['path']) { - // return redirect_redirect(array('redirect' => $uri['path'], 'redirect_options' => $uri['options'], 'type' => 'global')); - // } - // } - //} - //} + // Check for empty path. + if (empty($path)) { + return; + } + // Do not redirect if $original_path does not match the requested url. + if ($original_path != $_GET['q']) { + return; + } + // Do not redirect if disallowed. + if (!redirect_can_redirect()) { + return; + } + + // Determine if front page. drupal_is_front_page() is not accurate here + // because drupal_path_initialize() has not executed yet. + $is_front_page = ($path == variable_get('site_frontpage', 'node') ? TRUE : FALSE); + + // Remove query string from request uri. + $request_uri_parts = explode('?', request_uri()); + $request_path = urldecode($request_uri_parts[0]); + + // Redirect the front page to the root level. + if ($is_front_page + && variable_get('redirect_global_home', 1) + && !variable_get('redirect_global_canonical_front', 0) + && base_path() != $request_path + && base_path() . $language->prefix != $request_path) { + return redirect_redirect((object)array('redirect' => '', 'type' => 'global')); + } + + // Redirect to the canonical URL. + $alias = drupal_get_path_alias($path, $path_language); + if ((!$is_front_page && variable_get('redirect_global_canonical', 1) + || $is_front_page && variable_get('redirect_global_canonical_front', 0)) + && $alias != $path + && $alias != $original_path + && base_path() . $alias != $request_path + && base_path() . $language->prefix . '/' . $alias != $request_path) { + return redirect_redirect((object)array('redirect' => $alias, 'type' => 'global')); + } + + // Redirect from default entity paths to the proper entity path. + if ($path_entity = redirect_load_entity_from_path($path)) { + $uri = entity_uri($path_entity['entity_type'], $path_entity['entity']); + if ($path != $uri['path']) { + return redirect_redirect((object)array('redirect' => $uri['path'], 'redirect_options' => $uri['options'], 'type' => 'global')); + } + } } /** @@ -309,25 +342,59 @@ function redirect_init() { redirect_redirect($redirect); } - $redirect_global = FALSE; - $request_uri = $original_uri = ltrim(request_uri(), '/'); + // Get the request URI without the $base_path prefix. + if (isset($_REQUEST['q'])) { + $path = $_REQUEST['q']; + } + else { + // This is a request using a clean URL. Extract the path from request_uri(). + $request_path = strtok(request_uri(), '?'); + $base_path_len = drupal_strlen(rtrim(dirname($_SERVER['SCRIPT_NAME']), '\/')); + // Unescape and strip $base_path prefix, leaving q without a leading slash. + $path = drupal_substr(urldecode($request_path), $base_path_len + 1); + } + $request_uri = $original_uri = ltrim($path, '/'); // Redirect from non-clean URLs to clean URLs. - if (variable_get('redirect_global_clean', 1) && variable_get('clean_url', 0) && strpos($request_uri, '?q=') !== FALSE) { - //$redirect_global = TRUE; - //$request_uri = str_replace('?q=', '', $request_uri); + if (variable_get('redirect_global_clean', 1) + && variable_get('clean_url', 0) + && strpos(request_uri(), '?q=') !== FALSE) { + redirect_redirect((object)array('redirect' => $request_uri, 'type' => 'global')); } - if (strpos($request_uri, 'index.php') !== FALSE) { - //$redirect_global = TRUE; - //$request_uri = str_replace('index.php', '', $request_uri); + // Strip index.php + if (strpos(request_uri(), 'index.php') !== FALSE) { + if (!drupal_is_front_page() && variable_get('redirect_global_index', 0)) { + $request_uri = str_replace('index.php', '', $request_uri); + redirect_redirect((object)array('redirect' => $request_uri, 'type' => 'global')); + } + elseif (drupal_is_front_page() && variable_get('redirect_global_home', 0)) { + redirect_redirect((object)array('redirect' => '', 'type' => 'global')); + } } - //$request_uri = ltrim($request_uri, '/'); - //$parsed = parse_url($request_uri); + // Deslash (Remove trailing slashes from paths). + $langcode = isset($options['language']->language) ? $options['language']->language : ''; + $alias = drupal_get_path_alias(current_path(), $langcode); + if (variable_get('redirect_global_deslash', 0) + && substr($request_uri, -1) == '/' + && $request_uri !== $alias) { + redirect_redirect((object)array('redirect' => rtrim($request_uri, '/'), 'type' => 'global')); + } + // Add slash (Add trailing slashes to paths). + elseif (variable_get('redirect_global_add_slash', 0) + && substr($request_uri, -1) !== '/' + && !drupal_is_front_page()) { + redirect_redirect((object)array('redirect' => $request_uri . '/', 'type' => 'global')); + } - if ($redirect_global && $request_uri != $original_uri) { - redirect_redirect(array(/*'redirect' => $request_uri,*/ 'type' => 'global')); + // Force language prefix. + if (variable_get('redirect_global_language_prefix', 0) && module_exists('locale')) { + require_once DRUPAL_ROOT . '/includes/language.inc'; + list($language, $raw_path) = language_url_split_prefix($request_uri, language_list()); + if (!$language && !drupal_match_path($raw_path, variable_get('redirect_global_language_prefix_paths', ''))) { + redirect_redirect((object)array('redirect' => $request_uri, 'type' => 'global')); + } } } @@ -740,7 +807,7 @@ function redirect_validate($redirect, $form, &$form_state) { } } -function redirect_object_prepare($redirect, $defaults = array()) { +function redirect_object_prepare(stdClass $redirect, $defaults = array()) { $defaults += array( 'rid' => NULL, 'type' => 'redirect', @@ -978,11 +1045,11 @@ function redirect_change_status_multiple(array $rids, $status) { if ($status) { $redirect_link = l($redirect->redirect, $redirect->redirect) . '=> ' . l($redirect->source, $redirect->source); - watchdog('redirect', 'Enabled redirect: !redirect_source_link', array('!redirect_link' => $redirect_link)); + watchdog('redirect', 'Enabled redirect: !redirect_link', array('!redirect_link' => $redirect_link)); } else { $redirect_link = l($redirect->redirect, $redirect->redirect) . '=> ' . l($redirect->source, $redirect->source); - watchdog('redirect', 'Disabled redirect: !redirect_source_link', array('!redirect_link' => $redirect_link)); + watchdog('redirect', 'Disabled redirect: !redirect_link', array('!redirect_link' => $redirect_link)); } } } @@ -1060,6 +1127,7 @@ function redirect_purge_inactive_redirects(array $types = array('redirect'), $in $query->condition('type', $types); } $query->condition('access', REQUEST_TIME - $interval, '<'); + $query->range(0, variable_get('redirect_purge_amount', 100)); $query->addTag('redirect_purge'); $rids = $query->execute()->fetchCol(); @@ -1121,7 +1189,21 @@ function redirect_redirect($redirect = NULL) { */ function redirect_goto($redirect) { $redirect->redirect_options['absolute'] = TRUE; - $url = url($redirect->redirect, $redirect->redirect_options); + // Prevent a path like 'index.php?q=node/1' from redirecting to '?q=path-alias' + // if canonical redirection is disabled. This will make url() treat 'node/1' + // as if it is already an alias and prevent a drupal_get_path_alias() lookup. + if (!variable_get('redirect_global_canonical', 0)) { + $redirect->redirect_options['alias'] = TRUE; + } + if (module_exists('locale')) { + // Peel off language prefix if already there. + require_once DRUPAL_ROOT . '/includes/language.inc'; + list($language, $raw_path) = language_url_split_prefix($redirect->redirect, language_list()); + $url = ($language) ? url($raw_path, $redirect->redirect_options) : url($redirect->redirect, $redirect->redirect_options); + } + else { + $url = url($redirect->redirect, $redirect->redirect_options); + } drupal_add_http_header('Location', $url); drupal_add_http_header('Status', redirect_status_code_options($redirect->status_code)); @@ -1402,10 +1484,16 @@ function redirect_variables() { 'redirect_passthrough_querystring' => 1, 'redirect_page_cache' => 0, 'redirect_purge_inactive' => 0, + 'redirect_purge_amount' => 100, 'redirect_global_home' => 1, + 'redirect_global_index' => 0, 'redirect_global_clean' => 1, 'redirect_global_canonical' => 1, + 'redirect_global_canonical_front' => 0, + 'redirect_global_deslash' => 1, + 'redirect_global_add_slash' => 0, 'redirect_global_admin_paths' => 0, + 'redirect_global_language_prefix' => 0, ); } @@ -1672,3 +1760,16 @@ function redirect_redirect_operations() { ); return $operations; } + +/** + * Implements hook_form_FORM_ID_alter() on behalf of mpac.module. + */ +function mpac_form_redirect_edit_form_alter(&$form, &$form_state) { + if ($form['redirect']['#type'] == 'textfield') { + $form['redirect']['#autocomplete_path'] = 'mpac/autocomplete/menu'; + $form['redirect']['#description'] .= '<br />' . t("You may enter the title of the node you'd like to link to to get a list of all possible matches."); + if (module_exists('path')) { + $form['redirect']['#description'] .= ' ' . t('Matches marked with %marker are URL aliases.', array('%marker' => t('*'))); + } + } +} diff --git a/profiles/wcm_base/modules/contrib/wysiwyg/README.txt b/profiles/wcm_base/modules/contrib/wysiwyg/README.txt index ce1c4d389381d90698eaea99bbd3fd749994885e..faad1d6e33352dad100cdb93f0b7783ea773c3f6 100644 --- a/profiles/wcm_base/modules/contrib/wysiwyg/README.txt +++ b/profiles/wcm_base/modules/contrib/wysiwyg/README.txt @@ -1,8 +1,8 @@ -- SUMMARY -- -Wysiwyg API allows to users of your site to use WYSIWYG/rich-text, and other -client-side editors for editing contents. This module depends on third-party +Wysiwyg API allows users of your site to use WYSIWYG/rich-text, and other +client-side editors for editing contents. This module depends on third-party editor libraries, most often based on JavaScript. For a full description of the module, visit the project page: diff --git a/profiles/wcm_base/modules/contrib/wysiwyg/editors/ckeditor.inc b/profiles/wcm_base/modules/contrib/wysiwyg/editors/ckeditor.inc index cb2a7d83c800b6758bf41356791f1700d344e6ba..6759698e523da75bb5b0951ec5fd484f6bccc677 100644 --- a/profiles/wcm_base/modules/contrib/wysiwyg/editors/ckeditor.inc +++ b/profiles/wcm_base/modules/contrib/wysiwyg/editors/ckeditor.inc @@ -389,7 +389,11 @@ function wysiwyg_ckeditor_settings($editor, $config, $theme) { $settings['contentsCss'] = reset($css); } elseif ($config['css_setting'] == 'self' && isset($config['css_path'])) { - $settings['contentsCss'] = strtr($config['css_path'], array('%b' => base_path(), '%t' => drupal_get_path('theme', variable_get('theme_default', NULL)))); + $settings['contentsCss'] = strtr($config['css_path'], array( + '%b' => base_path(), + '%t' => drupal_get_path('theme', variable_get('theme_default', NULL)), + '%q' => variable_get('css_js_query_string', ''), + )); } } else { @@ -397,7 +401,11 @@ function wysiwyg_ckeditor_settings($editor, $config, $theme) { $settings['contentsCss'] = wysiwyg_get_css(); } elseif ($config['css_setting'] == 'self' && isset($config['css_path'])) { - $settings['contentsCss'] = explode(',', strtr($config['css_path'], array('%b' => base_path(), '%t' => drupal_get_path('theme', variable_get('theme_default', NULL))))); + $settings['contentsCss'] = explode(',', strtr($config['css_path'], array( + '%b' => base_path(), + '%t' => drupal_get_path('theme', variable_get('theme_default', NULL)), + '%q' => variable_get('css_js_query_string', ''), + ))); } } } diff --git a/profiles/wcm_base/modules/contrib/wysiwyg/editors/fckeditor.inc b/profiles/wcm_base/modules/contrib/wysiwyg/editors/fckeditor.inc index b8780017a72d5df8e8954ab32712c7b662aecbd0..34db77e966c934eee2c33f5a886829e013fb8455 100644 --- a/profiles/wcm_base/modules/contrib/wysiwyg/editors/fckeditor.inc +++ b/profiles/wcm_base/modules/contrib/wysiwyg/editors/fckeditor.inc @@ -200,7 +200,11 @@ function wysiwyg_fckeditor_settings($editor, $config, $theme) { $settings['EditorAreaCSS'] = implode(',', wysiwyg_get_css()); } elseif ($config['css_setting'] == 'self' && isset($config['css_path'])) { - $settings['EditorAreaCSS'] = strtr($config['css_path'], array('%b' => base_path(), '%t' => drupal_get_path('theme', variable_get('theme_default', NULL)))); + $settings['EditorAreaCSS'] = strtr($config['css_path'], array( + '%b' => base_path(), + '%t' => drupal_get_path('theme', variable_get('theme_default', NULL)), + '%q' => variable_get('css_js_query_string', ''), + )); } } diff --git a/profiles/wcm_base/modules/contrib/wysiwyg/editors/nicedit.inc b/profiles/wcm_base/modules/contrib/wysiwyg/editors/nicedit.inc index 208fc5312da215862e18b00ee687069220dc4be6..6e15f05a8788e47c430092afcabf23d0d4527a5c 100644 --- a/profiles/wcm_base/modules/contrib/wysiwyg/editors/nicedit.inc +++ b/profiles/wcm_base/modules/contrib/wysiwyg/editors/nicedit.inc @@ -97,7 +97,11 @@ function wysiwyg_nicedit_settings($editor, $config, $theme) { } } elseif ($config['css_setting'] == 'self' && isset($config['css_path'])) { - $settings['externalCSS'] = strtr($config['css_path'], array('%b' => base_path(), '%t' => drupal_get_path('theme', variable_get('theme_default', NULL)))); + $settings['externalCSS'] = strtr($config['css_path'], array( + '%b' => base_path(), + '%t' => drupal_get_path('theme', variable_get('theme_default', NULL)), + '%q' => variable_get('css_js_query_string', ''), + )); } } diff --git a/profiles/wcm_base/modules/contrib/wysiwyg/editors/tinymce.inc b/profiles/wcm_base/modules/contrib/wysiwyg/editors/tinymce.inc index 14e5bf6b1f1a259138f0221654315d92841b4fb5..892ce2bed35667f58cc78e5809e25b0621ec8b64 100644 --- a/profiles/wcm_base/modules/contrib/wysiwyg/editors/tinymce.inc +++ b/profiles/wcm_base/modules/contrib/wysiwyg/editors/tinymce.inc @@ -364,7 +364,11 @@ function wysiwyg_tinymce_settings($editor, $config, $theme) { $settings['content_css'] = implode(',', wysiwyg_get_css()); } elseif ($config['css_setting'] == 'self' && isset($config['css_path'])) { - $settings['content_css'] = strtr($config['css_path'], array('%b' => base_path(), '%t' => drupal_get_path('theme', variable_get('theme_default', NULL)))); + $settings['content_css'] = strtr($config['css_path'], array( + '%b' => base_path(), + '%t' => drupal_get_path('theme', variable_get('theme_default', NULL)), + '%q' => variable_get('css_js_query_string', ''), + )); } } diff --git a/profiles/wcm_base/modules/contrib/wysiwyg/editors/whizzywig.inc b/profiles/wcm_base/modules/contrib/wysiwyg/editors/whizzywig.inc index c5e43c2b7ab4dde85f315541e6048212c7b32730..82523c7df3e59b2edb358c40f67de65ef7a84418 100644 --- a/profiles/wcm_base/modules/contrib/wysiwyg/editors/whizzywig.inc +++ b/profiles/wcm_base/modules/contrib/wysiwyg/editors/whizzywig.inc @@ -127,7 +127,11 @@ function wysiwyg_whizzywig_settings($editor, $config, $theme) { } } elseif ($config['css_setting'] == 'self' && isset($config['css_path'])) { - $settings['externalCSS'] = strtr($config['css_path'], array('%b' => base_path(), '%t' => drupal_get_path('theme', variable_get('theme_default', NULL)))); + $settings['externalCSS'] = strtr($config['css_path'], array( + '%b' => base_path(), + '%t' => drupal_get_path('theme', variable_get('theme_default', NULL)), + '%q' => variable_get('css_js_query_string', ''), + )); } } diff --git a/profiles/wcm_base/modules/contrib/wysiwyg/editors/wymeditor.inc b/profiles/wcm_base/modules/contrib/wysiwyg/editors/wymeditor.inc index a22348f1abac043eb628249c0beaf67b2aa461f9..004c8ac8fcaf023472ef34e07dca1755ff7d1cf8 100644 --- a/profiles/wcm_base/modules/contrib/wysiwyg/editors/wymeditor.inc +++ b/profiles/wcm_base/modules/contrib/wysiwyg/editors/wymeditor.inc @@ -206,7 +206,11 @@ function wysiwyg_wymeditor_settings($editor, $config, $theme) { $settings['stylesheet'] = reset($css); } elseif ($config['css_setting'] == 'self' && isset($config['css_path'])) { - $settings['stylesheet'] = strtr($config['css_path'], array('%b' => base_path(), '%t' => drupal_get_path('theme', variable_get('theme_default', NULL)))); + $settings['stylesheet'] = strtr($config['css_path'], array( + '%b' => base_path(), + '%t' => drupal_get_path('theme', variable_get('theme_default', NULL)), + '%q' => variable_get('css_js_query_string', ''), + )); } } diff --git a/profiles/wcm_base/modules/contrib/wysiwyg/editors/yui.inc b/profiles/wcm_base/modules/contrib/wysiwyg/editors/yui.inc index 54ce7cae934aee438d58d22ed7ca94d7bb740138..f923ec7c05b52d8913cd9a9dd3cd2bf0169285f5 100644 --- a/profiles/wcm_base/modules/contrib/wysiwyg/editors/yui.inc +++ b/profiles/wcm_base/modules/contrib/wysiwyg/editors/yui.inc @@ -241,7 +241,11 @@ function wysiwyg_yui_settings($editor, $config, $theme) { $settings['extracss'] = wysiwyg_get_css(); } elseif ($config['css_setting'] == 'self' && isset($config['css_path'])) { - $settings['extracss'] = strtr($config['css_path'], array('%b' => base_path(), '%t' => drupal_get_path('theme', variable_get('theme_default', NULL)))); + $settings['extracss'] = strtr($config['css_path'], array( + '%b' => base_path(), + '%t' => drupal_get_path('theme', variable_get('theme_default', NULL)), + '%q' => variable_get('css_js_query_string', ''), + )); $settings['extracss'] = explode(',', $settings['extracss']); } // YUI only supports inline CSS, so we need to use @import directives. diff --git a/profiles/wcm_base/modules/contrib/wysiwyg/tests/wysiwyg_test.info b/profiles/wcm_base/modules/contrib/wysiwyg/tests/wysiwyg_test.info index 8e27fb757d95724ad43349ed9919635d8b8e7f59..e9e5322c0a6de42add573271bc1893085b7d4e5d 100644 --- a/profiles/wcm_base/modules/contrib/wysiwyg/tests/wysiwyg_test.info +++ b/profiles/wcm_base/modules/contrib/wysiwyg/tests/wysiwyg_test.info @@ -6,9 +6,9 @@ hidden = TRUE dependencies[] = wysiwyg files[] = wysiwyg_test.module -; Information added by Drupal.org packaging script on 2016-10-22 -version = "7.x-2.2+81-dev" +; Information added by Drupal.org packaging script on 2016-11-21 +version = "7.x-2.2+86-dev" core = "7.x" project = "wysiwyg" -datestamp = "1477165465" +datestamp = "1479728341" diff --git a/profiles/wcm_base/modules/contrib/wysiwyg/wysiwyg.admin.inc b/profiles/wcm_base/modules/contrib/wysiwyg/wysiwyg.admin.inc index d66181280179d82527d5e2dd52a29dae337c6d17..33f9d1d94377531a01a627a9c25ff21ac7a41226 100644 --- a/profiles/wcm_base/modules/contrib/wysiwyg/wysiwyg.admin.inc +++ b/profiles/wcm_base/modules/contrib/wysiwyg/wysiwyg.admin.inc @@ -122,7 +122,7 @@ function wysiwyg_profile_form($form, &$form_state, $profile) { $icon = ''; if (!empty($meta['path'])) { // @todo Button icon locations are different in editors, editor versions, - // and contrib/custom plugins (like Image Assist, f.e.). + // and contrib/custom plugins (like Image Assist, f.e.). $img_src = $meta['path'] . "/images/$name.gif"; // Handle plugins that have more than one button. if (!file_exists($img_src)) { @@ -189,7 +189,7 @@ function wysiwyg_profile_form($form, &$form_state, $profile) { '#default_value' => $settings['css_path'], '#size' => 40, '#maxlength' => 255, - '#description' => t('If "Define CSS" was selected above, enter path to a CSS file or a list of CSS files separated by a comma.') . '<br />' . t('Available tokens: <code>%b</code> (base path, eg: <code>/</code>), <code>%t</code> (path to theme, eg: <code>themes/garland</code>)') . '<br />' . t('Example:') . ' css/editor.css,/themes/garland/style.css,%b%t/style.css,http://example.com/external.css', + '#description' => t('If "Define CSS" was selected above, enter path to a CSS file or a list of CSS files separated by a comma.') . '<br />' . t('Available tokens: <code>%b</code> (base path, eg: <code>/</code>), <code>%t</code> (path to theme, eg: <code>themes/garland</code>), <code>%q</code> (<code>css_js_query_string</code> variable, used for cache-busting)') . '<br />' . t('Example:') . ' css/editor.css,/themes/garland/style.css,%b%t/style.css?%q,http://example.com/external.css', ); $form['advanced'] = array( diff --git a/profiles/wcm_base/modules/contrib/wysiwyg/wysiwyg.api.php b/profiles/wcm_base/modules/contrib/wysiwyg/wysiwyg.api.php index 0ed07bd26973f89205d7bda9a9109a677e675861..19bf5c92712ea9269f02464bd3cf69005fcbcedc 100644 --- a/profiles/wcm_base/modules/contrib/wysiwyg/wysiwyg.api.php +++ b/profiles/wcm_base/modules/contrib/wysiwyg/wysiwyg.api.php @@ -53,6 +53,8 @@ function hook_wysiwyg_plugin($editor, $version) { // A list of buttons provided by this native plugin. The key has to // match the corresponding JavaScript implementation. The value is // is displayed on the editor configuration form only. + // CKEditor-specific note: The internal button name/key is + // capitalized, i.e. Img_assist. 'buttons' => array( 'img_assist' => t('Image Assist'), ), @@ -251,6 +253,16 @@ function hook_INCLUDE_editor() { return $editor; } +/** + * Alter editor definitions defined by other modules. + * + * @param array $editors + * The Editors to alter. + */ +function hook_wysiwyg_editor_alter(&$editors) { + $editors['editor']['version callback'] = 'my_own_version_callback'; +} + /** * Act on editor profile settings. * diff --git a/profiles/wcm_base/modules/contrib/wysiwyg/wysiwyg.info b/profiles/wcm_base/modules/contrib/wysiwyg/wysiwyg.info index 68beb8cf7056708f37224f2efcdd7ac420ee1f00..f96fd38acad79797a25b50dc122a43ca8d81587c 100644 --- a/profiles/wcm_base/modules/contrib/wysiwyg/wysiwyg.info +++ b/profiles/wcm_base/modules/contrib/wysiwyg/wysiwyg.info @@ -9,9 +9,9 @@ configure = admin/config/content/wysiwyg files[] = wysiwyg.module files[] = tests/wysiwyg.test -; Information added by Drupal.org packaging script on 2016-10-22 -version = "7.x-2.2+81-dev" +; Information added by Drupal.org packaging script on 2016-11-21 +version = "7.x-2.2+86-dev" core = "7.x" project = "wysiwyg" -datestamp = "1477165465" +datestamp = "1479728341" diff --git a/profiles/wcm_base/modules/contrib/wysiwyg/wysiwyg.module b/profiles/wcm_base/modules/contrib/wysiwyg/wysiwyg.module index f051e578cd01a24441ef541a04cb2876dafecb94..e19307d083d793783d074dce7af2a55a910466c5 100644 --- a/profiles/wcm_base/modules/contrib/wysiwyg/wysiwyg.module +++ b/profiles/wcm_base/modules/contrib/wysiwyg/wysiwyg.module @@ -680,9 +680,10 @@ function wysiwyg_get_css() { } $files = array(); + $query = ($string = variable_get('css_js_query_string', NULL)) ? '?' . $string : ''; foreach (drupal_add_css() as $filepath => $info) { if ($info['group'] >= CSS_THEME && $info['type'] != 'inline' && $info['media'] != 'print' && file_exists($filepath)) { - $files[] = file_create_url($filepath); + $files[] = file_create_url($filepath) . $query; } } return $files; @@ -911,6 +912,9 @@ function wysiwyg_get_all_editors() { $editors[$editor] = array_merge($editors[$editor], $editors[$editor]['versions'][$version]); unset($editors[$editor]['versions']); } + + drupal_alter('wysiwyg_editor', $editors); + return $editors; } diff --git a/profiles/wcm_base/modules/custom/wcm_tile_panes/wcm_tile_panes.features.field_base.inc b/profiles/wcm_base/modules/custom/wcm_tile_panes/wcm_tile_panes.features.field_base.inc index a5169977f4258e99e5fc9bd320d14863b1ea71ee..63dbac285b37442068e074999ef904dd272a42f6 100644 --- a/profiles/wcm_base/modules/custom/wcm_tile_panes/wcm_tile_panes.features.field_base.inc +++ b/profiles/wcm_base/modules/custom/wcm_tile_panes/wcm_tile_panes.features.field_base.inc @@ -104,6 +104,7 @@ function wcm_tile_panes_field_default_field_bases() { 'allowed_values' => array( 'full' => 'Full Width', 'icon' => 'Icon', + 'icon-center' => 'Icon (Centered)', ), 'allowed_values_function' => '', ), diff --git a/profiles/wcm_base/modules/custom/wcm_url_aliases/wcm_url_aliases.info b/profiles/wcm_base/modules/custom/wcm_url_aliases/wcm_url_aliases.info index 9a7c94110bd1f4fc5434d2089c96c2dc49ea56a5..782b0faad2a0152d3b632228b4643345674219f7 100644 --- a/profiles/wcm_base/modules/custom/wcm_url_aliases/wcm_url_aliases.info +++ b/profiles/wcm_base/modules/custom/wcm_url_aliases/wcm_url_aliases.info @@ -46,12 +46,16 @@ features[variable][] = pathauto_update_action features[variable][] = pathauto_user_pattern features[variable][] = redirect_auto_redirect features[variable][] = redirect_default_status_code +features[variable][] = redirect_global_add_slash features[variable][] = redirect_global_admin_paths features[variable][] = redirect_global_canonical +features[variable][] = redirect_global_canonical_front features[variable][] = redirect_global_clean features[variable][] = redirect_global_deslash features[variable][] = redirect_global_home +features[variable][] = redirect_global_index features[variable][] = redirect_page_cache features[variable][] = redirect_passthrough_querystring +features[variable][] = redirect_purge_amount features[variable][] = redirect_purge_inactive features[variable][] = redirect_warning diff --git a/profiles/wcm_base/modules/custom/wcm_url_aliases/wcm_url_aliases.make b/profiles/wcm_base/modules/custom/wcm_url_aliases/wcm_url_aliases.make index 68da32bd0dd93776f858acf522cb7aa6efa1ebe9..ff6410ae64f5b8c0ff8f91a63dc7966a8ac12f8d 100644 --- a/profiles/wcm_base/modules/custom/wcm_url_aliases/wcm_url_aliases.make +++ b/profiles/wcm_base/modules/custom/wcm_url_aliases/wcm_url_aliases.make @@ -5,9 +5,9 @@ core = 7.x ;modules - -projects[redirect][version] = 1.0-rc3 +projects[redirect][version] = 2.x-dev projects[redirect][subdir] = contrib +projects[redirect][patch][905914] = http://drupal.org/files/issues/redirect-n905914-227.patch projects[pathologic][version] = 3.1 projects[pathologic][subdir] = contrib diff --git a/profiles/wcm_base/modules/custom/wcm_url_aliases/wcm_url_aliases.strongarm.inc b/profiles/wcm_base/modules/custom/wcm_url_aliases/wcm_url_aliases.strongarm.inc index 6c2e801ed1611b7539d7de3fa6af01e1d21670b8..efb5b214466bfe3cc9779b1d0899ffa78f46f7bc 100644 --- a/profiles/wcm_base/modules/custom/wcm_url_aliases/wcm_url_aliases.strongarm.inc +++ b/profiles/wcm_base/modules/custom/wcm_url_aliases/wcm_url_aliases.strongarm.inc @@ -234,6 +234,13 @@ function wcm_url_aliases_strongarm() { $strongarm->value = '301'; $export['redirect_default_status_code'] = $strongarm; + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'redirect_global_add_slash'; + $strongarm->value = 0; + $export['redirect_global_add_slash'] = $strongarm; + $strongarm = new stdClass(); $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ $strongarm->api_version = 1; @@ -248,6 +255,13 @@ function wcm_url_aliases_strongarm() { $strongarm->value = 1; $export['redirect_global_canonical'] = $strongarm; + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'redirect_global_canonical_front'; + $strongarm->value = 0; + $export['redirect_global_canonical_front'] = $strongarm; + $strongarm = new stdClass(); $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ $strongarm->api_version = 1; @@ -269,6 +283,13 @@ function wcm_url_aliases_strongarm() { $strongarm->value = 1; $export['redirect_global_home'] = $strongarm; + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'redirect_global_index'; + $strongarm->value = 0; + $export['redirect_global_index'] = $strongarm; + $strongarm = new stdClass(); $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ $strongarm->api_version = 1; @@ -283,6 +304,13 @@ function wcm_url_aliases_strongarm() { $strongarm->value = 1; $export['redirect_passthrough_querystring'] = $strongarm; + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'redirect_purge_amount'; + $strongarm->value = '100'; + $export['redirect_purge_amount'] = $strongarm; + $strongarm = new stdClass(); $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ $strongarm->api_version = 1; diff --git a/profiles/wcm_base/modules/panopoly/panopoly_admin/CHANGELOG.txt b/profiles/wcm_base/modules/panopoly/panopoly_admin/CHANGELOG.txt index 32aa324819809a0c160bf92dad10408aba3d2039..ea66f3695925f053f40887d2a80a62b899b236c8 100644 --- a/profiles/wcm_base/modules/panopoly/panopoly_admin/CHANGELOG.txt +++ b/profiles/wcm_base/modules/panopoly/panopoly_admin/CHANGELOG.txt @@ -1,3 +1,7 @@ +Panopoly Admin 7.x-1.41, 2016-11-17 +---------------------------- +- No changes since last release. + Panopoly Admin 7.x-1.40, 2016-08-20 ---------------------------- - No changes since last release. diff --git a/profiles/wcm_base/modules/panopoly/panopoly_admin/panopoly_admin.info b/profiles/wcm_base/modules/panopoly/panopoly_admin/panopoly_admin.info index 224a6549994fe0de6a581614bce716785247c4f3..27b7f23ab5126c65f3fd99d1804f18717393de2a 100644 --- a/profiles/wcm_base/modules/panopoly/panopoly_admin/panopoly_admin.info +++ b/profiles/wcm_base/modules/panopoly/panopoly_admin/panopoly_admin.info @@ -37,9 +37,9 @@ features[page_manager_pages][] = panopoly_admin_layout_library features[page_manager_pages][] = panopoly_admin_page_library features[page_manager_pages][] = panopoly_admin_pane_library -; Information added by Drupal.org packaging script on 2016-08-20 -version = "7.x-1.40" +; Information added by Drupal.org packaging script on 2016-11-17 +version = "7.x-1.41" core = "7.x" project = "panopoly_admin" -datestamp = "1471712356" +datestamp = "1479408704" diff --git a/profiles/wcm_base/modules/panopoly/panopoly_core/CHANGELOG.txt b/profiles/wcm_base/modules/panopoly/panopoly_core/CHANGELOG.txt index 4465ce5eb36d8eda9867fdf990a6e66163ed6206..cfdb36261fbb389ffe5238763d1bf1316d3d75b0 100644 --- a/profiles/wcm_base/modules/panopoly/panopoly_core/CHANGELOG.txt +++ b/profiles/wcm_base/modules/panopoly/panopoly_core/CHANGELOG.txt @@ -1,3 +1,8 @@ +Panopoly Core 7.x-1.41, 2016-11-17 +--------------------------- +- Add Panelizer patch to make 'administer panelizer' permission work correctly. +- Add Panels patch to fix adding variants to tasks other than 'page'. + Panopoly Core 7.x-1.40, 2016-08-20 --------------------------- - Update to Panels 7.x-3.7 and Panelizer 7.x-3.4. diff --git a/profiles/wcm_base/modules/panopoly/panopoly_core/panopoly_core.info b/profiles/wcm_base/modules/panopoly/panopoly_core/panopoly_core.info index 631f6a575d4384c8973091682d99dd4fbc6ed14e..cd26031e1868816fc0a6c4c53df95374005286b5 100644 --- a/profiles/wcm_base/modules/panopoly/panopoly_core/panopoly_core.info +++ b/profiles/wcm_base/modules/panopoly/panopoly_core/panopoly_core.info @@ -81,9 +81,9 @@ features_exclude[variable][panelizer_taxonomy_term:panopoly_categories_allowed_l features_exclude[variable][panelizer_taxonomy_term:panopoly_categories_allowed_types] = panelizer_taxonomy_term:panopoly_categories_allowed_types features_exclude[variable][panelizer_defaults_taxonomy_term_panopoly_categories] = panelizer_defaults_taxonomy_term_panopoly_categories -; Information added by Drupal.org packaging script on 2016-08-20 -version = "7.x-1.40" +; Information added by Drupal.org packaging script on 2016-11-17 +version = "7.x-1.41" core = "7.x" project = "panopoly_core" -datestamp = "1471712370" +datestamp = "1479408715" diff --git a/profiles/wcm_base/modules/panopoly/panopoly_core/panopoly_core.make b/profiles/wcm_base/modules/panopoly/panopoly_core/panopoly_core.make index a8b38f09de521741ce437186a1c695511178aebb..d185047a60a3986dbe7e618f84dd1eb3976b7a9b 100644 --- a/profiles/wcm_base/modules/panopoly/panopoly_core/panopoly_core.make +++ b/profiles/wcm_base/modules/panopoly/panopoly_core/panopoly_core.make @@ -12,6 +12,7 @@ projects[ctools][patch][2607626] = https://www.drupal.org/files/issues/ctools-cl projects[panels][version] = 3.7 projects[panels][subdir] = contrib +projects[panels][patch][2787637] = https://www.drupal.org/files/issues/panels-storage-alt-task-2787637-6.patch projects[panels_breadcrumbs][version] = 2.2 projects[panels_breadcrumbs][subdir] = contrib @@ -19,6 +20,7 @@ projects[panels_breadcrumbs][subdir] = contrib projects[panelizer][version] = 3.4 projects[panelizer][subdir] = contrib projects[panelizer][patch][1549608] = https://www.drupal.org/files/issues/panelizer-n1549608-26.patch +projects[panelizer][patch][2788851] = https://www.drupal.org/files/issues/panelizer-administer-panelizer-2788851-2.patch projects[fieldable_panels_panes][version] = 1.10 projects[fieldable_panels_panes][subdir] = contrib diff --git a/profiles/wcm_base/modules/panopoly/panopoly_magic/CHANGELOG.txt b/profiles/wcm_base/modules/panopoly/panopoly_magic/CHANGELOG.txt index 42c1116405e6366c17dcd9b646adb6944b74bf2d..27b8cc8a069d231a6d1d4d40868f9f0dd384c86d 100644 --- a/profiles/wcm_base/modules/panopoly/panopoly_magic/CHANGELOG.txt +++ b/profiles/wcm_base/modules/panopoly/panopoly_magic/CHANGELOG.txt @@ -1,3 +1,7 @@ +Panopoly Magic 7.x-1.41, 2016-11-17 +---------------------------- +- Redirected to ajax endpoint when editing with IPE. + Panopoly Magic 7.x-1.40, 2016-08-20 ---------------------------- - No changes since last release. diff --git a/profiles/wcm_base/modules/panopoly/panopoly_magic/panopoly-magic.js b/profiles/wcm_base/modules/panopoly/panopoly_magic/panopoly-magic.js index 161925564b3002d2f4ad27e918a8a7da01521994..265b2a78f6b8e88cdda91d0dd233b99ebc255a01 100644 --- a/profiles/wcm_base/modules/panopoly/panopoly_magic/panopoly-magic.js +++ b/profiles/wcm_base/modules/panopoly/panopoly_magic/panopoly-magic.js @@ -44,7 +44,9 @@ if (!preview_widget.hasClass('panopoly-magic-loading')) { preview_widget.addClass('panopoly-magic-loading'); submit = function () { - $form.find('.ctools-auto-submit-click').click(); + if (document.contains(form)) { + $form.find('.ctools-auto-submit-click').click(); + } }; if (typeof timeout === 'number') { return setTimeout(submit, timeout); diff --git a/profiles/wcm_base/modules/panopoly/panopoly_magic/panopoly_magic.info b/profiles/wcm_base/modules/panopoly/panopoly_magic/panopoly_magic.info index 8cc4b5c90d3e52bb21b907b24d2b5fd1faf8b78f..65813939c33ab860459ba186b05eebcd5258d597 100644 --- a/profiles/wcm_base/modules/panopoly/panopoly_magic/panopoly_magic.info +++ b/profiles/wcm_base/modules/panopoly/panopoly_magic/panopoly_magic.info @@ -15,9 +15,9 @@ stylesheets[all][] = css/panopoly-modal.css features[features_api][] = api:2 files[] = plugins/views/panopoly_magic_plugin_display_panel_pane.inc -; Information added by Drupal.org packaging script on 2016-08-20 -version = "7.x-1.40" +; Information added by Drupal.org packaging script on 2016-11-17 +version = "7.x-1.41" core = "7.x" project = "panopoly_magic" -datestamp = "1471712410" +datestamp = "1479408750" diff --git a/profiles/wcm_base/modules/panopoly/panopoly_pages/CHANGELOG.txt b/profiles/wcm_base/modules/panopoly/panopoly_pages/CHANGELOG.txt index 6ea571441c1aacaa4cb2da4090cc88889079fcc7..14fe3bf1623ef176c72609bc826a0e83b1c848c3 100644 --- a/profiles/wcm_base/modules/panopoly/panopoly_pages/CHANGELOG.txt +++ b/profiles/wcm_base/modules/panopoly/panopoly_pages/CHANGELOG.txt @@ -1,3 +1,7 @@ +Panopoly Pages 7.x-1.41, 2016-11-17 +---------------------------- +- No changes since last release. + Panopoly Pages 7.x-1.40, 2016-08-20 ---------------------------- - No changes since last release. diff --git a/profiles/wcm_base/modules/panopoly/panopoly_pages/panopoly_pages.info b/profiles/wcm_base/modules/panopoly/panopoly_pages/panopoly_pages.info index b3c7bceedafcbb0961460d9257541c30a9340814..eda6226295bed7a9075e6dd1b995cb25f6648e67 100644 --- a/profiles/wcm_base/modules/panopoly/panopoly_pages/panopoly_pages.info +++ b/profiles/wcm_base/modules/panopoly/panopoly_pages/panopoly_pages.info @@ -78,9 +78,9 @@ features_exclude[variable][panelizer_node:panopoly_page_allowed_layouts] = panel features_exclude[variable][panelizer_node:panopoly_page_allowed_types] = panelizer_node:panopoly_page_allowed_types features_exclude[variable][panelizer_node:panopoly_page_default] = panelizer_node:panopoly_page_default -; Information added by Drupal.org packaging script on 2016-08-20 -version = "7.x-1.40" +; Information added by Drupal.org packaging script on 2016-11-17 +version = "7.x-1.41" core = "7.x" project = "panopoly_pages" -datestamp = "1471712421" +datestamp = "1479408760" diff --git a/profiles/wcm_base/modules/panopoly/panopoly_search/CHANGELOG.txt b/profiles/wcm_base/modules/panopoly/panopoly_search/CHANGELOG.txt index 30caf3e5aeb4b69d29479d65dd3b60cb20ef0299..6ee02b0572f3777f3ccc4051490b7c79c5df084d 100644 --- a/profiles/wcm_base/modules/panopoly/panopoly_search/CHANGELOG.txt +++ b/profiles/wcm_base/modules/panopoly/panopoly_search/CHANGELOG.txt @@ -1,3 +1,7 @@ +Panopoly Search 7.x-1.41, 2016-11-17 +----------------------------- +- SolrPhpClient cannot be downloaded. + Panopoly Search 7.x-1.40, 2016-08-20 ----------------------------- - No changes since last release. diff --git a/profiles/wcm_base/modules/panopoly/panopoly_search/panopoly_search.info b/profiles/wcm_base/modules/panopoly/panopoly_search/panopoly_search.info index 710e8f68e72739f87b052c8c95e4c5b54c1b8766..5262a7b0c1b608972de83f129a1949d9cb2d82f3 100644 --- a/profiles/wcm_base/modules/panopoly/panopoly_search/panopoly_search.info +++ b/profiles/wcm_base/modules/panopoly/panopoly_search/panopoly_search.info @@ -54,9 +54,9 @@ features[variable][] = search_cron_limit features[views_view][] = panopoly_database_search features[views_view][] = panopoly_search -; Information added by Drupal.org packaging script on 2016-08-20 -version = "7.x-1.40" +; Information added by Drupal.org packaging script on 2016-11-17 +version = "7.x-1.41" core = "7.x" project = "panopoly_search" -datestamp = "1471712433" +datestamp = "1479408770" diff --git a/profiles/wcm_base/modules/panopoly/panopoly_search/panopoly_search.make b/profiles/wcm_base/modules/panopoly/panopoly_search/panopoly_search.make index 4a2aa38ada86ce30042e6a95640ac0eac2db2214..d8084c51e21c3fb9668d8675cf0376ac9a488667 100644 --- a/profiles/wcm_base/modules/panopoly/panopoly_search/panopoly_search.make +++ b/profiles/wcm_base/modules/panopoly/panopoly_search/panopoly_search.make @@ -20,4 +20,4 @@ projects[search_api_db][subdir] = contrib ; Solr PHP Client Library libraries[SolrPhpClient][download][type] = get -libraries[SolrPhpClient][download][url] = http://solr-php-client.googlecode.com/files/SolrPhpClient.r60.2011-05-04.zip +libraries[SolrPhpClient][download][url] = https://github.com/PTCInc/solr-php-client/archive/master.zip diff --git a/profiles/wcm_base/modules/panopoly/panopoly_test/CHANGELOG.txt b/profiles/wcm_base/modules/panopoly/panopoly_test/CHANGELOG.txt index 397fc047245b8e40c6032dfef79a0a6c6abaab41..e83c5762e67e12a82c092c56ca1f28a6557db8a0 100644 --- a/profiles/wcm_base/modules/panopoly/panopoly_test/CHANGELOG.txt +++ b/profiles/wcm_base/modules/panopoly/panopoly_test/CHANGELOG.txt @@ -1,3 +1,8 @@ +Panopoly Test 7.x-1.41, 2016-11-17 +--------------------------- +- Switch Image widget to use Media Browser. +- Incorrect storage_id in panopoly_test breaks some child distributions tests. + Panopoly Test 7.x-1.40, 2016-08-20 --------------------------- - No changes since last release. diff --git a/profiles/wcm_base/modules/panopoly/panopoly_test/panopoly_test.info b/profiles/wcm_base/modules/panopoly/panopoly_test/panopoly_test.info index d9f44664a44e024f02e3e2fc8fa3da096ea7e746..6113977cc5399ef67fb5c6df68629be35cf71b91 100644 --- a/profiles/wcm_base/modules/panopoly/panopoly_test/panopoly_test.info +++ b/profiles/wcm_base/modules/panopoly/panopoly_test/panopoly_test.info @@ -99,9 +99,9 @@ features_exclude[dependencies][panopoly_pages] = panopoly_pages features_exclude[dependencies][panelizer] = panelizer hidden = 1 -; Information added by Drupal.org packaging script on 2016-08-20 -version = "7.x-1.40" +; Information added by Drupal.org packaging script on 2016-11-17 +version = "7.x-1.41" core = "7.x" project = "panopoly_test" -datestamp = "1471712444" +datestamp = "1479408780" diff --git a/profiles/wcm_base/modules/panopoly/panopoly_test/panopoly_test.panelizer.inc b/profiles/wcm_base/modules/panopoly/panopoly_test/panopoly_test.panelizer.inc index 64f3f8be1a593767af92fb6e010706ca8e7dc490..01724d9894a376d863402f69e4f2a8fc1b6a6636 100644 --- a/profiles/wcm_base/modules/panopoly/panopoly_test/panopoly_test.panelizer.inc +++ b/profiles/wcm_base/modules/panopoly/panopoly_test/panopoly_test.panelizer.inc @@ -42,7 +42,7 @@ function panopoly_test_panelizer_defaults() { $display->title = '%node:title'; $display->uuid = '9d26a711-39c5-4ef6-a421-e2feb7d9e4e3'; $display->storage_type = 'panelizer_default'; - $display->storage_id = 'node:panopoly_landing_page:default'; + $display->storage_id = 'node:panopoly_test_landing_page:default'; $display->content = array(); $display->panels = array(); $display->hide_title = PANELS_TITLE_FIXED; diff --git a/profiles/wcm_base/modules/panopoly/panopoly_test/tests/features/image_widget.feature b/profiles/wcm_base/modules/panopoly/panopoly_test/tests/features/image_widget.feature index ca2472bb7cd25fcc75720cc60cea867c7d604249..1156ceab6ada01b9b69d0a0832809949aa9a1515 100644 --- a/profiles/wcm_base/modules/panopoly/panopoly_test/tests/features/image_widget.feature +++ b/profiles/wcm_base/modules/panopoly/panopoly_test/tests/features/image_widget.feature @@ -16,10 +16,22 @@ Feature: Add image widget | Title | Testing image widget title | | Editor | plain_text | | Caption | Testing caption | - And I attach the file "test-sm.png" to "files[field_basic_image_image_und_0]" - And I press "Upload" - And I fill in "Alternate text" with "Testing alt text" - And I press "Save" in the "CTools modal" region + And I click "Browse" + And I switch to the frame "mediaBrowser" + And I attach the file "test-sm.png" to "files[upload]" + And I press "Next" + Then I should see "Destination" + When I select the radio button "Public local files served by the webserver." + And I press "Next" + Then I should see a "#edit-submit" element + And I should see the "Crop" button + When I fill in the following: + | Alt Text | Testing alt text | + | Title Text | Testing title text | + And I press "Save" + And I switch out of all frames + And I wait 2 seconds + When I press "Save" in the "CTools modal" region And I press "Save" And I wait for the Panels IPE to deactivate Then I should see "Testing image widget title" @@ -40,10 +52,22 @@ Feature: Add image widget | Title | Testing image widget title | | Editor | plain_text | | URL | https://www.drupal.org/project/panopoly | - And I attach the file "test-sm.png" to "files[field_basic_image_image_und_0]" - And I press "Upload" - And I fill in "Alternate text" with "Testing alt text" - And I press "Save" in the "CTools modal" region + And I click "Browse" + And I switch to the frame "mediaBrowser" + And I attach the file "test-sm.png" to "files[upload]" + And I press "Next" + Then I should see "Destination" + When I select the radio button "Public local files served by the webserver." + And I press "Next" + Then I should see a "#edit-submit" element + And I should see the "Crop" button + When I fill in the following: + | Alt Text | Testing alt text | + | Title Text | Testing title text | + And I press "Save" + And I switch out of all frames + And I wait 2 seconds + When I press "Save" in the "CTools modal" region And I press "Save" And I wait for the Panels IPE to deactivate Then I should see "Testing image widget title" diff --git a/profiles/wcm_base/modules/panopoly/panopoly_theme/CHANGELOG.txt b/profiles/wcm_base/modules/panopoly/panopoly_theme/CHANGELOG.txt index a6493b4e6cd8198b44b0c754aea9e9665e5e5696..998744c3470003c59b80ed3f9b4f722f92653328 100644 --- a/profiles/wcm_base/modules/panopoly/panopoly_theme/CHANGELOG.txt +++ b/profiles/wcm_base/modules/panopoly/panopoly_theme/CHANGELOG.txt @@ -1,3 +1,7 @@ +Panopoly Theme 7.x-1.41, 2016-11-17 +---------------------------- +- No changes since last release. + Panopoly Theme 7.x-1.40, 2016-08-20 ---------------------------- - No changes since last release. diff --git a/profiles/wcm_base/modules/panopoly/panopoly_theme/panopoly_theme.info b/profiles/wcm_base/modules/panopoly/panopoly_theme/panopoly_theme.info index 016af8e3c6c7dcc7379a07a975313d420f1299c8..c6b7a68b3a8d3872eac6111d60dbdc86d88c1e50 100644 --- a/profiles/wcm_base/modules/panopoly/panopoly_theme/panopoly_theme.info +++ b/profiles/wcm_base/modules/panopoly/panopoly_theme/panopoly_theme.info @@ -11,9 +11,9 @@ stylesheets[all][] = css/panopoly-accordian.css stylesheets[all][] = css/panopoly-layouts.css features[features_api][] = api:2 -; Information added by Drupal.org packaging script on 2016-08-20 -version = "7.x-1.40" +; Information added by Drupal.org packaging script on 2016-11-17 +version = "7.x-1.41" core = "7.x" project = "panopoly_theme" -datestamp = "1471712454" +datestamp = "1479408791" diff --git a/profiles/wcm_base/modules/panopoly/panopoly_widgets/CHANGELOG.txt b/profiles/wcm_base/modules/panopoly/panopoly_widgets/CHANGELOG.txt index 00b2ddda8125ded77a57cd4d8ac766c9245d8225..972360d5997ccaab029fd4644b61f8e5bfa805f5 100644 --- a/profiles/wcm_base/modules/panopoly/panopoly_widgets/CHANGELOG.txt +++ b/profiles/wcm_base/modules/panopoly/panopoly_widgets/CHANGELOG.txt @@ -1,3 +1,7 @@ +Panopoly Widgets 7.x-1.41, 2016-11-17 +------------------------------ +- Switch Image widget to use Media Browser. + Panopoly Widgets 7.x-1.40, 2016-08-20 ------------------------------ - No changes since last release. diff --git a/profiles/wcm_base/modules/panopoly/panopoly_widgets/panopoly_widgets.features.field_instance.inc b/profiles/wcm_base/modules/panopoly/panopoly_widgets/panopoly_widgets.features.field_instance.inc index 9476461fd84273cd92dec6b91609b3404c037d38..62685fd33802dba8c700f24d4f368f408feaa493 100644 --- a/profiles/wcm_base/modules/panopoly/panopoly_widgets/panopoly_widgets.features.field_instance.inc +++ b/profiles/wcm_base/modules/panopoly/panopoly_widgets/panopoly_widgets.features.field_instance.inc @@ -140,7 +140,7 @@ function panopoly_widgets_field_default_field_instances() { 'entity_type' => 'fieldable_panels_pane', 'field_name' => 'field_basic_image_image', 'label' => 'Image', - 'required' => 0, + 'required' => 1, 'settings' => array( 'alt_field' => 1, 'default_image' => 0, @@ -154,13 +154,32 @@ function panopoly_widgets_field_default_field_instances() { ), 'widget' => array( 'active' => 1, - 'module' => 'image', + 'module' => 'media', 'settings' => array( + 'allowed_schemes' => array( + 'private' => 'private', + 'public' => 'public', + 'vimeo' => 0, + 'youtube' => 0, + ), + 'allowed_types' => array( + 'audio' => 0, + 'document' => 0, + 'image' => 'image', + 'video' => 0, + ), + 'browser_plugins' => array( + 'media_default--media_browser_1' => 'media_default--media_browser_1', + 'media_default--media_browser_my_files' => 0, + 'media_internet' => 0, + 'upload' => 'upload', + 'youtube' => 0, + ), 'manualcrop_crop_info' => 1, 'manualcrop_default_crop_area' => 1, 'manualcrop_enable' => 1, 'manualcrop_inline_crop' => 0, - 'manualcrop_instant_crop' => 0, + 'manualcrop_instant_crop' => FALSE, 'manualcrop_instant_preview' => 1, 'manualcrop_keyboard' => 1, 'manualcrop_maximize_default_crop_area' => 1, @@ -170,10 +189,8 @@ function panopoly_widgets_field_default_field_instances() { ), 'manualcrop_styles_mode' => 'include', 'manualcrop_thumblist' => 0, - 'preview_image_style' => 'thumbnail', - 'progress_indicator' => 'throbber', ), - 'type' => 'image_image', + 'type' => 'media_generic', 'weight' => 1, ), ); diff --git a/profiles/wcm_base/modules/panopoly/panopoly_widgets/panopoly_widgets.info b/profiles/wcm_base/modules/panopoly/panopoly_widgets/panopoly_widgets.info index 7d67d32cae6f71bf9fb6c00e3adeb95d2607a817..6c2daf9dfb76c1914ea66c279f632937e6280fea 100644 --- a/profiles/wcm_base/modules/panopoly/panopoly_widgets/panopoly_widgets.info +++ b/profiles/wcm_base/modules/panopoly/panopoly_widgets/panopoly_widgets.info @@ -124,9 +124,9 @@ features[linkit_profiles][] = content_fields features[views_view][] = panopoly_widgets_general_content features_exclude[dependencies][linkit] = linkit -; Information added by Drupal.org packaging script on 2016-08-20 -version = "7.x-1.40" +; Information added by Drupal.org packaging script on 2016-11-17 +version = "7.x-1.41" core = "7.x" project = "panopoly_widgets" -datestamp = "1471712479" +datestamp = "1479408816" diff --git a/profiles/wcm_base/modules/panopoly/panopoly_widgets/panopoly_widgets.install b/profiles/wcm_base/modules/panopoly/panopoly_widgets/panopoly_widgets.install index 09441ddeb2774623a291c597a467e841d5776a25..885328fee9b425a98de90dd480f2b68b01ce27f7 100644 --- a/profiles/wcm_base/modules/panopoly/panopoly_widgets/panopoly_widgets.install +++ b/profiles/wcm_base/modules/panopoly/panopoly_widgets/panopoly_widgets.install @@ -390,3 +390,10 @@ function panopoly_widgets_update_7017() { features_revert(array('panopoly_widgets' => array('field_base', 'field_instance'))); } +/** + * Make sure the image widget switches to the Media browser widget. + */ +function panopoly_widgets_update_7018() { + features_revert(array('panopoly_widgets' => array('field_instance'))); +} + diff --git a/profiles/wcm_base/themes/ocio_omega_base/css/ocio-omega-base.no-query.css b/profiles/wcm_base/themes/ocio_omega_base/css/ocio-omega-base.no-query.css index e44041b2141c406b775aa4df7dd8c26a812b3b4e..e70ec59137ba7a4106b52e67f0abc60593662ee4 100644 --- a/profiles/wcm_base/themes/ocio_omega_base/css/ocio-omega-base.no-query.css +++ b/profiles/wcm_base/themes/ocio_omega_base/css/ocio-omega-base.no-query.css @@ -2414,6 +2414,14 @@ p.search-result__snippet { .panel-pane.pane-bundle-tile-pane-plus-text-area .tile-image-style-icon .text-areas { padding: 0; } +.panel-pane.pane-bundle-tile-pane-plus-text-area .tile-image-style-icon-center { + display: block; + padding: 1.4em 1.4em 1em; +} +.panel-pane.pane-bundle-tile-pane-plus-text-area .tile-image-style-icon-center .field--name-field-tile-background-img { + width: 25%; + margin: 0 auto; +} #edit-field-tile-background-img .description { font-size: 120%; diff --git a/profiles/wcm_base/themes/ocio_omega_base/css/ocio-omega-base.styles.css b/profiles/wcm_base/themes/ocio_omega_base/css/ocio-omega-base.styles.css index 8064f6044033f3d825efefea6c5269f9d70cca23..9bf87d7a26cac8692944c51c9a100cb229f7c655 100644 --- a/profiles/wcm_base/themes/ocio_omega_base/css/ocio-omega-base.styles.css +++ b/profiles/wcm_base/themes/ocio_omega_base/css/ocio-omega-base.styles.css @@ -2446,6 +2446,14 @@ p.search-result__snippet { .panel-pane.pane-bundle-tile-pane-plus-text-area .tile-image-style-icon .text-areas { padding: 0; } +.panel-pane.pane-bundle-tile-pane-plus-text-area .tile-image-style-icon-center { + display: block; + padding: 1.4em 1.4em 1em; +} +.panel-pane.pane-bundle-tile-pane-plus-text-area .tile-image-style-icon-center .field--name-field-tile-background-img { + width: 25%; + margin: 0 auto; +} #edit-field-tile-background-img .description { font-size: 120%; diff --git a/profiles/wcm_base/themes/ocio_omega_base/sass/components/_tiles.scss b/profiles/wcm_base/themes/ocio_omega_base/sass/components/_tiles.scss index 3dec10b16d2209dc2904a81c4e8425557c85039c..c635470671895f243cb77124b3df7154f62f0d85 100644 --- a/profiles/wcm_base/themes/ocio_omega_base/sass/components/_tiles.scss +++ b/profiles/wcm_base/themes/ocio_omega_base/sass/components/_tiles.scss @@ -221,6 +221,16 @@ padding: 0; } } + + .tile-image-style-icon-center { + display: block; + padding: 1.4em 1.4em 1em; + + .field--name-field-tile-background-img { + width: 25%; + margin: 0 auto; + } + } } diff --git a/profiles/wcm_base/wcm_base.make b/profiles/wcm_base/wcm_base.make index 975757dc93cd01cc9bbd7f1c342666c07ecc423d..90ec5bc70b582e6be5b1f5e40febbd83289e0fc2 100644 --- a/profiles/wcm_base/wcm_base.make +++ b/profiles/wcm_base/wcm_base.make @@ -444,32 +444,32 @@ libraries[ocio_modernizr][download][branch] = 7.x-1.x ; The Panopoly Foundation -projects[panopoly_core][version] = 1.40 +projects[panopoly_core][version] = 1.41 projects[panopoly_core][subdir] = panopoly -projects[panopoly_theme][version] = 1.40 +projects[panopoly_theme][version] = 1.41 projects[panopoly_theme][subdir] = panopoly -projects[panopoly_magic][version] = 1.40 +projects[panopoly_magic][version] = 1.41 projects[panopoly_magic][subdir] = panopoly -projects[panopoly_widgets][version] = 1.40 +projects[panopoly_widgets][version] = 1.41 projects[panopoly_widgets][subdir] = panopoly -projects[panopoly_admin][version] = 1.40 +projects[panopoly_admin][version] = 1.41 projects[panopoly_admin][subdir] = panopoly ; The Panopoly Toolset -projects[panopoly_pages][version] = 1.40 +projects[panopoly_pages][version] = 1.41 projects[panopoly_pages][subdir] = panopoly -projects[panopoly_search][version] = 1.40 +projects[panopoly_search][version] = 1.41 projects[panopoly_search][subdir] = panopoly ; For running the automated tests. -projects[panopoly_test][version] = 1.40 +projects[panopoly_test][version] = 1.41 projects[panopoly_test][subdir] = panopoly