Login  |  Packages  |  Support  |  Bugs

Return

Changelog for solr
Release What has changed?
2.7.0 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
2.6.0 - PHP 8.1 compatible
- PHP 8.2 compatible
2.5.1 - PHP 7.4 compatible
- PHP 7 windows support
- PHP 8.0.0beta3 compatible
- Bug #72740 Fixes NULL byte when using addQueryField() w/o boost
2.5.0 - 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+
2.4.0 - 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]
2.3.0 - 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
2.2.0 - Support Real Time Get (Request #68647)
- Support Result Grouping (Request #68793)
- Support Field Collapsing (Request #70175)
- Support Expand Component (Request #70176)
- SolrMissingMandatoryParameterException (Request #70301)
- Fix SegFault on Solr Server 500 Response with no msg [xml RW] (Bug #69156)
- Fix SegFault on non-phpserialized 500 responses from Solr Server with PHPS RW (Bug #69156)
- Fix Failed to parse 500 error response when it lacks msg JSON/PHPS RW (Bug #70495, #70496)
- Fix compatibility tests with Solr Server 5 (Bug #70333)
- Fix Error unserializing raw response on statistics response having NaN as value (Bug #67394)
2.1.0 - New Feature: SolrDisMaxQuery Builder (dismax/edismax) [Feature #67101]
- Support PHPS (PHP Serialized) Response Writer [Request #61329]
- SolrResponse::getArrayResponse [Feature #67660]
- SolrResponse::getResponse() returns SolrObject instead of array (with json response writer) [Bug #67579]
- Argument list parameter: Argument to value separator disappears [Bug #68179]
- Conflict Occurs When using SolrDisMax::addBoostQuery and setBoostQuery [Bug #68181]
- Doc Fix [Doc #67542]
- Internals: simple_list parameter type allow custom delimiter
- Internals: Allowed zero-length argument value
- Internals: Allowed zero-length argument-to-argument-value separator
- Security Fix
2.0.0 - Introduced SolrServerException which handles exception responses produced by Solr Server [Feature #67063]
- SolrClient::commit $maxSegments removed
- Removed php curl extension dependency for static builds [Bug #59028]
- SolrParams/SolrModifiableParams/SolrQuery throws SolrIllegalArguments Exception instead of E_ERROR [Feature #66858]
- SolrQuery::__construct throws SolrIllegalArgumentException instead of E_ERROR
- Dropped Support for phpnative Response Writer
- Fix config involving --enable-solr-debug always enables SOLR_DEBUG [Bug #60361]
1.1.1 - Fix Windows Build
1.1.0 1.1.0 Stable
- Introduced SolrServerException which handles exception responses produced by Solr Server [Feature #67063]
- SolrClient::commit $maxSegments removed
- SolrQuery::__construct throws SolrIllegalArgumentException instead of E_ERROR
- Removed php curl extension dependency for static builds [Bug #59028]

From 1.1.0b
- SolrClient::system Access system servlet which fetch Solr Server System Information
- SolrClient::commit argument $maxSegments is now DEPRECATED
- SolrClient::commit Added support for expungeDeletes on
- All SolrClient methods throws SolrClientExceptions instead of E_WARNING + SolrClientException
- SolrClientExceptions' messages are more informative in case of connection errors
- Added json extension validation
- All SolrResponse, SolrQueryResponse, SolrUpdateResponse, SolrPingResponse, SolrGenericResponse, SolrDocument, and SolrInputDocument classes are now final
- All parameters functions throws SolrIllegalArgumentException instead of E_RROR
- SolrParams/SolrModifiableParams/SolrQuery throws SolrIllegalArguments Exception instead of E_ERROR [Feature #66858]
- Various Bug Fixes
1.1.0b - SolrClient::system Access system servlet which fetch Solr Server System Information
- SolrClient::commit argument $maxSegments is now DEPRECATED
- SolrClient::commit Added support for expungeDeletes on
- All SolrClient methods throws SolrClientExceptions instead of E_WARNING + SolrClientException
- SolrClientExceptions' messages are more informative in case of connection errors
- Added json extension validation
- All SolrResponse, SolrQueryResponse, SolrUpdateResponse, SolrPingResponse, SolrGenericResponse, SolrDocument, and SolrInputDocument classes are now final
- All parameters functions throws SolrIllegalArgumentException instead of E_RROR
- SolrParams/SolrModifiableParams/SolrQuery throws SolrIllegalArguments Exception instead of E_ERROR (Feature #66858)
- Various Bug Fixes
2.0.0b - Support Solr version 4.0+
- Added support for retreiving Solr Server system information through SolrClient
SolrClient::system()
- Support for softCommit
- Suppport for expungeDeletes
- maxSegments for commit is deprecated
- Added escape character / as per Solr 4 it is reserved for REGEX
- Disabled warnings for connection errors, SolrClientException is thrown
- SolrClientException messages for connection errors are more meaningful indicating error messages and codes
- API changes for:
SolrClient::commit($maxSegments = 0, $softCommit = false, $waitSearcher = true, $expungeDeletes = false)
SolrClient::optimize($maxSegments = 1, $softCommit = false, $waitSearcher = true)
SolrClient::addDocument(SolrInputDocument &$doc, $overwrite = true, $commitWithin = 0)
SolrClient::addDocuments(array &$docs, $overwrite = true, $commitWithin = 0)
- Several Bug Fixes
Warning: PECL Solr >= 2 is not compatible with Solr Server < 4.0
1.0.2 - Several Bug Fixes by Pierrick, Felipe and Tony
- Changes to make the code compile on 5.2.3 and greater
- Changes to Tests by Pierrick
1.0.1 - Added support for json response writer in SolrClient
- Removed final bit from classes so that they can be mocked in unit tests
- Changed from beta to stable
- Included phpdoc stubs in source to enable autocomplete of Solr classes and methods in IDE during development
- Lowered libxml2 version requirement to 2.6.16
0.9.11 - Added ability to specify response writer in constructor option ("wt")
- Added new method to set response writer SolrClient::setResponseWriter()
- Currently, the only supported response writers are 'xml' and 'phpnative'
- Added support for new native Solr response writer
- New response writer is available at https://issues.apache.org/jira/browse/SOLR-1967

Return

PRIVACY POLICY  |  CREDITS
Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 21 17:05:02 2024 UTC
Bandwidth and hardware provided by: pair Networks