0
これは私のコードです:私は、エラー怒鳴るを持って ローカルホストからませ生きノードません(FacetFlow)
$source_hosts = [
'http://azure-xxxxxxxxxxx.west-eu.azr.facetflow.io'
];
$source_client = \Elasticsearch\ClientBuilder::create()
->setHosts($source_hosts)->build();
$params = [
'index' => 'dir',
'type' => 'article',
'id' => '1',
'body' => ['id' => 1,'name' => "article"]
];
$response = $source_client->index($params);
print_r($response);
テスト:
クラスタ
が見つかりません生きているノード
チェック://紺碧-xxxxxxxxxxx.west-eu.azr.facetflow.io'を、あなたが何を取得しない場合、それはあなたのクラスタがダウンしているかであることを意味し到達不能で、再起動が必要な場合があります。 – Val
彼は働いています: {"ステータス":200、 "名前": "gw1 ..................} – ALWAN