List Info

Thread: Java or PHP code to trigger solr?




Java or PHP code to trigger solr?
user name
2006-06-29 03:47:53
No, curl support is compiled into PHP and is extremely
stable so there's no
command shell or POSIX stability issues to deal with -- just
direct C
interfacing.  

Also, there is a way for PHP to talk to HTTP directly --
while I can post
that method, it's probably not necessary.  The curl
libraries have been
included in most PHP distros for quite some time and are
simply superior to
any other method of sending and receiving data over HTTP
sockets.  

Without attempting to generalize too much, there aren't too
many reasons
that one shouldn't have curl support enabled on their PHP
distribution. 

Brian

-----Original Message-----
From: Erik Hatcher [mailto:erikehatchersolutions.com] 
Sent: Wednesday, June 28, 2006 9:35 PM
To: solr-userlucene.apache.org
Subject: Re: Java or PHP code to trigger solr?


On Jun 28, 2006, at 5:26 PM, Brian Lucas wrote:
> Ok, I uploaded the initial versions: http://wiki.apache.org/s
olr/ 
> SolPHP

Wow, so you shell to "curl".  Interesting!  
Surely there is a PHP  
way to simply talk HTTP directly?  (never having code a line
of PHP  
ever)

	Erik

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )