|
SolrClient::deleteByQueryDeletes all documents matching the given query Description
public SolrUpdateResponse SolrClient::deleteByQuery
( string
$query
)Deletes all documents matching the given query. Parameters
Return ValuesReturns a SolrUpdateResponse on success and 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. Examples
Example #1 SolrQuery::deleteByQuery example
<?php See Also
|