(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 $allowDups = false
[, int $commitWithin = 0
]] )$maxSegments = "1"
[, bool $waitFlush = true
[, bool $waitSearcher = true
]]] )$maxSegments = "1"
[, bool $waitFlush = true
[, bool $waitSearcher = true
]]] )SolrClient::SEARCH_SERVLET_TYPEUsed when updating the search servlet.
SolrClient::UPDATE_SERVLET_TYPEUsed when updating the update servlet.
SolrClient::THREADS_SERVLET_TYPEUsed when updating the threads servlet.
SolrClient::PING_SERVLET_TYPEUsed when updating the ping servlet.
SolrClient::TERMS_SERVLET_TYPEUsed when updating the terms servlet.
SolrClient::DEFAULT_SEARCH_SERVLETThis is the intial value for the search servlet.
SolrClient::DEFAULT_UPDATE_SERVLETThis is the intial value for the update servlet.
SolrClient::DEFAULT_THREADS_SERVLETThis is the intial value for the threads servlet.
SolrClient::DEFAULT_PING_SERVLETThis is the intial value for the ping servlet.
SolrClient::DEFAULT_TERMS_SERVLETThis is the intial value for the terms servlet used for the TermsComponent