You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Features and enhancements [elasticsearch-php-client-920-features-enhancements]
26
+
27
+
- Added the ES|QL query builder [#1462](https://github.com/elastic/elasticsearch-php/pull/1462)
28
+
29
+
This query builder should simplify the usage of the Elasticsearch Query Language ([ES|QL](https://www.elastic.co/docs/reference/query-languages/esql)) in PHP.
30
+
31
+
Example usage:
32
+
33
+
```php
34
+
$query = Esql\Query::from("books", "books*")
35
+
->where('author == "King"', 'year == 1982')
36
+
->limit(10);
37
+
echo $query;
38
+
```
39
+
40
+
Output:
41
+
42
+
```
43
+
FROM books, books*
44
+
| WHERE author == "King" AND year == 1982
45
+
| LIMIT 10
46
+
```
47
+
48
+
This release includes the following endpoint changes for [Elasticsearch 9.2.0](https://www.elastic.co/docs/release-notes/elasticsearch#elasticsearch-9.2.0-release-notes):
49
+
50
+
### AsyncSearch.submit
51
+
52
+
- Added the `project_routing` parameter (string), a Lucene query using project metadata tags to limit which projects to search, such as _alias:_origin or _alias:*pr*. Only supported in serverless.
53
+
54
+
### Cat.aliases
55
+
56
+
- Added the `bytes` parameter (string), the unit in which to display byte values
57
+
- Added the `time` parameter (string), the unit in which to display time values
58
+
59
+
### Cat.componentTemplates
60
+
61
+
- Added the `bytes` parameter (string), the unit in which to display byte values
62
+
- Added the `time` parameter (string), the unit in which to display time values
63
+
64
+
### Cat.count
65
+
66
+
- Added the `project_routing` parameter (string), a Lucene query using project metadata tags to limit which projects to search, such as _alias:_origin or _alias:*pr*. Only supported in serverless.
67
+
- Added the `bytes` parameter (string), the unit in which to display byte values
68
+
- Added the `time` parameter (string), the unit in which to display time values
69
+
70
+
### Cat.fielddata
71
+
72
+
- Added the `time` parameter (string), the unit in which to display time values
73
+
74
+
### Cat.health
75
+
76
+
- Added the `bytes` parameter (string), the unit in which to display byte values
77
+
78
+
### Cat.master
79
+
80
+
- Added the `bytes` parameter (string), the unit in which to display byte values
81
+
- Added the `time` parameter (string), the unit in which to display time values
82
+
83
+
### Cat.mlDatafeeds
84
+
85
+
- Added the `bytes` parameter (string), the unit in which to display byte values
86
+
87
+
### Cat.nodeattrs
88
+
89
+
- Added the `bytes` parameter (string), the unit in which to display byte values
90
+
- Added the `time` parameter (string), the unit in which to display time values
91
+
92
+
### Cat.pendingTasks
93
+
94
+
- Added the `bytes` parameter (string), the unit in which to display byte values
95
+
96
+
### Cat.plugins
97
+
98
+
- Added the `bytes` parameter (string), the unit in which to display byte values
99
+
- Added the `time` parameter (string), the unit in which to display time values
100
+
101
+
### Cat.repositories
102
+
103
+
- Added the `bytes` parameter (string), the unit in which to display byte values
104
+
- Added the `time` parameter (string), the unit in which to display time values
105
+
106
+
### Cat.segments
107
+
108
+
- Added the `time` parameter (string), the unit in which to display time values
109
+
- Added the `ignore_unavailable` parameter (bool), whether specified concrete indices should be ignored when unavailable (missing or closed). Only allowed when providing an index expression.
110
+
- Added the `ignore_throttled` (bool), whether specified concrete, expanded or aliased indices should be ignored when throttled. Only allowed when providing an index expression.
111
+
- Added the `allow_no_indices` (bool), whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified). Only allowed when providing an index expression.
112
+
- Added the `expand_wildcards` parameter (string), whether to expand wildcard expression to concrete indices that are open, closed or both.
113
+
- Added the `allow_closed` parameter (bool), if true, allow closed indices to be returned in the response otherwise if false, keep the legacy behaviour of throwing an exception if index pattern matches closed indices
114
+
115
+
### Cat.snapshots
116
+
117
+
- Added the `bytes` paremeter (string), the unit in which to display byte values
118
+
119
+
### Cat.tasks
120
+
121
+
- Added the `bytes` paremeter (string), the unit in which to display byte values
122
+
123
+
### Cat.templates
124
+
125
+
- Added the `bytes` parameter (string), the unit in which to display byte values
126
+
- Added the `time` parameter (string), the unit in which to display time values
127
+
128
+
### Cat.threadPool
129
+
130
+
- Added the `bytes` parameter (string), the unit in which to display byte values
131
+
132
+
### Cat.transforms
133
+
134
+
- Added the `bytes` parameter (string), the unit in which to display byte values
135
+
136
+
### Cluster.allocationExplain
137
+
138
+
- Added the `index` parameter (string), specifies the name of the index that you would like an explanation for
139
+
- Added the `shard` paremeter (int), specifies the ID of the shard that you would like an explanation for
140
+
- Added the `primary` parameter (bool), if true, returns explanation for the primary shard for the given shard ID
141
+
- Added the `current_node` parameter (string), specifies the node ID or the name of the node to only explain a shard that is currently located on the specified node
142
+
143
+
### Connector.lastSync
144
+
145
+
This experimental endpoint has been removed.
146
+
147
+
### Eql.search
148
+
149
+
- Added the `project_routing` parameter (string), a Lucene query using project metadata tags to limit which projects to search, such as _alias:_origin or _alias:*pr*. Only supported in serverless.
- Added the `merge_type` parameter (string), the mapping merge type if mapping overrides are being provided in mapping_addition.The allowed values are one of index or template.The index option merges mappings the way they would be merged into an existing index.The template option merges mappings the way they would be merged into a template.
309
+
310
+
### Sql.query
311
+
312
+
- Added the `project_routing` parameter (string), a Lucene query using project metadata tags to limit which projects to search, such as _alias:_origin or _alias:*pr*. Only supported in serverless.
This release includes the following endpoint changes for [Elasticsearch 9.1.0](https://www.elastic.co/docs/release-notes/elasticsearch#elasticsearch-9.1.0-release-notes):
0 commit comments