solr

pecl install solr

The Apache Solr PHP extension is an extremely fast, light-weight, feature-rich library that allows PHP applications to communicate easily and efficiently with Apache Solr server instances using an object-oriented API.

It effectively simplifies the process of interacting with Apache Solr using PHP.

The extension has features such as built-in, serializable query string builder objects which effectively simplifies the manipulation of name-value pair request parameters across repeated requests.
The response from the Solr server is also automatically parsed into native php objects whose properties can be accessed as array keys or object properties without any additional configuration on the client-side.

Its advanced HTTP client reuses the same connection across multiple requests and provides built-in support for connecting to Solr servers secured behind HTTP Authentication or HTTP proxy servers. It is also able to connect to SSL-enabled containers.

Please consult the documentation for more details on features. Included in the source code are phpdoc stubs that enable autocomplete of Solr classes and methods in IDE during development in userland.

Please consider staring the package on github, and get a free release ;)

https://github.com/php/pecl-search_engine-solr

Maintainer

  • Omar Shaban (lead )
  • Birgir Haraldsson (lead )
  • Israel Ekpo (lead )

Details

Stars: 57
Issue openned: 6
Downloads: 889119
2.2.0
8 years ago
Request a build
Request to the website owner's team the built this extension with this parameters. The result is not guaranteed and can be impossible for many reasons. The extension source code is frequently not upto date with the most recent PHP version.
If you have another code source for this extension, provide it in comment.
Please (or register) to request a build.
Version 2.2.0 change log


- Support Real Time Get (Request #68647)
- Support Result Grouping (Request #68793)
- Support Field Collapsing (Request #70175)
- Support Expand Component (Request #70176)
- SolrMissingMandatoryParameterException (Request #70301)
- Fix SegFault on Solr Server 500 Response with no msg [xml RW] (Bug #69156)
- Fix SegFault on non-phpserialized 500 responses from Solr Server with PHPS RW (Bug #69156)
- Fix Failed to parse 500 error response when it lacks msg JSON/PHPS RW (Bug #70495, #70496)
- Fix compatibility tests with Solr Server 5 (Bug #70333)
- Fix Error unserializing raw response on statistics response having NaN as value (Bug #67394)

requires:

  • php >=5.3<=5.99.99
  • pearinstaller >=1.4.0
  • libxml