@@ -123,4 +123,130 @@ public static function find($type, $id) {
123
123
124
124
}
125
125
126
+ /**
127
+ * Retreives the meta data of an index
128
+ * @param string|array $features a list of meta objects to fetch. null means
129
+ * everything. Can be
130
+ * * 1 string (i.e. '_settings'),
131
+ * * csv (i.e. '_settings,_aliases'),
132
+ * * array (i.e. ['_settings','_aliases']
133
+ * @param array $options can contain:
134
+ * ['ignore_unavailable']
135
+ * (bool) Whether specified concrete indices should be ignored
136
+ * when unavailable (missing or closed)
137
+ * ['allow_no_indices']
138
+ * (bool) Whether to ignore if a wildcard indices expression
139
+ * resolves into no concrete indices. (This includes `_all`
140
+ * string or when no indices have been specified)
141
+ * ['expand_wildcards']
142
+ * (enum) Whether to expand wildcard expression to concrete
143
+ * indices that are open, closed or both.
144
+ * ['local']
145
+ * (bool) Return local information, do not retrieve the state
146
+ * from master node (default: false)
147
+ * @return array
148
+ */
149
+ public function meta ($ feature = null , array $ options = []) {
150
+
151
+ }
152
+
153
+ /**
154
+ * Retreives the meta data of an index
155
+ * @param string|array $features a list of meta objects to fetch. null means
156
+ * everything. Can be
157
+ * * 1 string (i.e. '_settings'),
158
+ * * csv (i.e. '_settings,_aliases'),
159
+ * * array (i.e. ['_settings','_aliases']
160
+ * @param array $options can contain:
161
+ * ['ignore_unavailable']
162
+ * (bool) Whether specified concrete indices should be ignored
163
+ * when unavailable (missing or closed)
164
+ * ['allow_no_indices']
165
+ * (bool) Whether to ignore if a wildcard indices expression
166
+ * resolves into no concrete indices. (This includes `_all`
167
+ * string or when no indices have been specified)
168
+ * ['expand_wildcards']
169
+ * (enum) Whether to expand wildcard expression to concrete
170
+ * indices that are open, closed or both.
171
+ * ['local']
172
+ * (bool) Return local information, do not retrieve the state
173
+ * from master node (default: false)
174
+ * @return array
175
+ */
176
+ public static function meta ($ feature = null , array $ options = []) {
177
+
178
+ }
179
+
180
+ /**
181
+ * Retreives just the settings of the index
182
+ * @param array $options check _meta() for details
183
+ * @return array
184
+ */
185
+ public function metaSettings (array $ options = []) {
186
+
187
+ }
188
+
189
+ /**
190
+ * Retreives just the settings of the index
191
+ * @param array $options check _meta() for details
192
+ * @return array
193
+ */
194
+ public static function metaSettings (array $ options = []) {
195
+
196
+ }
197
+
198
+ /**
199
+ * Retreives just the aliases of the index
200
+ * @param array $options check _meta() for details
201
+ * @return array
202
+ */
203
+ public function metaAliases (array $ options = []) {
204
+
205
+ }
206
+
207
+ /**
208
+ * Retreives just the aliases of the index
209
+ * @param array $options check _meta() for details
210
+ * @return array
211
+ */
212
+ public static function metaAliases (array $ options = []) {
213
+
214
+ }
215
+
216
+ /**
217
+ * Retreives just the warmers of the index
218
+ * @param array $options check _meta() for details
219
+ * @return array
220
+ */
221
+ public function metaWarmers (array $ options = []) {
222
+
223
+ }
224
+
225
+ /**
226
+ * Retreives just the warmers of the index
227
+ * @param array $options check _meta() for details
228
+ * @return array
229
+ */
230
+ public static function metaWarmers (array $ options = []) {
231
+
232
+ }
233
+
234
+ /**
235
+ * Retreives just the mappings of the index
236
+ * @param array $options check _meta() for details
237
+ * @return array
238
+ */
239
+ public function metaMappings (array $ options = []) {
240
+
241
+ }
242
+
243
+ /**
244
+ * Retreives just the mappings of the index
245
+ * @param array $options check _meta() for details
246
+ * @return array
247
+ */
248
+ public static function metaMappings (array $ options = []) {
249
+
250
+ }
251
+
126
252
}
0 commit comments