PHP APIを使用しようとしていますが、コードに示されているのと同じ例です
$client = ClientBuilder::create()->build();
$params = [
"scroll" => "30s", // how long between scroll requests. should be small!
"size" => 50, // how many results *per shard* you want back
"index" => "my_index",
"body" => [
"query" => [
"match_all" => new \stdClass()
]
]
];
// Execute the search
// The response will contain the first batch of documents
// and a scroll_id
$response = $client->search($params);
しかし、この [scroll] の VALUE_STRING の不明なキーのようなエラーが発生します。
現在、Elasticsearch バージョン 6.2.2 を使用しています
何か案は?