github elastic/elasticsearch-php v7.9.0
Release 7.9.0

latest releases: v8.16.0, v8.15.0, v8.14.0...
4 years ago

This release is compatible with the latest Elasticsearch 7.9.0 released in 18th August 2020.

It includes the following fixes:

  • Moved scroll_id into body for search operations in the documentation #1052
  • Fixed PHP 7.4 preloading feature for autoload.php #1051
  • Improved message of JSON errors using json_last_error_msg() #1045
  • Make ClientBuilder override possible, using static instead of self #1036

Added the following new APIs 🎉:

Stable

Beta

Beta APIs are on track to become stable and permanent features. Use them with caution because it is possible that breaking changes are made to these APIs in a minor version.

Experimental

Experimental APIs are just that - an experiment. An experimental API might have breaking changes in any future version, or it might even be removed entirely.

API changes

  • Indices.putMapping: added the write_index_only parameter = (boolean) When true, applies mappings only to the write index of an alias or data stream (Default = false)

  • Ml.deleteExpiredData: added the following parameters:

    • job_id (string) The ID of the job(s) to perform expired data hygiene for
    • requests_per_second (number) The desired requests per second for the deletion processes
    • timeout (time) How long can the underlying delete processes run until they are canceled
    • body (array) deleting expired data parameters
  • Ml.forecast: added the parameter max_model_memory (string) The max memory able to be used by the forecast. Default is 20mb.

  • Ml.getCategories: added the parameter partition_field_value (string) Specifies the partition to retrieve categories for. This is optional, and should never be used for jobs where per-partition categorization is disabled

  • Ml.getTrainedModels: added the parameter for_export (boolean) Omits fields that are illegal to set on model PUT (Default = false)

  • Xpack.info: added the parameter accept_enterprise (boolean) If an enterprise license is installed, return the type and mode as 'enterprise' (default: false)

  • Indices.deleteDataStream: changed the name parameter from string to list (a comma-separated list of data streams to delete; use * to delete all data streams)

  • Indices.getDataStream (name changed from getDataStreams): changed the name parameter from string to list (a comma-separated list of data streams to get; use * to get all data streams)

Don't miss a new elasticsearch-php release

NewReleases is sending notifications on new releases.