NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #998 most downloaded on Packagist
PHP Solr client
Last release 2 months ago
17 Jul 2026
Release timing varies
gaps range from 9 days to 11 months
Nearly every release is documented
notes for 56 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
15 years old
91 releases · first in 2012
Solarium\QueryType\Extract\Query::setStreamType()
"response""response" field from the response datavoid return type to Solarium\Core\Plugin\PluginInterface::initPlugin() method signaturevoid return type to Solarium\Core\Plugin\PluginInterface::deinitPlugin() method signaturevoid return type to Solarium\Core\Plugin\AbstractPlugin::initPluginType() method signatureself to staticTypeError instead of returning false if called with an incompatibly typed parametertrue if this bug affects you.nullFull Changelog: 6.4.1...7.0.0
One column per quarter.
This helps to avoid the following deprecation message being generated by Symfony's DebugClassLoader:
This helps to avoid the following deprecation message being generated by Symfony's DebugClassLoader:
Method "JsonSerializable::jsonSerialize()" might add "mixed" as a native return type declaration in the future. Do the same in implementation "Solarium\Core\Query\AbstractDocument" now to avoid errors or add an explicit @return annotation to suppress this message.
Co-authored-by: Markus Kalkbrenner git@kalki.de
Nothing published for this version
Remove deprecated curl_close() for PHP 8.5 compatibility (6.4.x backport) by @mably in #1178
Solarium\Core\Query\Helper::knn()
##Added
prepared corrected 6.4.x minor releases
prepared corrected 6.4.x minor releases
Added Additional test coverage Changed PHPUnit 9 → 10 Removed PHP 8.0 support
Solarium\QueryType\Select\Query\Quey::setCanCancel()
Solarium\QueryType\Select\Query\Quey::setCanCancel()Solarium\QueryType\Select\Query\Quey::setQueryUuid()Solarium\QueryType\Select\Query\Quey::setPartialResults()Solarium\QueryType\Select\Query\Quey::setCpuAllowed()Solarium\QueryType\Select\Query\Quey::setMemAllowed()Solarium\QueryType\Select\Query\Quey::setSegmentTerminateEarly()Solarium\QueryType\Select\Query\Quey::setMultiThreaded()Stringable object set as field valueStringable over JsonSerializable for object set as field value to keep behaviour consistent across request formatssetOptions()Solarium\Core\Query\AbstractQuery::setTimeAllowed(), moved to Solarium\QueryType\Select\Query\QueryPHP 8.2 deprecations for Solarium\QueryType\Server\Collections results
buildAll for SuggestersPHP 8.2 deprecation for V1 Config/V2 Introspect API results
NAN for a mean value that's NaN'stats_fields' as array keySpatial component distance type changed from int to float
self to QueryInterface for backward compatibility with custom query classes that override this methodSolarium\Component\ReRankQuery::setOperator()
Loadbalancer plugin can failover on an optional list of HTTP status codes
extractOnly=trueAND, OR, TORemoved deprecated class constant Client::Version. Use Client::getVersion() instead
Solarium\Component\Highlighting\Highlighting::setQueryFieldPattern()
Workaround for opcache.preload issue in deprecated code unless 6.3.0 will be released
RequestBuilders must set a Content-Type on the Request for POST and PUT requests. Adapters no longer set a default.An empty array for a multiValued field was wrongly interpreted as an empty child document by the Update request builder in 6.2.5
Results and Documents implement JsonSerializable
Document::setField() and Document::addField()Unified Highlighter support + improved support for other highlighters
true to execute HEAD requests instead.Plugin\BufferedAddLite (BufferedAdd without event dispatching)
### Added - PHP 8.1 support
Possibility to set the context on an endpoint for SolrCloud instances with a non-default hostContext or Solr instances behind a reverse proxy, default
hostContext or Solr instances behind a reverse proxy, defaults to solr if omittedComponent\FacetSet::setOffset()
QueryType\Update\Query\Document::setFields() to set all fields on a Document
min, max and mean statistics in Component\Result\Stats\ResultTraitComponent\Result\Stats\Result::getDistinctValues()
NAN instead of 'NaN' if mean is NaNNAN instead of 'NaN' if mean is NaNSolarium\QueryType\ManagedResources\Result\Command::getWasSuccessful()
possible exception in Debug\Detail::__toString() when sub details are missing
MoreLikeThis::setMaximumDocumentFrequency()
mlt.match.include and mlt.match.offset in MoreLikeThis Component (they only work in MLT queries)Set Client::VERSION to '6.1.1'. Release 6.1.0 accidentally declared itself as 6.0.4.
Indexing labelled nested child documents through pseudo-fields
Avoid Notice: Undefined variable: http_response_header
Tika based file extraction with Solr 8.6
Support for the analytics component
createCommand() and createInitArgs() to issue commandsSolarium\Component\Result\Facet\JsonRange::getBefore()
\Solarium\Component\Result\Facet\Buckets::getNumBuckets()
\Solarium\Support\Utility::getXmlEncoding()
PostBigRequest plugin now acts on PRE_EXECUTE_REQUEST event instead of POST_CREATE_REQUEST
Raw XML commands to update query
AdapterInterface does not extend ConfigurableInterface anymoreHttp Adapter does not implement ConfigurableInterface anymorePsr18Adapter does not implement ConfigurableInterface anymorekey, tag, exclude) without the local_ prefixPUT requests against Solr 8.5.0 using the Zend2Http and Http adapters
Support for useConfiguredElevatedOrder
Remove explicit requirements for symfony/cache because of CVE-2019-18889
Solarium\Component\Facet\Pivot::setLimit()
Solarium\Component\ResponseParser\Debug fails on SolrCloud 6.x during extracting timing phases
BufferedAdd does not support Symfony event dispatcher
set modifier should remove a field when performing Atomic UpdatesUse Symfony\Contracts\EventDispatcher\Event instead of deprecated Symfony\Component\EventDispatcher\Event
Symfony >=4.3 event dispatcher deprecation warnings
Symfony >=4.3 event dispatcher deprecation warnings
Solarium\QueryType\MoreLikeThis\Query::setBoost()
Spellchecker result isn't NULL in case of no suggestions and correctly spelled
### Fixed - Getting started documentation
Component\Result\Facet\Bucket::getFacetSet()
QueryType\Stream\Expression is deprecated. Use QueryType\Stream\ExpressionBuilder instead.
Support multiple spellcheck dictionaries
Introduced FacetResultInterface
Updated dev and test environments to newer package versions, for example PHPUnit 8.0
Nothing published for this version
AdapterHelper functions are static
solr was not added automatically, so most users set it as path on the endpoint. This bug was discovered with the addition of V2 API support. In almost every setup, the path has to be set to / instead of /solr with this release!If a term contains a space, the space needs to be quoted by Helper::escapeTerm()
Support for add-distinct and removeregex modifiers
Endpoint::getBaseUri is deprecated. Please use getServerUri or getCoreBaseUri now
Your coding agent can read these notes before it upgrades. Set up the MCP server →