solarium/solarium
PHP Solr client
7.0.0
35M downloads/mo
#921 most downloaded on Packagist
solariumphp/solarium
What this package is like to depend on
Last release 1 months ago
17 Jul 2026
Release timing varies
gaps range from 9 days to 11 months
Rarely documented
notes for 8 of 66 stable releases
Nothing withdrawn
no release was ever pulled
15 years old
91 releases · first in 2012
6 releases in the last 12 months
see the full history below
Release timeline
90 releases · Jan 2012 to Jul 2026Releases
latest 60 of 91-
7.0.027 Apr 2026Release notes
Open source →[7.0.0]
Added
- Solr 10 support
- PHP 8.5 support
- Solarium\QueryType\Extract\Query::setStreamType()
Fixed
- Solarium\QueryType\Server\CoreAdmin\Result\Result::getResponse() always returns a Solarium\Core\Client\Response object, even if the response data contains a field named
"response" - Solarium\QueryType\Server\CoreAdmin\Result\Result::$response publicly exposes the
"response"field from the response data - Solarium\Plugin\MinimumScoreFilter\Document::__call() unpacks the $arguments array when forwarding a method call to the original document
- Solarium\QueryType\Analysis\Query\Document::setQuery() and setShowMatch() options are added to the request query string
- Solarium\QueryType\Analysis\Query\Document can handle documents with multivalued fields
Changed
- Added
voidreturn type toSolarium\Core\Plugin\PluginInterface::initPlugin()method signature - Added
voidreturn type toSolarium\Core\Plugin\PluginInterface::deinitPlugin()method signature - Added
voidreturn type toSolarium\Core\Plugin\AbstractPlugin::initPluginType()method signature - Changed return type of some Facets methods from
selftostatic - Replaced class property type hints with type declarations
- Added union type declarations to method signatures
- Solarium\Core\Query\Helper::formatDate() throws a
TypeErrorinstead of returningfalseif called with an incompatibly typed parameter - Managed resources queries no longer work around SOLR-6853 by default. Set the 'useDoubleEncoding' option to
trueif this bug affects you. - Solarium codebase is now analysed at PHPStan level 2
Removed
- Solarium\Component\Result\Stats\FacetValue::getFacets(), always returned
null - Solarium\Core\Query\AbstractQuery::setTimeAllowed() and getTimeAllowed(), moved to Solarium\QueryType\Select\Query\Query
- Solarium\Core\Query\Helper::cacheControl(), use Solarium\QueryType\Select\Query\FilterQuery::setCache() and setCost() instead
Deprecated
- Solarium\Core\Query\AbstractQuery::setResponseWriter('phps'), rely on the default 'json' response writer instead
New Contributors
- @mpdude made their first contribution in #1171
- @nebosuker made their first contribution in #1175
Full Changelog: 6.4.1...7.0.0
-
7.0.0-alpha.206 Jan 2026 pre-releaseRelease notes
Open source →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 [email protected]
-
7.0.0-alpha.118 Oct 2025 pre-releaseNothing published for this version
-
6.4.217 Jul 2026 -
6.4.118 Oct 2025Release notes
Open source →##Added
- CBOR formatted update requests
- Solarium\Core\Query\Helper::knn()
- Solarium\Core\Query\Helper::knnTextToVector()
- Solarium\Core\Query\Helper::vectorSimilarity()
-
6.4.018 Oct 2025 -
6.3.720 Feb 2025Release notes
Open source →Added
- Additional test coverage
Changed
- PHPUnit 9 → 10
Removed
- PHP 8.0 support
-
6.3.627 Nov 2024Release notes
Open source →Added
- PHP 8.4 support
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()
Fixed
- JSON update requests correctly handle
Stringableobject set as field value
Changed
- JSON update requests give precedence to
StringableoverJsonSerializablefor object set as field value to keep behaviour consistent across request formats
Removed
- Support for config objects, you have to convert them to an array before passing to a constructor or
setOptions()
Deprecated
Solarium\Core\Query\AbstractQuery::setTimeAllowed(), moved toSolarium\QueryType\Select\Query\Query
-
6.3.510 Jan 2024Release notes
Open source →Added
- Option
buildAllfor Suggesters - NoWaitForResponseRequest Plugin
Fixed
- PHP 8.2 deprecations for Solarium\QueryType\Server\Collections results
- Option
-
6.3.404 Dec 2023Release notes
Open source →Added
- PHP 8.3 support
- Solarium\QueryType\Server\Api\Result::getWarning()
- Term Vector Component
Fixed
- ParallelExecution adds a HttpException instead of an empty Result in case of an endpoint failure
- Facet pivot stats contain all fields (previously only the last field was present in the result)
- Facet pivot stats return
NANfor a mean value that's NaN - Facet pivot stats return an associative array for percentiles
- PHP 8.2 deprecation for V1 Config/V2 Introspect API results
Changed
- Facet pivot stats results use the field name instead of
'stats_fields'as array key
-
6.3.314 Oct 2023Nothing published for this version
-
6.3.219 Sep 2023Nothing published for this version
-
6.3.122 Jun 2023Nothing published for this version
-
6.3.013 Jun 2023Nothing published for this version
-
6.2.806 Dec 2022Nothing published for this version
-
6.2.712 Sep 2022Nothing published for this version
-
6.2.622 Jul 2022Nothing published for this version
-
6.2.520 Jul 2022Nothing published for this version
-
6.2.430 Jun 2022Nothing published for this version
-
6.2.331 Jan 2022Nothing published for this version
-
6.2.220 Jan 2022Nothing published for this version
-
6.2.126 Dec 2021Nothing published for this version
-
6.2.022 Dec 2021Nothing published for this version
-
6.1.608 Nov 2021Nothing published for this version
-
6.1.512 Aug 2021Nothing published for this version
-
6.1.406 Jul 2021Nothing published for this version
-
6.1.324 Jun 2021Nothing published for this version
-
6.1.223 Jun 2021Nothing published for this version
-
6.1.105 Feb 2021Nothing published for this version
-
6.1.005 Feb 2021Nothing published for this version
-
6.0.405 Nov 2020Nothing published for this version
-
6.0.314 Oct 2020Nothing published for this version
-
6.0.227 Aug 2020Nothing published for this version
-
6.0.103 Jul 2020Nothing published for this version
-
6.0.022 Jun 2020Nothing published for this version
-
6.0.0-rc.118 Jun 2020 pre-releaseNothing published for this version
-
6.0.0-beta.115 Jun 2020 pre-releaseNothing published for this version
-
6.0.0-alpha.105 Jun 2020 pre-releaseNothing published for this version
-
5.2.003 Apr 2020Nothing published for this version
-
5.1.614 Feb 2020Nothing published for this version
-
5.1.506 Dec 2019Nothing published for this version
-
5.1.402 Oct 2019Nothing published for this version
-
5.1.312 Sep 2019Nothing published for this version
-
5.1.209 Sep 2019Nothing published for this version
-
5.1.105 Sep 2019Nothing published for this version
-
5.1.003 Sep 2019Nothing published for this version
-
5.1.0-rc.118 Aug 2019 pre-releaseNothing published for this version
-
5.0.305 Jul 2019Nothing published for this version
-
5.0.214 May 2019Nothing published for this version
-
5.0.102 May 2019Nothing published for this version
-
5.0.030 Apr 2019Nothing published for this version
-
5.0.0-rc.127 Apr 2019 pre-releaseNothing published for this version
-
5.0.0-beta.118 Apr 2019 pre-releaseNothing published for this version
-
5.0.0-alpha.209 Apr 2019 pre-releaseNothing published for this version
-
5.0.0-alpha.108 Apr 2019 pre-releaseNothing published for this version
-
4.3.0-alpha102 Feb 2019 pre-releaseNothing published for this version
-
4.3.0-alpha.206 Feb 2019 pre-releaseNothing published for this version
-
4.2.024 Nov 2018Nothing published for this version
-
4.2.0-rc.113 Nov 2018 pre-releaseNothing published for this version
-
4.2.0-beta.101 Nov 2018 pre-releaseNothing published for this version