Doc #72761 [Opn->Ver]: Buggy example
| From: | cmb@php.net | Date: | Fri, 05 Aug 2016 11:54:27 +0000 |
| Subject: | Doc #72761 [Opn->Ver]: Buggy example | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-13794@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=72761&edit=1
ID: 72761
Updated by: cmb@php.net
Reported by: michal dot zagdan at gmail dot com
Summary: Buggy example
-Status: Open
+Status: Verified
Type: Documentation Problem
-Package: Documentation problem
+Package: solr
PHP Version: Irrelevant
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Yes, that's obviously wrong. Can this line simply be removed?
Previous Comments:
------------------------------------------------------------------------
[2016-08-05 11:10:38] michal dot zagdan at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/solrquery.addfilterquery
---
In example code query sets itself instead of query text:
$query = new SolrQuery();
$query->setQuery($query);
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=72761&edit=1