Apache Solr PHP client
, (*1)
A PHP library for indexing and searching documents within an Apache Solr
installation., (*2)
This client library was forked from Donovan Jiménez' Google Code project: http://groups.google.com/group/php-solr-client
Before that, it was hosted in Solr's issue tracker: https://issues.apache.org/jira/browse/SOLR-341, (*3)
What is Apache Solr?
Solr is an open source enterprise search server based on the Lucene Java search library, with XML/HTTP
and JSON APIs, hit highlighting, faceted search, caching, replication, a web administration interface
and many more features. It runs in a Java servlet container such as Tomcat.
For more information about Solr, please see the Solr Web Page. The
project's Wiki is the de facto starting point for information on how
to install and configure Solr for your individual needs., (*4)
Features
- Quering, deleting, optimizing.
- Support for both Solr 3 and Solr 4 through compatibility layers.
- Support for soft commit with Solr 4.
Installation
Composer (PHP 5 >= 5.3.0)
Just require
reprovinci/solr-php-client
:, (*5)
{
"require": {
"reprovinci/solr-php-client": "1.0.x"
}
}
Testing
The code is automatically tested by Travis after each push.
Travis currently reports the following build status:
., (*6)
If you want to test the code yourself, follow the following instructions:, (*7)
Composer (PHP 5 >= 5.3.0)
Just install dev dependencies and run PHPUnit:, (*8)
composer install --dev
bin/phpunit tests
Credits
- Thanks to @GZyl for fixing
<add>
compatibility between Solr versions. #7
Please see Frequently Asked Questions, (*9)
Or, if you have usage questions, try posting to the
USER DISCUSSION GROUP., (*10)
Disclaimer
This PHP library is not part of the Apache Solr project, nor is it maintained by the Apache Software Foundation.
All linked Apache Solr documentation or logos remain the sole property of the Apache Solr project, its authors,
and the Apache Software Foundation., (*11)