elasticsearcher icon indicating copy to clipboard operation
elasticsearcher copied to clipboard

Figure out how to pass client configuration per request

Open dieterve opened this issue 9 years ago • 0 comments

The PHP SDK 2.0 allows several settings to be set per request, see here: https://www.elastic.co/guide/en/elasticsearch/client/php-api/current/_per_request_configuration.html.

We can actually set these already in a Query via $this->setQueryStringParam. However that method name does not represent its full usage anymore. Its not only about query string params, but much more.

Still need to figure out how to do it for document crud requests or other requests.

dieterve avatar Nov 06 '15 20:11 dieterve