note 98081 deleted from sphinxclient.open by visualmind
| From: | visualmind@php.net | Date: | Tue, 25 May 2010 08:14:57 +0000 |
| Subject: | note 98081 deleted from sphinxclient.open by visualmind | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-169579@lists.php.net to get a copy of this message | ||
Note Submitter: xxxbunker dot com
----
boy oh boy, sphinx via php documentation is flaky at best.
it appears (although i am still not 100% sure yet), that $sphinx->open(); needs to be called
BEFORE $sphinx->setServer(... if one wishes to initiate a persistent connection.
a little early to tell, but when using ->open() AFTER->setServer, i was receiving a lot of:
sphinx_query() must not be called after sphinx_add_query()
which appears to be sphinx complaining about running queries on a connection after a query has been
ran (thus, non persistent connection...)...
hope this helps!