Features and enhancements
-
New Bulk Helper function #1560
This new function provides high-level access to the Bulk API endpoint, though the use of a generator. Example usage:use Elastic\Elasticsearch\Helper\Bulk; function get_next_document() { foreach($dataset as $document) { yield Bulk::index_action($document) } } Bulk::bulk($client, $index, get_next_document());
-
ES|QL query builder updates
The ES|QL query builder module has been updated for Elasticsearch 9.4 and Serverless.
Inference.embedding (new API)
Inference.putFireworksai (new API)
Project.createManyRouting (new API)
Project.createRouting (new API)
Project.deleteRouting (new API)
Project.getManyRouting (new API)
Project.getRouting (new API)
Security.cloneApiKey (new API)
AsyncSearch.get
- Added the
return_intermediate_resultsparameter
Streams.logsDisable
- Added the
nameparameter
Streams.logsEnable
- Added the
nameparameter