Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 18376 программистов и 1651 робот. Сейчас ищут 1337 программистов ...
SolrClient::deleteById - Delete by Id
Вернуться к: SolrClient
SolrClient::deleteById
(PECL solr >= 0.9.2)
SolrClient::deleteById — Delete by Id
Описание
Deletes the document with the specified ID. Where ID is the value of the uniqueKey field declared in the schema
Список параметров
-
id
-
The value of the uniqueKey field declared in the schema
Возвращаемые значения
Returns a SolrUpdateResponse on success and throws an exception on failure.
Ошибки
Throws SolrClientException if the client had failed, or there was a connection issue.
Throws SolrServerException if the Solr Server had failed to process the request.
Смотрите также
- SolrClient::deleteByIds() - Deletes by Ids
- SolrClient::deleteByQuery() - Deletes all documents matching the given query
- SolrClient::deleteByQueries() - Removes all documents matching any of the queries
Вернуться к: SolrClient