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.7.0
8 months ago
Download DLL for processor with 64 bits architecture (x64)
PHP 8.3
Loading...
PHP 8.2
Loading...
PHP 8.1
Loading...
PHP 8.0
Loading...
Download DLL for processor with 32 bits architecture (x86)
PHP 8.3
Loading...
PHP 8.2
Loading...
PHP 8.1
Loading...
PHP 8.0
Loading...
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.7.0 change log


Features:
- Support Highlight Query (#28)
- Support PHP 8.3
- Dropped Support for PHP 7.3 and below

API Changes:
- Added SolrQuery SolrQuery::setHighlightQuery(string $q)
- Added string SolrQuery::getHighlightQuery()

Bug Fixes:
- Fix parsed parameter types (#37)
- Fix compile error: libcurl on linux multi-arch support (#46)
- Fix SegFault in SolrClient::optimize() (debug mode)
- Fix Missing Windows DLLs (#51) / available on github releases now
- Fix curl checks for PHP 7.4+, use PKG_CONFIG (remicollet)

Internals:
- ci: windows tests (#51)
- parse_int macros

requires:

  • php >=7.4.0<=8.3.99
  • pearinstaller >=1.4.0
  • libxml