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 PHP5 and it already comes with built-in readiness for the latest features.
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 ;)
License: PHP License
- PHP 7.4 compatible
- PHP 7 windows support
- PHP 8.0.0beta3 compatible
- Bug #72740 Fixes NULL byte when using addQueryField() w/o boost
- Atomic Updates (partials)
- Simple Optimistic Concurrency
- Compatibility with PHP 7.1, 7.2, 7.3, latest 7.4
- Enable gzip encoding if server supports it
- Fix Real Time Get requests fails if it wasn't the first request
- Fix addQueryField return wrong query
- Fix Solr Extension build fail with curl 7.19+
- PHP 7 Support [Request #70696]
- Performance Optimizations
- Enabled SolrUtils::getSolrStats()
- Fix SolrException*::getInternalInfo
- Fix SolrQueryResponse::getRequestUrl returns wrong url with terms [Bug #71591]
- Fix SolrClient::deleteByIds Segfaults with invalid ids [Bug #71853]
- Fix SolrObject::offsetExists SegFault [Bug #71852]
- Fix float formatting with decimal comma [Bug #71568]
- Support indexing child/nested documents [Request #70739]
- Support nested documents parsing SolrObject [Request #70953]
- Support nested documents parsing SolrDocument [Request #70974]
- Added maxScore to SolrResponse [Request #68610]
- Fixed issues on big endean processors (Remi Collet)
- Enhancements on method parameter naming (reflections)
|2.2.1||- Fix windows build|