Ok, I uploaded the initial versions: http://wiki.apache.org/solr/SolPHP

Keep in mind that because of the application-specific nature of these
searches, I have been using a version adapted to my own needs.  I attempted
to abstract this version as much as possible but didn't test it after I
stripped away certain things (debugging code, logging code).  If there's a
need for that stuff, I'll include it in the next version. 

I just wanted to get something out there for you folks initially to start
using.

Let me know how it works.  You'll need ADODB to use it properly.  

TO-DO:
- clean up some of the XML writing code -- it's a tad "kludgy" right now.
- abstract out more of the logic into configurable variables
- add back in the logging and debugging classes that clean up the "echo"
calls

Now it's on to the rails version.

Brian

-----Original Message-----
From: Michael J. Giarlo [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 28, 2006 2:52 PM
To: solr-user@lucene.apache.org
Subject: Re: Java or PHP code to trigger solr?

I believe Brian Lucas was writing PHP bindings -- 
http://wiki.apache.org/solr/SolPHP

How's that going, anyway?  I'm pretty eager to get my grubby mitts on it.

-Mike


Mike Baranczak wrote:
> Here's a Java client for Solr:
> 
> http://issues.apache.org/jira/browse/SOLR-20
> 
> Erik Hatcher was recently talking about a Ruby-on-Rails interface for 
> Solr, but I don't know what the status is on that. As far as I know, 
> nobody has yet written interfaces for PHP or CF, but it shouldn't be 
> that hard; it's just a question of creating an XML document and sending 
> it over HTTP.
> 
> -MB
> 

Reply via email to