All Versions
53
Latest Version
Avg Release Cycle
30 days
Latest Release
-

Changelog History
Page 1

  • v6.1.5 Changes

    โž• Added

    • Component\Result\Stats\Result::getDistinctValues()
    • Component\Result\Stats\Result::getCountDistinct()
    • Component\Result\Stats\Result::getCardinality()
    • Component\Result\Stats\FacetValue::getPercentiles()
    • Component\Result\Stats\FacetValue::getDistinctValues()
    • Component\Result\Stats\FacetValue::getCountDistinct()
    • Component\Result\Stats\FacetValue::getCardinality()
    • Component\Result\Stats\FacetValue::getStatValue()
    • ๐Ÿ”Œ Plugin PostBigExtractRequest
    • ๐Ÿ‘Œ Support for Configset API
    • โฑ Set connection timeout on cURL adapter

    ๐Ÿ›  Fixed

    • Component\Result\Stats\Result::getPercentiles() returns percentiles as an associative array

    ๐Ÿ”„ Changed

    • Component\Result\Stats\Result::getMean() returns NAN instead of 'NaN' if mean is NaN
    • Component\Result\Stats\FacetValue::getMean() returns NAN instead of 'NaN' if mean is NaN
    • Component\Result\Stats\Result::getValue() is renamed to getStatValue()

    ๐Ÿ—„ Deprecated

    • Component\Result\Stats\FacetValue::getFacets()
    • Component\Result\Stats\Result::getValue()
  • v6.1.4 Changes

    โž• Added

    • Solarium\QueryType\ManagedResources\Result\Command::getWasSuccessful()
    • Solarium\QueryType\ManagedResources\Result\Command::getStatusMessage()
    • Query a single term in a Managed Resource

    ๐Ÿ›  Fixed

    • Syntax error in request with facet queries that contain local parameters
    • HEAD requests could lead to timeouts with cURL adapter
    • ๐Ÿ›  Fix for reserved characters in managed resources (SOLR-6853)
    • ๐Ÿ“œ Parsing nested details in debug response

    ๐Ÿ”„ Changed

    • Solarium\Component\Result\Stats\Result::getValue() is now public
  • v6.1.3 Changes

    ๐Ÿ›  Fixed

    • ๐Ÿ‘ป possible exception in Debug\Detail::__toString() when sub details are missing
  • v6.1.2 Changes

    โž• Added

    • MoreLikeThis::setMaximumDocumentFrequency()
    • MoreLikeThis::setMaximumDocumentFrequencyPercentage()
    • getInterestingTerms() of MoreLikeThis Component results

    ๐Ÿ›  Fixed

    • Debug\Detail return value types
    • Debug\Document return value types

    ๐Ÿ—„ Deprecated

    • ๐Ÿ‘Œ Support for mlt.match.include and mlt.match.offset in MoreLikeThis Component (they only work in MLT queries)
  • v6.1.1 Changes

    ๐Ÿ›  Fixed

    • ๐Ÿš€ Set Client::VERSION to '6.1.1'. Release 6.1.0 accidentally declared itself as 6.0.4.
  • v6.1.0 Changes

    โž• Added

    • Indexing labelled nested child documents through pseudo-fields
    • ๐Ÿ‘ Extract query now supports extractFormat
    • ๐Ÿ‘ Helper::rangeQuery() now supports left-inclusive only and right-inclusive only queries

    ๐Ÿ›  Fixed

    • PrefetchIterator::key() should return 0 instead of NULL on a fresh PrefetchIterator
    • PrefetchIterator::next() shouldn't skip fetched results after PrefetchIterator::count() on a fresh PrefetchIterator
    • PrefetchIterator::rewind() no longer results in duplicate documents when invoked mid-set
    • ๐Ÿ›  Fixed incorrect median function
    • ๐Ÿ›  Fix for maxScore being returned as "NaN" when group.query doesn't match any docs (SOLR-13839)

    ๐Ÿ”„ Changed

    • ๐Ÿ‘ป Exception message for invalid/unavailable file in Extract query now contains filename
    • Helper::rangeQuery() detects point values without parameter to turn off escaping

    โœ‚ Removed

    • ๐Ÿ‘ PHP 7.2 support
  • v6.0.4 Changes

    November 05, 2020

    ๐Ÿ”„ Changes since 6.0.3

    โž• Added

    • ๐Ÿ‘ PHP 8 support

    ๐Ÿ›  Fixed

    • Avoid Notice: Undefined variable: http_response_header

    ๐Ÿ”„ Changes since 6.0.2

    ๐Ÿ›  Fixed

    • Tika based file extraction with Solr 8.6
    • Avoid TypeError if ClusterState contains no collections

    ๐Ÿ”„ Changed

    • ๐Ÿ“ฆ Require specific symfony/event-dispatcher-contracts package instead of the generic symfony/contracts

    ๐Ÿ”„ Changes since 6.0.1

    โž• Added

    • ๐Ÿ‘Œ Support for the analytics component
    • ๐Ÿ— Function builder
    • Solarium\Component\FacetSet::setMatches()
    • Solarium\Component\FacetSet::setExcludeTerms()
    • Solarium\Component\Facet\Field::setMatches()
    • Solarium\Component\Facet\Field::setExcludeTerms()
    • Solarium\Component\Highlighting\Highlighting::setMethod()

    ๐Ÿ”„ Changed

    • โ™ป๏ธ Refactored Managed Resources code: use createCommand() and createInitArgs() to issue commands

    ๐Ÿ”„ Changes since 6.0.0

    โž• Added

    • Solarium\Component\Result\Facet\JsonRange::getBefore()
    • Solarium\Component\Result\Facet\JsonRange::getAfter()
    • Solarium\Component\Result\Facet\JsonRange::getBetween()

    ๐Ÿ”„ Changed

    • Json range facet result now returns Solarium\Component\Result\Facet\JsonRange

    ๐Ÿ”„ Changes since 5.2.0

    โž• Added

    • \Solarium\Component\Result\Facet\Buckets::getNumBuckets()
    • ๐Ÿ‘ \Solarium\Support\Utility::getXmlEncoding()
    • โšก๏ธ Raw XML commands to update query
    • โšก๏ธ Raw XML from file in update query
    • โšก๏ธ Set input encoding for select and update queries
    • ๐Ÿ”ง Create and configure Managed Resources

    ๐Ÿ”„ Changed

    • ๐Ÿ‘ป Thrown exceptions always implement Solarium\Exception\ExceptionInterface
    • PostBigRequest plugin now acts on PRE_EXECUTE_REQUEST event instead of POST_CREATE_REQUEST
    • CustomizeRequest plugin now acts on POST_CREATE_REQUEST event instead of PRE_EXECUTE_REQUEST
    • More strict types and type hinting
    • ๐Ÿ”ง AdapterInterface does not extend ConfigurableInterface anymore
    • ๐Ÿ”ง Http Adapter does not implement ConfigurableInterface anymore
    • ๐Ÿ”ง Psr18Adapter does not implement ConfigurableInterface anymore
    • Solarium Client now accepts any PSR-15 compatible event dispatcher (previously it had to be symfony's event dispatcher)

    ๐Ÿ›  Fixed

    • ๐Ÿ“œ MoreLikeThis result parsing fails on Solr Cloud
    • ๐Ÿ”Œ MinimumScoreFilter plugin might fail on Solr 7 in cloud mode

    โœ‚ Removed

    • ๐Ÿ‘ PHP 7.1 support
    • Zend2HttpAdapter
    • GuzzleAdapter
    • Guzzle3Adapter
    • Endpoint::setTimeout and Endpoint::getTimeout
    • Passing local parameter options (e.g. key, tag, exclude) without the local_ prefix
    • ๐Ÿ‘Œ Support for Solr versions before 7.7

    โฌ†๏ธ Pitfall when upgrading from 3.x or 4.x or 5.x

    ๐Ÿ—„ Setting "timeout" as "option" in the HTTP Client Adapter is deprecated since Solarium 5.2.0 because not all adapters
    could handle it. The adapters which can handle it now implement the TimeoutAwareInterface and you need to set the
    โฑ timeout using the setTimeout() function after creating the adapter instance.

    In order to fix some issues with complex queries using local parameters solarium 6 destinguishs between query parameters
    ๐Ÿ—„ and local parameters to be embedded in a query. Solarium 5.2 already informed you about the deprecation of some
    parameter names which are in fact local parameters. Solarium doen't convert them magically anymore.
    ๐Ÿ›  Local parameter names now have to be prefixed with local_ if set as option of a constructor.

    Solarium 5:

    $categoriesTerms = new Solarium\Component\Facet\JsonTerms(['key' =\> 'categories', 'field' =\> 'cat', 'limit'=\>4,'numBuckets'=\>true]);
    

    Solarium 6:

    $categoriesTerms = new Solarium\Component\Facet\JsonTerms(['local\_key' =\> 'categories', 'field' =\> 'cat', 'limit'=\>4,'numBuckets'=\>true]);
    

    See https://lucene.apache.org/solr/guide/8_5/local-parameters-in-queries.html for an introduction about local parameters.

    โฌ†๏ธ Pitfall when upgrading from 3.x or 4.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 something like

    'path' => '/',
    'collection' => 'xxxx',
    
  • v6.0.3 Changes

    October 14, 2020

    ๐Ÿ”„ Changes since 6.0.2

    ๐Ÿ›  Fixed

    • Tika based file extraction with Solr 8.6
    • Avoid TypeError if ClusterState contains no collections

    ๐Ÿ”„ Changed

    • ๐Ÿ“ฆ Require specific symfony/event-dispatcher-contracts package instead of the generic symfony/contracts

    ๐Ÿ”„ Changes since 6.0.1

    โž• Added

    • ๐Ÿ‘Œ Support for the analytics component
    • ๐Ÿ— Function builder
    • Solarium\Component\FacetSet::setMatches()
    • Solarium\Component\FacetSet::setExcludeTerms()
    • Solarium\Component\Facet\Field::setMatches()
    • Solarium\Component\Facet\Field::setExcludeTerms()
    • Solarium\Component\Highlighting\Highlighting::setMethod()

    ๐Ÿ”„ Changed

    • โ™ป๏ธ Refactored Managed Resources code: use createCommand() and createInitArgs() to issue commands

    ๐Ÿ”„ Changes since 6.0.0

    โž• Added

    • Solarium\Component\Result\Facet\JsonRange::getBefore()
    • Solarium\Component\Result\Facet\JsonRange::getAfter()
    • Solarium\Component\Result\Facet\JsonRange::getBetween()

    ๐Ÿ”„ Changed

    • Json range facet result now returns Solarium\Component\Result\Facet\JsonRange

    ๐Ÿ”„ Changes since 5.2.0

    โž• Added

    • \Solarium\Component\Result\Facet\Buckets::getNumBuckets()
    • ๐Ÿ‘ \Solarium\Support\Utility::getXmlEncoding()
    • โšก๏ธ Raw XML commands to update query
    • โšก๏ธ Raw XML from file in update query
    • โšก๏ธ Set input encoding for select and update queries
    • ๐Ÿ”ง Create and configure Managed Resources

    ๐Ÿ”„ Changed

    • ๐Ÿ‘ป Thrown exceptions always implement Solarium\Exception\ExceptionInterface
    • PostBigRequest plugin now acts on PRE_EXECUTE_REQUEST event instead of POST_CREATE_REQUEST
    • CustomizeRequest plugin now acts on POST_CREATE_REQUEST event instead of PRE_EXECUTE_REQUEST
    • More strict types and type hinting
    • ๐Ÿ”ง AdapterInterface does not extend ConfigurableInterface anymore
    • ๐Ÿ”ง Http Adapter does not implement ConfigurableInterface anymore
    • ๐Ÿ”ง Psr18Adapter does not implement ConfigurableInterface anymore
    • Solarium Client now accepts any PSR-15 compatible event dispatcher (previously it had to be symfony's event dispatcher)

    ๐Ÿ›  Fixed

    • ๐Ÿ“œ MoreLikeThis result parsing fails on Solr Cloud
    • ๐Ÿ”Œ MinimumScoreFilter plugin might fail on Solr 7 in cloud mode

    โœ‚ Removed

    • ๐Ÿ‘ PHP 7.1 support
    • Zend2HttpAdapter
    • GuzzleAdapter
    • Guzzle3Adapter
    • Endpoint::setTimeout and Endpoint::getTimeout
    • Passing local parameter options (e.g. key, tag, exclude) without the local_ prefix
    • ๐Ÿ‘Œ Support for Solr versions before 7.7

    โฌ†๏ธ Pitfall when upgrading from 3.x or 4.x or 5.x

    ๐Ÿ—„ Setting "timeout" as "option" in the HTTP Client Adapter is deprecated since Solarium 5.2.0 because not all adapters
    could handle it. The adapters which can handle it now implement the TimeoutAwareInterface and you need to set the
    โฑ timeout using the setTimeout() function after creating the adapter instance.

    In order to fix some issues with complex queries using local parameters solarium 6 destinguishs between query parameters
    ๐Ÿ—„ and local parameters to be embedded in a query. Solarium 5.2 already informed you about the deprecation of some
    parameter names which are in fact local parameters. Solarium doen't convert them magically anymore.
    ๐Ÿ›  Local parameter names now have to be prefixed with local_ if set as option of a constructor.

    Solarium 5:

    $categoriesTerms = new Solarium\Component\Facet\JsonTerms(['key' =\> 'categories', 'field' =\> 'cat', 'limit'=\>4,'numBuckets'=\>true]);
    

    Solarium 6:

    $categoriesTerms = new Solarium\Component\Facet\JsonTerms(['local\_key' =\> 'categories', 'field' =\> 'cat', 'limit'=\>4,'numBuckets'=\>true]);
    

    See https://lucene.apache.org/solr/guide/8_5/local-parameters-in-queries.html for an introduction about local parameters.

    โฌ†๏ธ Pitfall when upgrading from 3.x or 4.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 something like

    'path' => '/',
    'collection' => 'xxxx',
    
  • v6.0.2 Changes

    August 27, 2020

    ๐Ÿ”„ Changes since 6.0.1

    โž• Added

    • ๐Ÿ‘Œ Support for the analytics component
    • ๐Ÿ— Function builder
    • Solarium\Component\FacetSet::setMatches()
    • Solarium\Component\FacetSet::setExcludeTerms()
    • Solarium\Component\Facet\Field::setMatches()
    • Solarium\Component\Facet\Field::setExcludeTerms()
    • Solarium\Component\Highlighting\Highlighting::setMethod()

    ๐Ÿ”„ Changed

    • โ™ป๏ธ Refactored Managed Resources code: use createCommand() and createInitArgs() to issue commands

    ๐Ÿ”„ Changes since 6.0.0

    โž• Added

    • Solarium\Component\Result\Facet\JsonRange::getBefore()
    • Solarium\Component\Result\Facet\JsonRange::getAfter()
    • Solarium\Component\Result\Facet\JsonRange::getBetween()

    ๐Ÿ”„ Changed

    • Json range facet result now returns Solarium\Component\Result\Facet\JsonRange

    ๐Ÿ”„ Changes since 5.2.0

    โž• Added

    • \Solarium\Component\Result\Facet\Buckets::getNumBuckets()
    • ๐Ÿ‘ \Solarium\Support\Utility::getXmlEncoding()
    • โšก๏ธ Raw XML commands to update query
    • โšก๏ธ Raw XML from file in update query
    • โšก๏ธ Set input encoding for select and update queries
    • ๐Ÿ”ง Create and configure Managed Resources

    ๐Ÿ”„ Changed

    • ๐Ÿ‘ป Thrown exceptions always implement Solarium\Exception\ExceptionInterface
    • PostBigRequest plugin now acts on PRE_EXECUTE_REQUEST event instead of POST_CREATE_REQUEST
    • CustomizeRequest plugin now acts on POST_CREATE_REQUEST event instead of PRE_EXECUTE_REQUEST
    • More strict types and type hinting
    • ๐Ÿ”ง AdapterInterface does not extend ConfigurableInterface anymore
    • ๐Ÿ”ง Http Adapter does not implement ConfigurableInterface anymore
    • ๐Ÿ”ง Psr18Adapter does not implement ConfigurableInterface anymore
    • Solarium Client now accepts any PSR-15 compatible event dispatcher (previously it had to be symfony's event dispatcher)

    ๐Ÿ›  Fixed

    • ๐Ÿ“œ MoreLikeThis result parsing fails on Solr Cloud
    • ๐Ÿ”Œ MinimumScoreFilter plugin might fail on Solr 7 in cloud mode

    โœ‚ Removed

    • ๐Ÿ‘ PHP 7.1 support
    • Zend2HttpAdapter
    • GuzzleAdapter
    • Guzzle3Adapter
    • Endpoint::setTimeout and Endpoint::getTimeout
    • Passing local parameter options (e.g. key, tag, exclude) without the local_ prefix
    • ๐Ÿ‘Œ Support for Solr versions before 7.7

    โฌ†๏ธ Pitfall when upgrading from 3.x or 4.x or 5.x

    ๐Ÿ—„ Setting "timeout" as "option" in the HTTP Client Adapter is deprecated since Solarium 5.2.0 because not all adapters
    could handle it. The adapters which can handle it now implement the TimeoutAwareInterface and you need to set the
    โฑ timeout using the setTimeout() function after creating the adapter instance.

    In order to fix some issues with complex queries using local parameters solarium 6 destinguishs between query parameters
    ๐Ÿ—„ and local parameters to be embedded in a query. Solarium 5.2 already informed you about the deprecation of some
    parameter names which are in fact local parameters. Solarium doen't convert them magically anymore.
    ๐Ÿ›  Local parameter names now have to be prefixed with local_ if set as option of a constructor.

    Solarium 5:

    $categoriesTerms = new Solarium\Component\Facet\JsonTerms(['key' =\> 'categories', 'field' =\> 'cat', 'limit'=\>4,'numBuckets'=\>true]);
    

    Solarium 6:

    $categoriesTerms = new Solarium\Component\Facet\JsonTerms(['local\_key' =\> 'categories', 'field' =\> 'cat', 'limit'=\>4,'numBuckets'=\>true]);
    

    See https://lucene.apache.org/solr/guide/8_5/local-parameters-in-queries.html for an introduction about local parameters.

    โฌ†๏ธ Pitfall when upgrading from 3.x or 4.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 something like

    'path' => '/',
    'collection' => 'xxxx',
    
  • v6.0.1 Changes

    July 03, 2020

    ๐Ÿ”„ Changes since 6.0.0

    โž• Added

    • Solarium\Component\Result\Facet\JsonRange::getBefore()
    • Solarium\Component\Result\Facet\JsonRange::getAfter()
    • Solarium\Component\Result\Facet\JsonRange::getBetween()

    ๐Ÿ”„ Changed

    • Json range facet result now returns Solarium\Component\Result\Facet\JsonRange

    ๐Ÿ”„ Changes since 5.2.0

    โž• Added

    • \Solarium\Component\Result\Facet\Buckets::getNumBuckets()
    • ๐Ÿ‘ \Solarium\Support\Utility::getXmlEncoding()
    • โšก๏ธ Raw XML commands to update query
    • โšก๏ธ Raw XML from file in update query
    • โšก๏ธ Set input encoding for select and update queries
    • ๐Ÿ”ง Create and configure Managed Resources

    ๐Ÿ”„ Changed

    • ๐Ÿ‘ป Thrown exceptions always implement Solarium\Exception\ExceptionInterface
    • PostBigRequest plugin now acts on PRE_EXECUTE_REQUEST event instead of POST_CREATE_REQUEST
    • CustomizeRequest plugin now acts on POST_CREATE_REQUEST event instead of PRE_EXECUTE_REQUEST
    • More strict types and type hinting
    • ๐Ÿ”ง AdapterInterface does not extend ConfigurableInterface anymore
    • ๐Ÿ”ง Http Adapter does not implement ConfigurableInterface anymore
    • ๐Ÿ”ง Psr18Adapter does not implement ConfigurableInterface anymore
    • Solarium Client now accepts any PSR-15 compatible event dispatcher (previously it had to be symfony's event dispatcher)

    ๐Ÿ›  Fixed

    • ๐Ÿ“œ MoreLikeThis result parsing fails on Solr Cloud
    • ๐Ÿ”Œ MinimumScoreFilter plugin might fail on Solr 7 in cloud mode

    โœ‚ Removed

    • ๐Ÿ‘ PHP 7.1 support
    • Zend2HttpAdapter
    • GuzzleAdapter
    • Guzzle3Adapter
    • Endpoint::setTimeout and Endpoint::getTimeout
    • Passing local parameter options (e.g. key, tag, exclude) without the local_ prefix
    • ๐Ÿ‘Œ Support for Solr versions before 7.7

    โฌ†๏ธ Pitfall when upgrading from 3.x or 4.x or 5.x

    ๐Ÿ—„ Setting "timeout" as "option" in the HTTP Client Adapter is deprecated since Solarium 5.2.0 because not all adapters
    could handle it. The adapters which can handle it now implement the TimeoutAwareInterface and you need to set the
    โฑ timeout using the setTimeout() function after creating the adapter instance.

    In order to fix some issues with complex queries using local parameters solarium 6 destinguishs between query parameters
    ๐Ÿ—„ and local parameters to be embedded in a query. Solarium 5.2 already informed you about the deprecation of some
    parameter names which are in fact local parameters. Solarium doen't convert them magically anymore.
    ๐Ÿ›  Local parameter names now have to be prefixed with local_ if set as option of a constructor.

    Solarium 5:

    $categoriesTerms = new Solarium\Component\Facet\JsonTerms(['key' =\> 'categories', 'field' =\> 'cat', 'limit'=\>4,'numBuckets'=\>true]);
    

    Solarium 6:

    $categoriesTerms = new Solarium\Component\Facet\JsonTerms(['local\_key' =\> 'categories', 'field' =\> 'cat', 'limit'=\>4,'numBuckets'=\>true]);
    

    See https://lucene.apache.org/solr/guide/8_5/local-parameters-in-queries.html for an introduction about local parameters.

    โฌ†๏ธ Pitfall when upgrading from 3.x or 4.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 something like

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