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 israelekpo. The comment on this change is: Updating Wiki to reflect features in latest version of the PECL extension. http://wiki.apache.org/solr/SolPHP?action=diff&rev1=18&rev2=19 -------------------------------------------------- '''Apache Solr PHP Extension by Israel Ekpo:''' + 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. + + The documentation for the PECL extension contains instructions on how to install the extension and is available in the [[http://us.php.net/manual/en/book.solr.php|PHP Manual]] under Search Engine Extensions. + + The latest version of the PECL extension is 0.9.4 (2009-10-23) + - The php extension can be downloaded from the [[http://pecl.php.net/package/solr|Apache Solr]] PECL project home page + The php extension can be downloaded from the [[http://pecl.php.net/package/solr|Apache Solr PECL project]] home page. A quick list of some of the features of the API include : - * Built in support for adding, deleting, optimizing, searching, rollback, stats, TermsComponent etc. - * Built in serialization of Solr Parameter objects. - * Ability to reuse of HTTP connections across repeated requests. - * Ability to obtain input documents for possible resubmission from query responses. - * Simplified interface to access server response data. SolrObjects can be treated as arrays or objects. - * Ability to connect to Solr server instances secured behind HTTP Authentication and proxy servers. - The Apache Solr PHP extension uses version 2.2 of the xml response format internally. + * Built in support for adding, deleting, optimizing, searching, rollback. + * Developers can now update the values of the servlets (such as search, update) after the SolrClient instance has been created. + * Built in, Serializable query string builder objects which effectively simplifies the manipulation of name-value pair request parameters across repeated requests. + * The query builder API has methods to add/set, remove or retrieve name-value pair values for the following features in Solr : SimpleFacetParameters, StatsComponent, MoreLikeThis, HighlightingParameters, TermsComponent etc. + * Ability to reuse of HTTP connections across repeated requests (within the same thread in ZTS mode or same process in non-ZTS mode). + * Advanced HTTP client that provides built-in support for connecting to Solr servers secured behind HTTP Authentication or HTTP proxy servers. + * Ability to obtain SolrInputDocument objects from SolrDocument in query response for possible resubmission or updates. + * Automatic parsing of Solr response into native php objects whose properties can be accessed as array keys or object properties without any additional configuration on the client-side. This is simplified interface to access server response data. Solr Objects can be treated as arrays or objects. + * Also the SolrDocument retrieved from the query response implements the following interfaces which gives the developer several options on how to manipulate the response : ArrayAccess, Iterator, Traversable, Serializable. + + The extension currently uses version 2.2 of the xml response format internally. + - The contents of the XML response is transformed into native PHP types and the result is returned as a SolrObject instance. + The contents of the XML response is transformed into native PHP types and the result is returned as a Solr Object instance. + + You may also install it by running the following command in the console : + + $ pecl install solr-beta + '''Using Solr's PHP Output (Solr Version >=1.3)'''
