note 94644 added to solr.examples
| From: | trickitoatyahoo at osu1 dot php dot net | Date: | Mon, 16 Nov 2009 17:08:57 +0000 |
| Subject: | note 94644 added to solr.examples | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-162957@lists.php.net to get a copy of this message | ||
if your path to solr is something other than: /solr
you should add this to the bootstrap file above:
define('SOLR_SERVER_PATH', 'my-solr-url');
and then a corresponding entry to the options array in your client php code like:
'path' => SOLR_SERVER_PATH
I couldn't find this is in the documentation and had to peek at the source to figure it out.
----
Server IP: 192.41.40.227
Probable Submitter: 69.2.120.11
----
Manual Page -- http://www.php.net/manual/en/solr.examples.php
Edit -- https://master.php.net/note/edit/94644
Del: integrated -- https://master.php.net/note/delete/94644/integrated
Del: useless -- https://master.php.net/note/delete/94644/useless
Del: bad code -- https://master.php.net/note/delete/94644/bad+code
Del: spam -- https://master.php.net/note/delete/94644/spam
Del: non-english -- https://master.php.net/note/delete/94644/non-english
Del: in docs -- https://master.php.net/note/delete/94644/in+docs
Del: other reasons-- https://master.php.net/note/delete/94644
Reject -- https://master.php.net/note/reject/94644
Search -- https://master.php.net/manage/user-notes.php