Skip to content

Commit

Permalink
Solarium\Component\ResponseParser\Debug fails on Solr Cloud 6.x durin…
Browse files Browse the repository at this point in the history
…g extracting timing phases

fixes #701
  • Loading branch information
Markus Kalkbrenner committed Sep 11, 2019
1 parent bd957b9 commit 615f18b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to the solarium library will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [5.1.3]
### Fixed
- Solarium\Component\ResponseParser\Debug fails on Solr Cloud 6.x during extracting timing phases

## [5.1.2]
### Fixed
- BufferedAdd does not support Symfony event dispatcher
Expand Down
3 changes: 2 additions & 1 deletion src/Component/ResponseParser/Debug.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ public function parse(?ComponentAwareQueryInterface $query, ?AbstractComponent $
case 'time':
$time = $timingData;
break;
default:
case is_array($timingData):
$timingPhases[$key] = $this->parseTimingPhase($key, $timingData);
break;
}
}
$timing = new Timing($time, $timingPhases);
Expand Down

0 comments on commit 615f18b

Please sign in to comment.