arkadaşlar elasticsearch ü ilk defa kullanıcam..
$client = \Elasticsearch\ClientBuilder::create()->build();
dd($client);
bunun cıktısı
Client {#419 ▼
+transport: Transport {#417 ▶}
#params: null
#indices: IndicesNamespace {#420 ▶}
#cluster: ClusterNamespace {#421 ▶}
#nodes: NodesNamespace {#422 ▶}
#snapshot: SnapshotNamespace {#423 ▶}
#cat: CatNamespace {#424 ▶}
#endpoints: Closure {#418 ▶}
+"tasks": TaskNamespace {#425 ▶}
}
boyle bir şey...
bir index olusturmak istiyorum..anladıgım kadarıyla elasticsearchte index olusturmak veritabanı olusturmakmış..
$client = \Elasticsearch\ClientBuilder::create()->build();
$params=['index'=>'dbuser'];
return $client->indices()->create($client);
bunu calıstırdım ama..
UnexpectedValueException in AbstractEndpoint.php line 247:
"transport" is not a valid parameter. Allowed parameters are: "timeout", "master_timeout", "update_all_types", "client", "custom", "filter_path"
boyle bir hata üretiyor laravel..ne demek bilmiyorum