Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 17302 программиста и 1695 роботов. Сейчас ищут 1098 программистов ...
SolrClient::deleteByIds - Deletes by Ids
Вернуться к: SolrClient
SolrClient::deleteByIds
(PECL solr >= 0.9.2)
SolrClient::deleteByIds — Deletes by Ids
Описание
Deletes a collection of documents with the specified set of ids.
Список параметров
-
ids
-
An array of IDs representing the uniqueKey field declared in the schema for each document to be deleted. This must be an actual php variable.
Возвращаемые значения
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::deleteById() - Delete by Id
- SolrClient::deleteByQuery() - Deletes all documents matching the given query
- SolrClient::deleteByQueries() - Removes all documents matching any of the queries
Вернуться к: SolrClient