wanadev/solr-php-client

This package is abandoned and no longer maintained. No replacement package was suggested.

A PHP library for indexing and searching documents within an Apache Solr installation.

v1.0.2 2012-10-08 18:07 UTC

This package is not auto-updated.

Last update: 2020-01-20 03:27:38 UTC


README

Build Status

A PHP library for indexing and searching documents within an Apache Solr installation.

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

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.

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:

{
  "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: Build Status.

If you want to test the code yourself, follow the following instructions:

Composer (PHP 5 >= 5.3.0)

Just install dev dependencies and run PHPUnit:

composer install --dev
bin/phpunit tests

Further Information

Please see Frequently Asked Questions

Or, if you have usage questions, try posting to the USER DISCUSSION GROUP.

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.