@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | 'index' => |
79 | 79 | [ |
80 | 80 | 'index' => $this->configService->getElasticIndex(), |
81 | - 'id' => $document->getProviderId() . ':' . $document->getId(), |
|
81 | + 'id' => $document->getProviderId().':'.$document->getId(), |
|
82 | 82 | 'type' => $this->configService->getElasticType(), |
83 | 83 | 'body' => $this->generateIndexBody($document) |
84 | 84 | ] |
@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | 'index' => |
104 | 104 | [ |
105 | 105 | 'index' => $this->configService->getElasticIndex(), |
106 | - 'id' => $document->getProviderId() . ':' . $document->getId(), |
|
106 | + 'id' => $document->getProviderId().':'.$document->getId(), |
|
107 | 107 | 'type' => $this->configService->getElasticType(), |
108 | 108 | 'body' => ['doc' => $this->generateIndexBody($document)] |
109 | 109 | ] |
@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | 'index' => |
131 | 131 | [ |
132 | 132 | 'index' => $this->configService->getElasticIndex(), |
133 | - 'id' => $providerId . ':' . $documentId, |
|
133 | + 'id' => $providerId.':'.$documentId, |
|
134 | 134 | 'type' => $this->configService->getElasticType() |
135 | 135 | ] |
136 | 136 | ]; |
@@ -288,7 +288,7 @@ discard block |
||
288 | 288 | |
289 | 289 | foreach ($request->getWildcardFields() as $field) { |
290 | 290 | if (!$this->fieldIsOutLimit($request, $field)) { |
291 | - $queryFields[] = ['wildcard' => [$field => '*' . $content->getWord() . '*']]; |
|
291 | + $queryFields[] = ['wildcard' => [$field => '*'.$content->getWord().'*']]; |
|
292 | 292 | } |
293 | 293 | } |
294 | 294 | |
@@ -456,7 +456,7 @@ discard block |
||
456 | 456 | return [ |
457 | 457 | 'index' => $this->configService->getElasticIndex(), |
458 | 458 | 'type' => $this->configService->getElasticType(), |
459 | - 'id' => $providerId . ':' . $documentId |
|
459 | + 'id' => $providerId.':'.$documentId |
|
460 | 460 | ]; |
461 | 461 | } |
462 | 462 | |
@@ -469,7 +469,7 @@ discard block |
||
469 | 469 | private function getPartsFields(ISearchRequest $request) { |
470 | 470 | return array_map( |
471 | 471 | function($value) { |
472 | - return 'parts.' . $value; |
|
472 | + return 'parts.'.$value; |
|
473 | 473 | }, $request->getParts() |
474 | 474 | ); |
475 | 475 | } |