Skip to content

Releases: solariumphp/solarium

5.0.2

14 May 15:51
cccdc04
Compare
Choose a tag to compare

[5.0.2]

Fixed

  • Spellchecker result isn't NULL in case of no suggestions and correctly spelled
  • RangeFacet Result
  • Solarium\QueryType\Select\Result and Component return types
  • Solarium\Component\Highlighting::setFields() should accept comma separated string, too
  • Solarium\Component\Result\Grouping\ValueGroup various return types
  • Solarium\Component\RequestBuilder\RequestParamsTrait::addParam should not add empty arrays
  • MinimumScoreFilterPlugin
  • Running the examples

Added

  • Solarium\Component\MoreLikeThis::setInterestingTerms()
  • Solarium\Component\MoreLikeThis::setMatchInclude()
  • Solarium\Component\MoreLikeThis::setMatchOffset()

5.0.1

02 May 08:26
Compare
Choose a tag to compare

[5.0.1]

Fixed

  • Getting started documentation

Pitfall when upgrading from 4.x.x

In the past, the V1 API endpoint 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!

For the same reason it is a must to explicit configure the core or collection. So an old setting like

'path' => '/solr/xxxx/'

has to be changed to

'path' => '/',
'collection' => 'xxxx',

5.0.0

30 Apr 16:31
Compare
Choose a tag to compare

[5.0.0]

Added

  • Component\Result\Facet\Bucket::getFacetSet()

Pitfall when upgrading from 4.x.x

In the past, the V1 API endpoint 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!

For the same reason it is a must to explicit configure the core or collection. So an old setting like

'path' => '/solr/xxxx/'

has to be changed to

'path' => '/',
'collection' => 'xxxx',

5.0.0-rc.1

27 Apr 11:24
dc58389
Compare
Choose a tag to compare
5.0.0-rc.1 Pre-release
Pre-release

[5.0.0-rc.1]

Added

  • Spellcheck\Suggestion::getOriginalTerm()
  • QueryType\Stream\ExpressionBuilder

Changed

  • Usage of composer and autoloader in examples.

Fixed

  • Query::setFields() should accept comma separated string, too.
  • Readthedocs theme

Deprecated

  • QueryType\Stream\Expression is deprecated. Use QueryType\Stream\ExpressionBuilder instead.

5.0.0-beta.1

18 Apr 12:59
7f28d2f
Compare
Choose a tag to compare
5.0.0-beta.1 Pre-release
Pre-release

[5.0.0-beta.1]

Added

  • Support multiple spellcheck dictionaries

Fixed

  • Helper::rangeQuery() must not escape point values. Added a new parameter to turn off escaping.

5.0.0-alpha.2

09 Apr 15:51
Compare
Choose a tag to compare
5.0.0-alpha.2 Pre-release
Pre-release

[5.0.0-alpha.2]

Added

  • introduced FacetResultInterface

Fixed

  • TypeError: Return value of Solarium\Component\Result\FacetSet::getFacet()

5.0.0-alpha.1

08 Apr 10:59
Compare
Choose a tag to compare
5.0.0-alpha.1 Pre-release
Pre-release

[5.0.0-alpha.1]

Added

  • Solr 8 support
  • Basic V2 API support
  • Endpoint::getV2BaseUri
  • Basic support for collection API
  • Parameter 'distrib' for queries

Changed

  • Updated dev and test environments to newer package versions, for example PHPUnit 8.0
  • Use PHP 7.1 style argument and return type declarations
  • PHP 7.1 or higher required
  • Refactored the two variants of DocumentInterface to become one to reduce confusion
  • AdapterHelper functions are static
  • Deprecation of Endpoint::getBaseUri is revoked! It transparently forwards to getCollectionBaseUri or getCoreBaseUri now
  • Endpoint::getBaseUri, ::getBaseCoreUri and ::getBaseCollectionUri throw UnexpectedValueException if no core or collection has been set

Removed

  • Symfony 2.x support
  • Zend 1.x support
  • PECL::Http adapter
  • PHP 7.0 support
  • Solr 1.4 result parser

Fixed

  • Status codes of the HTTPAdapter
  • In the past, the V1 API endpoint 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!
  • Support for add-distinct and removeregex modifiers in Document::setFieldModifier
  • Zend2Http adapter caused duplicate request parameters

4.3.0-alpha.2

06 Feb 15:32
7c3b8ee
Compare
Choose a tag to compare
4.3.0-alpha.2 Pre-release
Pre-release

[4.3.0-alpha.2]

Added

  • Basic V2 API support
  • Endpoint::getV2BaseUri

Changed

  • AdapterHelper functions are static

Fixed

  • In the past, the V1 API endpoint 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!

4.3.0-alpha.1

02 Feb 17:26
9064f8f
Compare
Choose a tag to compare
4.3.0-alpha.1 Pre-release
Pre-release

[4.3.0-alpha.1]

Added

  • Experimental support for collection API
  • Parameter 'distrib' for queries

Changed

  • PHP 7.1 or higher required
  • Deprecation of Endpoint::getBaseUri is revoked! It transparently forwards to getCollectionBaseUri or getCoreBaseUri now
  • Endpoint::getBaseUri, ::getBaseCoreUri and ::getBaseCollectionUri throw UnexpectedValueException if no core or collection has been set

Removed

  • Symfony 2.x support
  • Zend 1.x support
  • PECL::Http adapter
  • PHP 7.0 support
  • Solr 1.4 result parser

Fixed

  • Support for add-distinct and removeregex modifiers in Document::setFieldModifier
  • Zend2Http adapter caused duplicate request parameters

4.2.0

24 Nov 09:23
Compare
Choose a tag to compare

[4.2.0]

Fixed

  • If a term contains a space, the space needs to be quoted by Helper::escapeTerm()
  • Typos