@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | Client $client, ISearchResult $searchResult, IDocumentAccess $access |
| 86 | 86 | ) { |
| 87 | 87 | try { |
| 88 | - $this->miscService->log('New Search Request; SearchResult Model: ' . json_encode($searchResult), 0); |
|
| 88 | + $this->miscService->log('New Search Request; SearchResult Model: '.json_encode($searchResult), 0); |
|
| 89 | 89 | $query = $this->searchMappingService->generateSearchQuery( |
| 90 | 90 | $searchResult->getRequest(), $access, $searchResult->getProvider() |
| 91 | 91 | ->getId() |
@@ -95,25 +95,25 @@ discard block |
||
| 95 | 95 | } |
| 96 | 96 | |
| 97 | 97 | try { |
| 98 | - $this->miscService->log('Searching ES: ' . json_encode($query['params']), 0); |
|
| 98 | + $this->miscService->log('Searching ES: '.json_encode($query['params']), 0); |
|
| 99 | 99 | |
| 100 | 100 | $result = $client->search($query['params']); |
| 101 | 101 | } catch (Exception $e) { |
| 102 | 102 | $this->miscService->log( |
| 103 | - 'debug - request: ' . json_encode($searchResult->getRequest()) . ' - query: ' |
|
| 103 | + 'debug - request: '.json_encode($searchResult->getRequest()).' - query: ' |
|
| 104 | 104 | . json_encode($query) |
| 105 | 105 | ); |
| 106 | 106 | throw $e; |
| 107 | 107 | } |
| 108 | 108 | |
| 109 | - $this->miscService->log('Result from ES: ' . json_encode($result), 0); |
|
| 109 | + $this->miscService->log('Result from ES: '.json_encode($result), 0); |
|
| 110 | 110 | $this->updateSearchResult($searchResult, $result); |
| 111 | 111 | |
| 112 | 112 | foreach ($result['hits']['hits'] as $entry) { |
| 113 | 113 | $searchResult->addDocument($this->parseSearchEntry($entry, $access->getViewerId())); |
| 114 | 114 | } |
| 115 | 115 | |
| 116 | - $this->miscService->log('Filled SearchResult Model: ' . json_encode($searchResult), 0); |
|
| 116 | + $this->miscService->log('Filled SearchResult Model: '.json_encode($searchResult), 0); |
|
| 117 | 117 | } |
| 118 | 118 | |
| 119 | 119 | |