PHP » GoLang |
login |
register |
about
|
GoLang SolrClient::commit
request it (371)
GoLang replacement for PHP's SolrClient::commit
[edit | history]
SolrClient::commit(PECL solr >= 0.9.2) SolrClient::commit — Finalizes all add/deletes made to the index Description
public SolrUpdateResponse SolrClient::commit
([ bool
$softCommit = FALSE
[, bool $waitSearcher = TRUE
[, bool $expungeDeletes = FALSE
]]] )This method finalizes all add/deletes made to the index. Parameters
Return ValuesReturns a SolrUpdateResponse object on success or throws an exception on failure. Errors/ExceptionsThrows SolrClientException if the client had failed, or there was a connection issue. Throws SolrServerException if the Solr Server had failed to process the request. Changelog
NotesWarning
PECL Solr >= 2.0 only supports Solr Server >= 4.0 See Also
|
more
Recently updated
more
Most requested
more
Last requests
|