Doc #55838 [Asn->Csd]: SolrClient::addDocument does not throw an exception
| From: | omars@php.net | Date: | Wed, 04 Nov 2015 23:26:30 +0000 |
| Subject: | Doc #55838 [Asn->Csd]: SolrClient::addDocument does not throw an exception | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-12856@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=55838&edit=1
ID: 55838
Updated by: omars@php.net
Reported by: mauricio at youzee dot com
Summary: SolrClient::addDocument does not throw an exception
-Status: Assigned
+Status: Closed
Type: Documentation Problem
Package: solr
Operating System: N/A
PHP Version: 5.3.8
Assigned To: omars
Block user comment: N
Private report: N
New Comment:
resolved since 1.1.0, 2.0.0.
It throws an exception now
Previous Comments:
------------------------------------------------------------------------
[2011-10-03 16:37:05] mauricio at youzee dot com
Description:
------------
---
From manual page: http://www.php.net/solrclient.adddocument#refsect1-
solrclient.adddocument-returnvalues
---
http://www.php.net/manual/en/solrclient.adddocument.php
It should throw an exception when Solr host is not available, and it is
triggering an error WARNING level.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=55838&edit=1