@@ -247,7 +247,7 @@ |
||
247 | 247 | } |
248 | 248 | |
249 | 249 | /** |
250 | - * @param \ApacheSolrForTypo3\Solr\Domain\Search\Query\Query $usedQuery |
|
250 | + * @param \Solarium\QueryType\Select\Query\Query $usedQuery |
|
251 | 251 | */ |
252 | 252 | public function setUsedQuery($usedQuery) |
253 | 253 | { |
@@ -85,7 +85,7 @@ |
||
85 | 85 | $allFacets = $typoScriptConfiguration->getSearchFacetingFacets(); |
86 | 86 | $facetParameters = $this->buildFacetingParameters($allFacets, $typoScriptConfiguration); |
87 | 87 | foreach ($facetParameters as $facetParameter => $value) { |
88 | - if(strtolower($facetParameter) === 'facet.field') { |
|
88 | + if (strtolower($facetParameter) === 'facet.field') { |
|
89 | 89 | $faceting->setFields($value); |
90 | 90 | } else { |
91 | 91 | $faceting->addAdditionalParameter($facetParameter, $value); |
@@ -49,7 +49,7 @@ |
||
49 | 49 | public function initializeSearchComponent() |
50 | 50 | { |
51 | 51 | if ($this->searchConfiguration['results.']['showDocumentScoreAnalysis']) { |
52 | - // $this->query->setDebugMode(); |
|
52 | + // $this->query->setDebugMode(); |
|
53 | 53 | } |
54 | 54 | } |
55 | 55 |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | if (!empty($this->searchConfiguration['query.']['sortBy'])) { |
64 | 64 | //@todo extract functionality to split field and direction |
65 | 65 | $sortFields = GeneralUtility::trimExplode(',', $this->searchConfiguration['query.']['sortBy']); |
66 | - foreach($sortFields as $sortField) { |
|
66 | + foreach ($sortFields as $sortField) { |
|
67 | 67 | $parts = GeneralUtility::trimExplode(' ', $sortField); |
68 | 68 | $this->query->addSort($parts[0], $parts[1]); |
69 | 69 | } |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | |
85 | 85 | //@todo extract functionality to split field and direction |
86 | 86 | $sortFields = GeneralUtility::trimExplode(',', $sortFields); |
87 | - foreach($sortFields as $sortField) { |
|
87 | + foreach ($sortFields as $sortField) { |
|
88 | 88 | $parts = GeneralUtility::trimExplode(' ', $sortField); |
89 | 89 | $this->query->addSort($parts[0], $parts[1]); |
90 | 90 | } |