Doc #72761 [Ver->Csd]: Buggy example
| From: | cmb@php.net | Date: | Fri, 05 Aug 2016 13:44:05 +0000 |
| Subject: | Doc #72761 [Ver->Csd]: Buggy example | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-13797@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: Verified
+Status: Closed
Type: Documentation Problem
Package: solr
PHP Version: Irrelevant
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation better.
Previous Comments:
------------------------------------------------------------------------
[2016-08-05 13:43:42] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=339804
Log: Fix #72761: Buggy example
------------------------------------------------------------------------
[2016-08-05 13:37:52] cmb@php.net
Thanks, that sounds plausible.
------------------------------------------------------------------------
[2016-08-05 13:30:08] michal dot zagdan at gmail dot com
From what I've just testes it's needed to return anything. It would be best to change it
to:
$query->setQuery('*:*');
------------------------------------------------------------------------
[2016-08-05 11:54:26] cmb@php.net
Yes, that's obviously wrong. Can this line simply be removed?
------------------------------------------------------------------------
[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