You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2011/04/06 20:04:18 UTC

[Solr Wiki] Update of "SolPHP" by YonikSeeley

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "SolPHP" page has been changed by YonikSeeley.
The comment on this change is: add solarium + some doc cleanup.
http://wiki.apache.org/solr/SolPHP?action=diff&rev1=26&rev2=27

--------------------------------------------------

- '''Original Client Code Contributed By Brian Lucas:'''
+ = Solr PHP support =
+ <<TableOfContents(3)>>
  
+ == solr-php-client ==
+ A 3rd party PHP library for indexing and searching documents within an Apache Solr installation. 
- There are two classes for PHP:  [[https://issues.apache.org/jira/browse/SOLR-50|SolrUpdate]]  and [[https://issues.apache.org/jira/browse/SOLR-51|SolrQuery]].
- 
- /!\ :TODO: /!\
- 
- - 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
- 
- '''Alternative Client Contributed by Donovan Jimenez:'''
  
  Zip / Tarballs can be found at [[http://code.google.com/p/solr-php-client/downloads/list|SolrPhpClient]]
  
@@ -21, +13 @@

   * PHPDoc generated API documentation included
   * See link above for example usage and further documentation
  
- '''Apache Solr PHP Extension by Israel Ekpo:'''
+ == Apache Solr PHP Extension ==
  
  The Apache Solr PECL extension is a light-weight, feature-rich library that allows developers using Apache Solr via PHP to communicate easily and efficiently with the Solr web service using an object-oriented API.
  
@@ -62, +54 @@

  
  $ pecl install solr-beta
  
- '''Using Solr's PHP Output (Solr Version >=1.3)'''
+ == Solarium ==
+ [[http://wiki.solarium-project.org/index.php/Main_Page|Solarium]] is a Solr client library for PHP applications that not only facilitates Solr communication but also tries to accurately model Solr concepts. 
  
+ 
+ == Solr's PHP response format ==
  Solr has a PHP response format that outputs an array (as PHP code) which can be eval'd.
- 
- https://issues.apache.org/jira/browse/SOLR-196
  
  Example usage:
  
@@ -75, +68 @@

  eval("\$result = " . $code . ";");
  print_r($result);
  }}}
- '''Using Solr's PHP Serialized Output (Solr Version >=1.3)'''
+ 
+ == Solr's PHP Serialized response format ==
  
  Solr has a PHP response format that outputs a serialized array.
- 
- https://issues.apache.org/jira/browse/SOLR-196
  
  Example usage:
  
@@ -128, +120 @@

  ----
  CategoryQueryResponseWriter
  
+ == Historical ==
+ ''Original Client Code Contributed By Brian Lucas:'''
+ 
+ There are two classes for PHP:  [[https://issues.apache.org/jira/browse/SOLR-50|SolrUpdate]]  and [[https://issues.apache.org/jira/browse/SOLR-51|SolrQuery]].
+ 
+ /!\ :TODO: /!\
+ 
+ - 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
+