From b043e5592317d14115ecaa29ab3a760a1a61cf39 Mon Sep 17 00:00:00 2001 From: Achim Fritz Date: Tue, 8 Nov 2022 09:20:03 +0100 Subject: [PATCH] [BUGFIX] cast maxScore to float --- .../Search/ResultSet/Grouping/Parser/GroupedResultParser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Domain/Search/ResultSet/Grouping/Parser/GroupedResultParser.php b/Classes/Domain/Search/ResultSet/Grouping/Parser/GroupedResultParser.php index 7be384c..a99bd88 100644 --- a/Classes/Domain/Search/ResultSet/Grouping/Parser/GroupedResultParser.php +++ b/Classes/Domain/Search/ResultSet/Grouping/Parser/GroupedResultParser.php @@ -245,7 +245,7 @@ protected function buildGroupItemAndAddDocuments( $groupValue, $rawGroup->doclist->numFound, $rawGroup->doclist->start, - $rawGroup->doclist->maxScore, + (float)$rawGroup->doclist->maxScore, $searchRequest );