elasticsearcher
elasticsearcher copied to clipboard
Figure out how to pass client configuration per request
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.