lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Lucas <bluca...@gmail.com>
Subject RE: Java or PHP code to trigger solr?
Date Thu, 29 Jun 2006 03:47:53 GMT
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:erik@ehatchersolutions.com] 
Sent: Wednesday, June 28, 2006 9:35 PM
To: solr-user@lucene.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/solr/ 
> 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


Mime
View raw message