Finally Solarium 3.0.0 is out! This is the biggest changeset for Solarium since the start of the project, and includes the following:
- Support only PHP 5.3+
- Fully namespaced
- File restructuring and class renaming
- Code style switched from Zend Framework 1 to Symfony 2 (but Solarium is still not tied to a framework!)
- The concept of ‘Endpoints’ was introduced to support multiple Solr instances/cores in one client
- Interfaces were added for all important concepts in the library
- Internal classmaps for querytypes and components were simplified
- The default adapter has been switched to Curl
- OmitHeader support was added and enabled by default
- Edismax is now a separate component (used to be combined with Dismax)
- Http authentication support
- Support for the Extract querytype, to index various documents
- Support for PHPS Solr response data (in some cases much faster)
- Custom hooks have been replaced by the very well documented and tested Symfony EventDispatcher component.
- CreateFacet* methods can now directly add the created facet
- The spellcheck component query now supports placeholders
- Tagging and excluding of the main querystring is now supported
- Added new grouping params: group.func, group.format, group.facet
- Update query supports softCommit
- The Curl adapter now has proxy support
- Geospatial functions in query helper now support dereferenced params
- Facet results can now be extracted from the response data (facets defined in the Solr config, not in your Solarium query
Starting from this version no pre-packaged versions of the library will be supplied on the site anymore. The recommended way to install Solarium is by using Composer that also manages the Symfony EventDispatcher dependency. You can find Solarium on Packagist .
If you somehow still want or need to manually download the library, just get a package from Github. But in that case you need to manually manage dependencies.
If you run into any issues during an upgrade from 2.x that are not described in the upgrade guide please let me know, so it can be added.
Last but not least, I want the thank the various people that contributed to Solarium 3, great work! And some nice pull requests are already waiting for Solarium 3.1!