Official PHP client for Elasticsearch.
This release is compatible with the latest Elasticsearch 8.6.0.
This release introduces 1 new API.
Added the priority
string paramter. The deployment priority.
API: https://github.com/elastic/elasticsearch/blob/main/rest-api-spec/src/main/resources/rest-api-spec/api/ml.update_trained_model_deployment.json Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/update-trained-model-deployment.html
This release is compatible with the latest Elasticsearch 8.5.0.
This release introduces 1 experimental new API and 2 stable APIs.
API: https://github.com/elastic/elasticsearch/blob/8.5/rest-api-spec/src/main/resources/rest-api-spec/api/indices.downsample.json Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/xpack-rollup.html
API: https://github.com/elastic/elasticsearch/blob/8.5/rest-api-spec/src/main/resources/rest-api-spec/api/ml.clear_trained_model_deployment_cache.json Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/master/clear-trained-model-deployment-cache.html
This API is now stable.
This API is now stable.
This API is now stable.
This API is now stable. The descript of the number_of_allocations
has been changed in "The total number of allocations this model is assigned across machine learning nodes".
This API is now stable.
This experimental API has been removed.
This API is now stable.
API: https://github.com/elastic/elasticsearch/blob/8.5/rest-api-spec/src/main/resources/rest-api-spec/api/security.bulk_update_api_keys.json Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-bulk-update-api-keys.html
This API is now stable.
This API is now stable.
Added the with_limited_by
boolean parameter. Flag to show the limited-by role descriptors of API Keys.
Added the with_profile_uid
boolean parameter. Flag to retrieve profile uid (if exists) associated to the user.
This API is now stable. Changed the description of uid
parameter, a comma-separated list of unique identifier for user profiles.
This API is now stable.
Added the with_limited_by
boolean parameter. Flag to show the limited-by role descriptors of API Keys.
This API is now stable.
This API is now stable.
Added the ecs_compatibility
string parameter. Optional parameter to specify the compatibility mode with ECS Grok patterns - may be either 'v1' or 'disabled'.
This release contains the following fix:
StickyRoundRobinSelector
#1253
This release is compatible with the latest Elasticsearch 8.4.0 and includes the following changes:
ClientInterface
to simplify the mock of the Client, this is a fix for #1227
#1249
Added the force_synthetic_source
parameter (boolean). Should this request force synthetic _source? Use this to test if the mapping supports synthetic _source and to get a sense of the worst case performance. Fetches with this enabled will be slower the enabling synthetic source natively in the index.
Added the force_synthetic_source
parameter (boolean). Should this request force synthetic _source? Use this to test if the mapping supports synthetic _source and to get a sense of the worst case performance. Fetches with this enabled will be slower the enabling synthetic source natively in the index.
Added the force_synthetic_source
parameter (boolean). Should this request force synthetic _source? Use this to test if the mapping supports synthetic _source and to get a sense of the worst case performance. Fetches with this enabled will be slower the enabling synthetic source natively in the index.
Added cache_size
parameter (string). A byte-size value for configuring the inference cache size. For example, 20mb.
Added the following parameters:
sort
(enum), allows setting a sort order for the result. Defaults to start_time;size
(integer), maximum number of snapshots to return. Defaults to 0 which means return all that match without limit;order
(enum), soprt order;from_sort_value
(string), value of the current sort column at which to start retrieval;after
(string), offset identifier to start pagination from as returned by the 'next' field in the response body;offset
(integer), numeric offset to start pagination based on the snapshots matching the request. Defaults to 0;slm_policy_filter
(string), filter snapshots by a comma-separated list of SLM policy names that snapshots belong to. Accepts wildcards. Use the special pattern '_none' to match snapshots without an SLM policy.This release is compatible with the latest Elasticsearch 8.3.0.
Added master_timeout
parameter (time). Timeout for submitting request to master.
Added master_timeout
parameter (time). Timeout for submitting request to master.
The Ml.inferTrainedModelDeployment
API has been renamed in Ml.inferTrainedModel
.
Added the following optional parameters:
start
: string, the start time from where the datafeed preview should begin;end
: string, the end time when the datafeed preview should stop.Added the following optional parameters:
number_of_allocations
: int, the number of model allocations on each node where the model is deployed;threads_per_allocation
: int, the number of threads used by each model allocation during inference;queue_capacity
: int, controls how many inference requests are allowed in the queue at a time.Added the index_names
parameter (boolean). Whether to include the name of each index in the snapshot. Defaults to true.
This release is compatible with the latest Elasticsearch 8.2.1.
This release is compatible with the latest Elasticsearch 8.2.0.
This release includes the following fixes:
text/plain
#1220This release is compatible with the latest Elasticsearch 8.1.0.
Added wait_for_completion
parameter.
Added features
enum parameter, return only information on specified index features.
Added force
boolean parameter, true if the model should be forcefully deleted.
This release contains the following fix:
NoNodeAvailableException
exception in endpoints, fixing https://github.com/elastic/elasticsearch-php/issues/1209 with e7d448d
Finally 8.0.0
for Elasticsearch 8.0 is GA!!! :partying_face:
This new major version of elasticsearch-php
contains a brand new implementation compared with 7.x. It supports PSR-7 for HTTP messages and PSR-18 for HTTP client communications. We used the elastic-transport-php library for HTTP communications.
We tried to reduce the BC breaks as much as possible with 7.x
but there are some (big) differences:
Elastic\Elasticsearch
;Exception
model, using the namespace Elastic\Elasticsearch\Exception
. All the exceptions extends the
ElasticsearchException
interface, as in 7.x;You can have a look at the BREAKING_CHANGES file for more information.
We are still working on the new documentation for 8.0
, in the meantime you can have a look at the README where we reported a quick start guide.