Home
last modified time | relevance | path

Searched refs:response (Results 251 – 275 of 925) sorted by last modified time

1...<<11121314151617181920>>...37

/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/docs/
H A Dfutures.asciidoc46 This returns a _future_, rather than the actual response. A future represents a
81 response, causes the future to resolve that particular value (which in turn
265 example, `$response['hits']['hits']`) since FutureArrayInterface automatically
274 application, which means the client can no longer inspect the response and
275 return a simple true/false. Instead, you'll see the raw response from {es} and
H A Dnamespaces.asciidoc30 $response = $client->indices()->stats();
34 $response = $client->nodes()->stats();
38 $response = $client->cluster()->stats();
55 $response = $client->indices()->stats($params);
59 $response = $client->indices()->stats($params);
H A Dserializers.asciidoc9 incoming response body. In 99% of cases, this is a simple conversion to/from
35 When decoding the response body, the `SmartSerializer` introspects the
83 When decoding the response body, everything is decoded to JSON from JSON. If the
125 When decoding the response body, everything is decoded to JSON from JSON. If the
172 * Deserialize response body
H A Dset-retries.asciidoc8 operational response.
H A Dhttp-meta-data.asciidoc57 which signals to {es} that the client is requesting 7.x version of request and response
H A Dindex-operations.asciidoc23 $response = $client->indices()->create($params);
59 $response = $client->indices()->create($params);
149 $response = $client->indices()->delete($params);
170 $response = $client->indices()->putSettings($params);
184 $response = $client->indices()->getSettings($params);
190 $response = $client->indices()->getSettings($params);
234 $response = $client->indices()->getMapping();
238 $response = $client->indices()->getMapping($params);
244 $response = $client->indices()->getMapping($params);
H A Drelease-notes.asciidoc129 * Show generic error messages when server returns no response
341 * Added warning log for {es} response containing the `Warning` header
399 `logRequestFail($request, $response, $exception)` and
400 `logRequestSuccess($request, $response)` in
H A Dsearch-operations.asciidoc102 Search results follow the same format as {es} search response, the only
103 difference is that the JSON response is serialized back into PHP arrays. Working
270 // The response will contain the first batch of documents
272 $response = $client->search($params);
275 while (isset($response['hits']['hits']) && count($response['hits']['hits']) > 0) {
278 // Do your work here, on the $response['hits']['hits'] array
283 $scroll_id = $response['_scroll_id'];
286 $response = $client->scroll([
H A Dconnecting.asciidoc94 <1> ApiKey pair of `id` and `api_key` from the create API key response.
254 $response = $client->index($params);
255 print_r($response);
258 The response that you get back indicates that the document was created in the
259 index that you specified. The response is an associative array containing a
289 $response = $client->get($params);
290 print_r($response);
294 The response contains metadata such as index, version, and so on as well as a
334 $response = $client->search($params);
335 print_r($response);
[all...]
/plugin/elasticsearch/vendor/ezimuel/ringphp/src/Client/
H A DCurlFactory.php23 * response body handle.
58 * Creates a response hash from a cURL result.
62 * @param array $response Response hash to update.
64 * @param resource $body Body fopen response.
71 array $response, argument
75 if (isset($response['transfer_stats']['url'])) {
76 $response['effective_url'] = $response['transfer_stats']['url'];
82 $response['headers'] = $headerList;
83 $response['versio
98 createErrorResponse(callable $handler, array $request, array $response) global() argument
526 retryFailedRewind(callable $handler, array $request, array $response) global() argument
[all...]
H A DCurlHandler.php90 $response = ['transfer_stats' => curl_getinfo($h)];
91 $response['curl']['error'] = curl_error($h);
92 $response['curl']['errno'] = curl_errno($h);
93 $response['transfer_stats'] = array_merge($response['transfer_stats'], $response['curl']);
96 return CurlFactory::createResponse([$this, '_invokeAsArray'], $request, $response, $hd, $bd);
H A DStreamHandler.php46 $response = [
54 $stream = $this->checkDecode($request, $response, $stream);
56 // If not streaming, then drain the response into a stream.
64 $response['body'] = $stream;
66 return new CompletedFutureArray($response);
69 private function checkDecode(array $request, array $response, $stream) argument
73 switch (Core::firstHeader($response, 'Content-Encoding', true)) {
106 // Stream the response into the destination stream
119 * Creates an error response for the given stream.
H A DMockHandler.php9 * Ring handler that returns a canned response or evaluated function result.
19 * to dynamically create a response.
31 $response = is_callable($this->result)
35 if (is_array($response)) {
36 $response = new CompletedFutureArray($response + [
43 } elseif (!$response instanceof FutureArrayInterface) {
50 return $response;
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/
H A DCHANGELOG.md58 - Show generic error messages when server returns no response
216 - Added warning log for Elasticsearch response containing the `Warning` header
258 - Simplified the logging methods `logRequestFail($request, $response, $exception)`
259 and `logRequestSuccess($request, $response)` in `Elasticsearch\Connections\Connection`
H A DREADME.md180 $response = $client->index($params);
181 print_r($response);
184 The response that you get back indicates the document was created in the index that you specified. The response is an
217 $response = $client->get($params);
218 print_r($response);
221 The response contains some metadata (index, version, etc.) as well as a `_source` field, which is the original document
254 The response will be just the `_source` value:
279 $response = $client->search($params);
280 print_r($response);
[all...]
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/docs/build/Elasticsearch/
H A DClient.asciidoc293 $params['stored_fields'] = (list) A comma-separated list of stored fields to return in the response
346 $params['stored_fields'] = (list) A comma-separated list of stored fields to return in the response
372 $params['include_unmapped'] = (boolean) Indicates whether unmapped fields should be included in the response. (Default = false)
389 $params['stored_fields'] = (list) A comma-separated list of stored fields to return in the response
516 $params['stored_fields'] = (list) A comma-separated list of stored fields to return in the response
541 $params['typed_keys'] = (boolean) Specify whether aggregation and suggester names should be prefixed by their respective types in the response
558 $params['typed_keys'] = (boolean) Specify whether aggregation and suggester names should be prefixed by their respective types in the response
560 $params['rest_total_hits_as_int'] = (boolean) Indicates whether hits.total should be rendered as an integer or an object in the rest search response (Default = false)
719 $params['rest_total_hits_as_int'] = (boolean) Indicates whether hits.total should be rendered as an integer or an object in the rest search response (Default = false)
803 $params['typed_keys'] = (boolean) Specify whether aggregation and suggester names should be prefixed by their respective types in the response
[all...]
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/ConnectionPool/
H A DSniffingConnectionPool.php115 $response = $connection->sniff();
120 $nodes = $this->parseClusterState($connection->getTransportSchema(), $response);
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/docs/build/Elasticsearch/Namespaces/
H A DCatNamespace.asciidoc364 $params['include_bootstrap'] = (boolean) Include bootstrap plugins in the response (Default = false)
381 $params['active_only'] = (boolean) If `true`, the response only includes ongoing shard recoveries (Default = false)
383 $params['detailed'] = (boolean) If `true`, the response includes detailed information about shard recoveries (Default = false)
H A DEqlNamespace.asciidoc48 $params['wait_for_completion_timeout'] = (time) Specify the time that the request should block waiting for the final response
76 $params['wait_for_completion_timeout'] = (time) Specify the time that the request should block waiting for the final response
77 $params['keep_on_completion'] = (boolean) Control whether the response should be stored in the cluster if it completed within the provided [wait_for_completion] time (default: false) (Default = false)
H A DIlmNamespace.asciidoc54 $params['only_managed'] = (boolean) filters the indices included in the response to ones managed by ILM
55 $params['only_errors'] = (boolean) filters the indices included in the response to ones in an ILM error state, implies only_managed
H A DRollupNamespace.asciidoc128 $params['typed_keys'] = (boolean) Specify whether aggregation and suggester names should be prefixed by their respective types in the response
129 $params['rest_total_hits_as_int'] = (boolean) Indicates whether hits.total should be rendered as an integer or an object in the rest search response (Default = false)
H A DAsyncSearchNamespace.asciidoc48 $params['wait_for_completion_timeout'] = (time) Specify the time that the request should block waiting for the final response
50 $params['typed_keys'] = (boolean) Specify whether aggregation and suggester names should be prefixed by their respective types in the response
77 $params['wait_for_completion_timeout'] = (time) Specify the time that the request should block waiting for the final response (Default = 1s)
78 $params['keep_on_completion'] = (boolean) Control whether the response should be stored in the cluster if it completed within the provided [wait_for_completion] time (default: false) (Default = false)
H A DMlNamespace.asciidoc466 $params['verbose'] = (boolean) whether the stats response should be verbose (Default = false)
/plugin/elasticsearch/vendor/ruflin/elastica/
H A DCHANGELOG.md36 * New method `Elastica\Aggregation\Terms::setMissingBucket`. For Composite Agg. Include in the response documents without a value for a given source. [#2117](https://github.com/ruflin/Elastica/pull/2117)
42 * Fixed `Response` to prevent throwing JSONParseException when the response is empty.
365 * hits.total is now an object in the search response [hits.total](https://www.elastic.co/guide/en/elasticsearch/reference/master/breaking-changes-7.0.html#_literal_hits_total_literal_is_now_an_object_in_the_search_response)
417 * Reduced memory footprint of response by not keeping the raw JSON data when JSON after JSON has been parsed. [#1588](https://github.com/ruflin/Elastica/pull/1588)
433 * Added a transport class for mocking a HTTP 403 error codes, useful for testing response failures in inheriting clients [#1529](https://github.com/ruflin/Elastica/pull/1529)
584 - Parameter `filter_path` for response filtering (e.g. `$index->search($query, ['filter_path' => 'hits.hits._source'])`)
1199 - Updated Type::getDocument() exception handling. \Elastica\Exception\ResponseException will be thrown instead of \Elastica\Exception\NotFoundException if the ES response contains any error (i.e: Missing index) (BC break) [#687](https://github.com/ruflin/Elastica/issues/687/)
1407 - Throw PartialShardFailureException if response has failed shards
1450 - Use the HTTP response code of GET requests (getDocument), instead of extists/found json property.
1933 - Elastica_Index_Settings::set/get response update
[all...]
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/docs/examples/
H A D015294a400986295039e52ebc62033be.asciidoc15 $response = $client->update($params);

1...<<11121314151617181920>>...37