array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'class.solrclient.php', 1 => 'SolrClient', ), 'up' => array ( 0 => 'book.solr.php', 1 => 'Solr', ), 'prev' => array ( 0 => 'solrobject.offsetunset.php', 1 => 'SolrObject::offsetUnset', ), 'next' => array ( 0 => 'solrclient.adddocument.php', 1 => 'SolrClient::addDocument', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/solr/solrclient.xml', ), 'extra_header_links' => array ( 'rel' => 'alternate', 'href' => '/manual/en/feeds/class.solrclient.atom', 'type' => 'application/atom+xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL solr >= 0.9.2)
Used to send requests to a Solr server. Currently, cloning and serialization of SolrClient instances is not supported.
$doc
, bool $overwrite
= true
, int $commitWithin
= 0): SolrUpdateResponse$softCommit
= false
, bool $waitSearcher
= true
, bool $expungeDeletes
= false
): SolrUpdateResponse$maxSegments
= 1, bool $softCommit
= true
, bool $waitSearcher
= true
): SolrUpdateResponseSolrClient::SEARCH_SERVLET_TYPE
Used when updating the search servlet.
SolrClient::UPDATE_SERVLET_TYPE
Used when updating the update servlet.
SolrClient::THREADS_SERVLET_TYPE
Used when updating the threads servlet.
SolrClient::PING_SERVLET_TYPE
Used when updating the ping servlet.
SolrClient::TERMS_SERVLET_TYPE
Used when updating the terms servlet.
SolrClient::SYSTEM_SERVLET_TYPE
Used when retrieving system information from the system servlet.
SolrClient::DEFAULT_SEARCH_SERVLET
This is the initial value for the search servlet.
SolrClient::DEFAULT_UPDATE_SERVLET
This is the initial value for the update servlet.
SolrClient::DEFAULT_THREADS_SERVLET
This is the initial value for the threads servlet.
SolrClient::DEFAULT_PING_SERVLET
This is the initial value for the ping servlet.
SolrClient::DEFAULT_TERMS_SERVLET
This is the initial value for the terms servlet used for the TermsComponent
SolrClient::DEFAULT_SYSTEM_SERVLET
This is the initial value for the system servlet used to obtain Solr Server information