@@ -215,7 +215,7 @@ discard block |
||
| 215 | 215 | public function indexDocument(IFullTextSearchProvider $provider, IndexDocument $document) { |
| 216 | 216 | |
| 217 | 217 | $this->updateRunner('indexDocument'); |
| 218 | - $this->outputRunner(' . Indexing: ' . $document->getTitle()); |
|
| 218 | + $this->outputRunner(' . Indexing: '.$document->getTitle()); |
|
| 219 | 219 | |
| 220 | 220 | try { |
| 221 | 221 | $result = $this->indexService->indexDocument($this, $this->client, $provider, $document); |
@@ -227,7 +227,7 @@ discard block |
||
| 227 | 227 | ]; |
| 228 | 228 | } |
| 229 | 229 | |
| 230 | - $this->outputRunner(' result: ' . json_encode($result)); |
|
| 230 | + $this->outputRunner(' result: '.json_encode($result)); |
|
| 231 | 231 | |
| 232 | 232 | return $this->indexService->parseIndexResult($document->getIndex(), $result); |
| 233 | 233 | } |
@@ -266,7 +266,7 @@ discard block |
||
| 266 | 266 | echo "Max retries!"; |
| 267 | 267 | } |
| 268 | 268 | } catch (Exception $e) { |
| 269 | - echo ' ElasticSearchPlatform::load() Exception --- ' . $e->getMessage() . "\n"; |
|
| 269 | + echo ' ElasticSearchPlatform::load() Exception --- '.$e->getMessage()."\n"; |
|
| 270 | 270 | } |
| 271 | 271 | } |
| 272 | 272 | |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | |
| 27 | 27 | namespace OCA\FullTextSearch_ElasticSearch\AppInfo; |
| 28 | 28 | |
| 29 | -require_once __DIR__ . '/autoload.php'; |
|
| 29 | +require_once __DIR__.'/autoload.php'; |
|
| 30 | 30 | |
| 31 | 31 | $app = new Application(); |
| 32 | 32 | |
@@ -26,9 +26,9 @@ |
||
| 26 | 26 | |
| 27 | 27 | namespace OCA\FullTextSearch_ElasticSearch\AppInfo; |
| 28 | 28 | |
| 29 | -$composerDir = __DIR__ . '/../vendor/'; |
|
| 29 | +$composerDir = __DIR__.'/../vendor/'; |
|
| 30 | 30 | |
| 31 | -if (is_dir($composerDir) && file_exists($composerDir . 'autoload.php')) { |
|
| 32 | - require_once $composerDir . 'autoload.php'; |
|
| 31 | +if (is_dir($composerDir) && file_exists($composerDir.'autoload.php')) { |
|
| 32 | + require_once $composerDir.'autoload.php'; |
|
| 33 | 33 | } |
| 34 | 34 | |