|
@@ -24,9 +24,9 @@ |
|
|
block discarded – undo |
|
24
|
24
|
{ |
|
25
|
25
|
$configJson = file_get_contents("bin/configs/elasticsearch-config.json"); |
|
26
|
26
|
|
|
27
|
|
- $config = json_decode($configJson); |
|
|
27
|
+ $config = json_decode($configJson); |
|
28
|
28
|
|
|
29
|
|
- self::$clientObject = \Elasticsearch\ClientBuilder::create()->setHosts($config)->build(); |
|
|
29
|
+ self::$clientObject = \Elasticsearch\ClientBuilder::create()->setHosts($config)->build(); |
|
30
|
30
|
} |
|
31
|
31
|
|
|
32
|
32
|
public static function getClient() |
Please login to merge, or discard this patch.