github elastic/elasticsearch-php v9.4.0
Release 9.4.0

6 hours ago

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_results parameter

Streams.logsDisable

  • Added the name parameter

Streams.logsEnable

  • Added the name parameter

Don't miss a new elasticsearch-php release

NewReleases is sending notifications on new releases.