Lines Matching refs:client
4 The client offers a mode called "future" or "async" mode. This allows batch
20 simultaneously, which means the Elasticsearch-PHP client can more effectively
29 the client options to `'lazy'`:
33 $client = ClientBuilder::create()->build();
38 'client' => [
43 $future = $client->get($params);
65 $client = ClientBuilder::create()->build();
70 'client' => [
75 $future = $client->get($params);
86 $client = ClientBuilder::create()->build();
93 'client' => [
98 $futures[] = $client->get($params); //queue up the request
116 $client = ClientBuilder::create()->build();
123 'client' => [
128 $futures[] = $client->get($params); //queue up the request
139 The default batch size is 100, meaning 100 requests queue up before the client
152 $client = ClientBuilder::create()
171 $client = ClientBuilder::create()
181 'client' => [
186 $futures[] = $client->get($params); //queue up the request
202 $client = ClientBuilder::create()->build();
208 'client' => [
213 $futures['getRequest'] = $client->get($params); // First request
221 'client' => [
226 $futures['indexRequest'] = $client->index($params); // Second request
237 'client' => [
242 $futures['searchRequest'] = $client->search($params); // Third request
269 example, "exists" APIs (`$client->exists()`, `$client->indices()->exists`,
270 `$client->indices->templateExists()`, and so on) typically return a true or
274 application, which means the client can no longer inspect the response and