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
Copy file name to clipboardExpand all lines: src/Elasticsearch/Client.php
+22-10Lines changed: 22 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -167,8 +167,10 @@ public function ping($params = [])
167
167
* ['refresh'] = (boolean) Refresh the shard containing the document before performing the operation
168
168
* ['routing'] = (string) Specific routing value
169
169
* ['_source'] = (list) True or false to return the _source field or not, or a list of fields to return
170
-
* ['_source_exclude'] = (list) A list of fields to exclude from the returned _source field
171
-
* ['_source_include'] = (list) A list of fields to extract and return from the _source field
170
+
* ['_source_exclude'] = (list) A list of fields to exclude from the returned _source field (deprecated in ES 6.6.0)
171
+
* ['_source_excludes'] = (list) A list of fields to exclude from the returned _source field
172
+
* ['_source_include'] = (list) A list of fields to extract and return from the _source field (deprecated in ES 6.6.0)
173
+
* ['_source_includes'] = (list) A list of fields to extract and return from the _source field
172
174
*
173
175
* @param array $params Associative array of parameters
174
176
*
@@ -270,8 +272,10 @@ public function delete($params)
270
272
/**
271
273
*
272
274
* $params['_source'] = (list) True or false to return the _source field or not, or a list of fields to return
273
-
* ['_source_exclude'] = (array) A list of fields to exclude from the returned _source field
274
-
* ['_source_include'] = (array) A list of fields to extract and return from the _source field
275
+
* ['_source_exclude'] = (array) A list of fields to exclude from the returned _source field (deprecated in ES 6.6.0)
276
+
* ['_source_include'] = (array) A list of fields to extract and return from the _source field (deprecated in ES 6.6.0)
277
+
* ['_source_excludes'] = (array) A list of fields to exclude from the returned _source field
278
+
* ['_source_includes'] = (array) A list of fields to extract and return from the _source field
275
279
* ['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)
276
280
* ['analyze_wildcard'] = (bool) Specify whether wildcard and prefix queries should be analyzed (default: false)
277
281
* ['analyzer'] = (string) The analyzer to use for the query string
@@ -595,6 +599,8 @@ public function exists($params)
595
599
* ['_source'] = (list) True or false to return the _source field or not, or a list of fields to return
596
600
* ['_source_exclude'] = (list) A list of fields to exclude from the returned _source field
597
601
* ['_source_include'] = (list) A list of fields to extract and return from the _source field
602
+
* ['_source_excludes'] = (list) A list of fields to exclude from the returned _source field (deprecated in ES 6.6.0)
603
+
* ['_source_includes'] = (list) A list of fields to extract and return from the _source field (deprecated in ES 6.6.0)
598
604
*
599
605
* @param array $params Associative array of parameters
600
606
*
@@ -836,8 +842,10 @@ public function reindex($params)
836
842
* ['routing'] = (string) Specific routing value
837
843
* ['source'] = (string) The URL-encoded query definition (instead of using the request body)
838
844
* ['_source'] = (list) True or false to return the _source field or not, or a list of fields to return
839
-
* ['_source_exclude'] = (list) A list of fields to exclude from the returned _source field
840
-
* ['_source_include'] = (list) A list of fields to extract and return from the _source field
845
+
* ['_source_exclude'] = (list) A list of fields to exclude from the returned _source field (deprecated in ES 6.6.0)
846
+
* ['_source_include'] = (list) A list of fields to extract and return from the _source field (deprecated in ES 6.6.0)
847
+
* ['_source_excludes'] = (list) A list of fields to exclude from the returned _source field
848
+
* ['_source_includes'] = (list) A list of fields to extract and return from the _source field
841
849
* ['body'] = (string) The URL-encoded query definition (instead of using the request body)
842
850
*
843
851
* @param array $params Associative array of parameters
@@ -890,8 +898,10 @@ public function explain($params)
890
898
* ['sort'] = (list) A comma-separated list of <field>:<direction> pairs
891
899
* ['source'] = (string) The URL-encoded request definition using the Query DSL (instead of using request body)
892
900
* ['_source'] = (list) True or false to return the _source field or not, or a list of fields to return
893
-
* ['_source_exclude'] = (list) A list of fields to exclude from the returned _source field
894
-
* ['_source_include'] = (list) A list of fields to extract and return from the _source field
901
+
* ['_source_exclude'] = (list) A list of fields to exclude from the returned _source field (deprecated in ES 6.6.0)
902
+
* ['_source_include'] = (list) A list of fields to extract and return from the _source field (deprecated in ES 6.6.0)
903
+
* ['_source_excludes'] = (list) A list of fields to exclude from the returned _source field
904
+
* ['_source_includes'] = (list) A list of fields to extract and return from the _source field
895
905
* ['stats'] = (list) Specific 'tag' of the request for logging and statistical purposes
896
906
* ['suggest_field'] = (string) Specify which field to use for suggestions
897
907
* ['suggest_mode'] = (enum) Specify suggest mode
@@ -1122,8 +1132,10 @@ public function update($params)
1122
1132
* ['sort'] = (list) A comma-separated list of <field>:<direction> pairs
1123
1133
* ['_source'] = (list) True or false to return the _source field or not, or a list of
1124
1134
* fields to return
1125
-
* ['_source_exclude'] = (list) A list of fields to exclude from the returned _source field
1126
-
* ['_source_include'] = (list) A list of fields to extract and return from the _source field
1135
+
* ['_source_exclude'] = (list) A list of fields to exclude from the returned _source field (deprecated in ES 6.6.0)
1136
+
* ['_source_include'] = (list) A list of fields to extract and return from the _source field (deprecated in ES 6.6.0)
1137
+
* ['_source_excludes'] = (list) A list of fields to exclude from the returned _source field
1138
+
* ['_source_includes'] = (list) A list of fields to extract and return from the _source field
1127
1139
* ['terminate_after'] = (number) The maximum number of documents to collect for each shard, upon
1128
1140
* reaching which the query execution will terminate early.
1129
1141
* ['stats'] = (list) Specific 'tag' of the request for logging and statistical purposes
0 commit comments