opensearch_client/common/
mod.rs1pub mod cluster;
11
12pub type IndicesResponseBase = serde_json::Value;
13
14mod string_or_string_array;
16pub use self::string_or_string_array::StringOrStringArray;
17
18mod stringified_boolean;
19pub use self::stringified_boolean::StringifiedBoolean;
20
21mod stringified_double;
22pub use self::stringified_double::StringifiedDouble;
23
24mod stringified_epoch_time_unit_millis;
25pub use self::stringified_epoch_time_unit_millis::StringifiedEpochTimeUnitMillis;
26
27mod stringified_epoch_time_unit_seconds;
28pub use self::stringified_epoch_time_unit_seconds::StringifiedEpochTimeUnitSeconds;
29
30mod stringified_integer;
31pub use self::stringified_integer::StringifiedInteger;
32
33mod stringified_long;
34pub use self::stringified_long::StringifiedLong;
35
36mod stringified_version_number;
37pub use self::stringified_version_number::StringifiedVersionNumber;
38
39mod typed_or_json;
40pub use self::typed_or_json::TypedOrJson;
41
42mod typed_or_list;
43pub use self::typed_or_list::TypedOrList;
44pub type BulkByScrollResponseBaseValue = serde_json::Value;
48
49pub type DeleteByQueryOKJson = TypedOrJson<BulkByScrollResponseBaseValue>;
51pub type ReindexOKJson = TypedOrJson<BulkByScrollResponseBaseValue>;
52pub type UpdateByQueryOKJson = TypedOrJson<BulkByScrollResponseBaseValue>;
53pub type SortOptionsValue = TypedOrJson<String>;
54pub type Sort = TypedOrList<SortOptionsValue>;
57
58pub type Time = String;
60pub type TimeUnit = String;
61pub type ScriptLanguage = String;
62pub type WaitForStatus = String;
63
64pub type Fuzziness = String;
65pub type Health = String;
66pub type HealthStatus = String;
67
68pub type MinimumShouldMatch = StringifiedInteger;
69pub type Slices = StringifiedInteger;
70
71pub type MultiTermQueryRewrite = String;
72pub type NodeRole = String;
73pub type SearchType = String;
74
75pub type Bytes = StringifiedLong;
76
77pub type Refresh = StringifiedBoolean;
78
79pub type DateTime = StringifiedEpochTimeUnitMillis;
80
81pub type Actions = StringOrStringArray;
82pub type Groups = StringOrStringArray;
83pub type CompletionFields = StringOrStringArray;
84pub type DocvalueFields = StringOrStringArray;
85pub type Fields = StringOrStringArray;
86pub type FielddataFields = StringOrStringArray;
87pub type StoredFields = StringOrStringArray;
88pub type FilterPath = StringOrStringArray;
89pub type Index = StringOrStringArray;
90pub type Ids = StringOrStringArray;
91pub type Indices = StringOrStringArray;
92pub type ExpandWildcards = StringOrStringArray;
93pub type NodeIds = StringOrStringArray;
94pub type NodeNames = StringOrStringArray;
95pub type Names = StringOrStringArray;
96pub type Routing = StringOrStringArray;
97pub type Repository = StringOrStringArray;
98pub type SourceExcludes = StringOrStringArray;
99pub type SourceIncludes = StringOrStringArray;
100pub type ScrollIds = StringOrStringArray;
101pub type RoutingInQueryString = StringOrStringArray;
102pub type Metric = StringOrStringArray;
103pub type Status = StringOrStringArray;
104
105pub mod acknowledged_response_base;
107pub use self::acknowledged_response_base::AcknowledgedResponseBase;
108
109pub mod base_node;
110pub use self::base_node::BaseNode;
111
112pub mod bulk_by_scroll_task_status;
113pub use self::bulk_by_scroll_task_status::BulkByScrollTaskStatus;
114
115pub mod bulk_by_scroll_task_status_value;
116pub use self::bulk_by_scroll_task_status_value::BulkByScrollTaskStatusValue;
117
118pub mod cluster_details;
119pub use self::cluster_details::ClusterDetails;
120
121pub mod cluster_statistics;
122pub use self::cluster_statistics::ClusterStatistics;
123
124pub mod completion_stats;
125pub use self::completion_stats::CompletionStats;
126
127pub mod coords_geo_bounds;
128pub use self::coords_geo_bounds::CoordsGeoBounds;
129
130pub mod doc_stats;
131pub use self::doc_stats::DocStats;
132
133pub mod doc_status;
134pub use self::doc_status::DocStatus;
135
136pub mod error_cause;
137pub use self::error_cause::ErrorCause;
138
139pub mod error_cause_value;
140pub use self::error_cause_value::ErrorCauseValue;
141
142pub mod error_response_base;
143pub use self::error_response_base::ErrorResponseBase;
144
145pub mod error_response_base_value;
146pub use self::error_response_base_value::ErrorResponseBaseValue;
147
148pub mod field_memory_usage;
149pub use self::field_memory_usage::FieldMemoryUsage;
150
151pub mod field_size_usage;
152pub use self::field_size_usage::FieldSizeUsage;
153
154pub mod fielddata_stats;
155pub use self::fielddata_stats::FielddataStats;
156
157pub mod flush_stats;
158pub use self::flush_stats::FlushStats;
159
160pub mod geo_distance_sort;
161pub use self::geo_distance_sort::GeoDistanceSort;
162
163pub mod geo_hash_location;
164pub use self::geo_hash_location::GeoHashLocation;
165
166pub mod geo_line;
167pub use self::geo_line::GeoLine;
168
169pub mod get_stats;
170pub use self::get_stats::GetStats;
171
172pub mod http_headers;
173pub use self::http_headers::HttpHeaders;
174
175pub mod indexing_stats;
176pub use self::indexing_stats::IndexingStats;
177
178pub mod inline_get;
179pub use self::inline_get::InlineGet;
180
181pub mod inline_get_dict_user_defined;
182pub use self::inline_get_dict_user_defined::InlineGetDictUserDefined;
183
184pub mod inline_script;
185pub use self::inline_script::InlineScript;
186pub type Script = InlineScript;
187
188pub mod lat_lon_geo_location;
189pub use self::lat_lon_geo_location::LatLonGeoLocation;
190
191pub mod merges_stats;
192pub use self::merges_stats::MergesStats;
193
194pub mod metadata;
195pub use self::metadata::Metadata;
196
197pub mod nested_sort_value;
198pub use self::nested_sort_value::NestedSortValue;
199
200pub mod node_attributes;
201pub use self::node_attributes::NodeAttributes;
202
203pub mod node_shard;
204pub use self::node_shard::NodeShard;
205
206pub mod node_statistics;
207pub use self::node_statistics::NodeStatistics;
208
209pub mod object_value;
210pub use self::object_value::ObjectValue;
211
212pub mod open_search_version_info;
213pub use self::open_search_version_info::OpenSearchVersionInfo;
214
215pub mod plugin_stats;
216pub use self::plugin_stats::PluginStats;
217
218pub mod query_cache_stats;
219pub use self::query_cache_stats::QueryCacheStats;
220
221pub mod rank_base;
222pub use self::rank_base::RankBase;
223
224pub mod rank_container;
225pub use self::rank_container::RankContainer;
226
227pub mod recovery_stats;
228pub use self::recovery_stats::RecoveryStats;
229
230pub mod refresh_stats;
231pub use self::refresh_stats::RefreshStats;
232
233pub mod remote_store_download_stats;
234pub use self::remote_store_download_stats::RemoteStoreDownloadStats;
235
236pub mod remote_store_stats;
237pub use self::remote_store_stats::RemoteStoreStats;
238
239pub mod remote_store_translog_stats;
240pub use self::remote_store_translog_stats::RemoteStoreTranslogStats;
241
242pub mod remote_store_translog_upload_stats;
243pub use self::remote_store_translog_upload_stats::RemoteStoreTranslogUploadStats;
244
245pub mod remote_store_translog_upload_total_upload_size_stats;
246pub use self::remote_store_translog_upload_total_upload_size_stats::RemoteStoreTranslogUploadTotalUploadSizeStats;
247
248pub mod remote_store_translog_upload_total_uploads_stats;
249pub use self::remote_store_translog_upload_total_uploads_stats::RemoteStoreTranslogUploadTotalUploadsStats;
250
251pub mod remote_store_upload_download_stats;
252pub use self::remote_store_upload_download_stats::RemoteStoreUploadDownloadStats;
253
254pub mod remote_store_upload_pressure_stats;
255pub use self::remote_store_upload_pressure_stats::RemoteStoreUploadPressureStats;
256
257pub mod remote_store_upload_refresh_size_lag_stats;
258pub use self::remote_store_upload_refresh_size_lag_stats::RemoteStoreUploadRefreshSizeLagStats;
259
260pub mod remote_store_upload_stats;
261pub use self::remote_store_upload_stats::RemoteStoreUploadStats;
262
263pub mod request_cache_stats;
264pub use self::request_cache_stats::RequestCacheStats;
265
266pub mod request_stats;
267pub use self::request_stats::RequestStats;
268
269pub mod resource_stat;
270pub use self::resource_stat::ResourceStat;
271
272pub mod resource_stats;
273pub use self::resource_stats::ResourceStats;
274
275pub mod retries;
276pub use self::retries::Retries;
277
278pub mod score_sort;
279pub use self::score_sort::ScoreSort;
280
281pub mod script_base;
282pub use self::script_base::ScriptBase;
283
284pub mod script_field;
285pub use self::script_field::ScriptField;
286
287pub mod script_sort;
288pub use self::script_sort::ScriptSort;
289
290pub mod scrollable_hit_source_search_failure;
291pub use self::scrollable_hit_source_search_failure::ScrollableHitSourceSearchFailure;
292
293pub mod scrollable_hit_source_search_failure_value;
294pub use self::scrollable_hit_source_search_failure_value::ScrollableHitSourceSearchFailureValue;
295
296pub mod search_stats;
297pub use self::search_stats::SearchStats;
298
299pub mod segments_stats;
300pub use self::segments_stats::SegmentsStats;
301
302pub mod shard_failure;
303pub use self::shard_failure::ShardFailure;
304
305pub mod shard_statistics;
306pub use self::shard_statistics::ShardStatistics;
307
308pub mod shards_operation_response_base;
309pub use self::shards_operation_response_base::ShardsOperationResponseBase;
310
311pub mod sliced_scroll;
312pub use self::sliced_scroll::SlicedScroll;
313
314pub mod store_stats;
315pub use self::store_stats::StoreStats;
316
317pub mod stored_script;
318pub use self::stored_script::StoredScript;
319
320pub mod task_failure;
321pub use self::task_failure::TaskFailure;
322
323pub mod thread_info;
324pub use self::thread_info::ThreadInfo;
325
326pub mod top_left_bottom_right_geo_bounds;
327pub use self::top_left_bottom_right_geo_bounds::TopLeftBottomRightGeoBounds;
328
329pub mod top_right_bottom_left_geo_bounds;
330pub use self::top_right_bottom_left_geo_bounds::TopRightBottomLeftGeoBounds;
331
332pub mod translog_stats;
333pub use self::translog_stats::TranslogStats;
334
335pub mod void;
336pub use self::void::Void;
337
338pub mod warmer_stats;
339pub use self::warmer_stats::WarmerStats;
340
341pub mod wkt_geo_bounds;
342pub use self::wkt_geo_bounds::WktGeoBounds;
343
344pub mod write_response_base;
345pub use self::write_response_base::WriteResponseBase;
346
347pub mod bulk_by_scroll_failure;
348pub use self::bulk_by_scroll_failure::BulkByScrollFailure;
349
350pub mod bulk_by_scroll_task_status_or_exception;
351pub use self::bulk_by_scroll_task_status_or_exception::BulkByScrollTaskStatusOrException;
352
353pub mod distance_unit;
354pub use self::distance_unit::DistanceUnit;
355
356pub mod field_sort;
357pub use self::field_sort::FieldSort;
358
359pub mod geo_bounds;
360pub use self::geo_bounds::GeoBounds;
361
362pub mod geo_hash_precision;
363pub use self::geo_hash_precision::GeoHashPrecision;
364
365pub mod geo_location;
366pub use self::geo_location::GeoLocation;
367
368pub mod wait_for_active_shards;
369pub use self::wait_for_active_shards::WaitForActiveShards;
370
371pub mod source;
372pub use self::source::Source;
373
374pub mod aggregations;
375pub mod analysis;
376pub mod mapping;
377pub mod query_dsl;
378
379pub mod put_script_request_body_json;
380pub use self::put_script_request_body_json::PutScriptRequestBodyJson;
381
382pub mod scripts_painless_execute_response;
383pub use self::scripts_painless_execute_response::ScriptsPainlessExecuteResponse;
384
385pub mod rank_eval;
386pub use self::rank_eval::RankEval;
387
388pub mod info_response;
389pub use self::info_response::InfoResponse;
390
391pub mod render_search_template_response;
392pub use self::render_search_template_response::RenderSearchTemplateResponse;
393
394pub mod search_shards_with_index_response;
395pub use self::search_shards_with_index_response::SearchShardsWithIndexResponse;
396
397pub mod dict;
398pub use self::dict::Dict;
399
400pub mod reindex_request_body_json;
401pub use self::reindex_request_body_json::ReindexRequestBodyJson;
402
403pub mod search_template;
404pub use self::search_template::SearchTemplate;
405
406pub mod rank_eval_response;
407pub use self::rank_eval_response::RankEvalResponse;
408
409pub mod mget_response;
410pub use self::mget_response::MgetResponse;
411
412pub mod grouped_by_parents;
413pub use self::grouped_by_parents::GroupedByParents;
414
415pub mod render_search_template;
416pub use self::render_search_template::RenderSearchTemplate;
417
418pub mod mtermvectors_response;
419pub use self::mtermvectors_response::MtermvectorsResponse;
420
421pub mod count_request_body_json;
422pub use self::count_request_body_json::CountRequestBodyJson;
423
424pub mod clear_scroll;
425pub use self::clear_scroll::ClearScroll;
426
427pub mod get_script_context_response;
428pub use self::get_script_context_response::GetScriptContextResponse;
429
430pub mod explain;
431pub use self::explain::Explain;
432
433pub mod mtermvectors_request_body_json;
434pub use self::mtermvectors_request_body_json::MtermvectorsRequestBodyJson;
435
436pub mod rank_eval_request_body_json;
437pub use self::rank_eval_request_body_json::RankEvalRequestBodyJson;
438
439pub mod update_request_body_json;
440pub use self::update_request_body_json::UpdateRequestBodyJson;
441
442pub mod reindex_rethrottle_response;
443pub use self::reindex_rethrottle_response::ReindexRethrottleResponse;
444
445pub mod clear_scroll_response;
446pub use self::clear_scroll_response::ClearScrollResponse;
447
448pub mod track_total_hits;
449pub use self::track_total_hits::TrackTotalHits;
450
451pub mod scroll;
452pub use self::scroll::Scroll;
453
454pub mod update;
455pub use self::update::Update;
456
457pub mod update_by_query_request_body_json;
458pub use self::update_by_query_request_body_json::UpdateByQueryRequestBodyJson;
459
460pub mod field_caps_response;
461pub use self::field_caps_response::FieldCapsResponse;
462
463pub mod get_script_languages_response;
464pub use self::get_script_languages_response::GetScriptLanguagesResponse;
465
466pub mod clear_scroll_not_found_json;
467pub use self::clear_scroll_not_found_json::ClearScrollNotFoundJson;
468
469pub mod update_by_query;
470pub use self::update_by_query::UpdateByQuery;
471
472pub mod termvectors_request_body_json;
473pub use self::termvectors_request_body_json::TermvectorsRequestBodyJson;
474
475pub mod explain_request_body_json;
476pub use self::explain_request_body_json::ExplainRequestBodyJson;
477
478pub mod search_with_index;
479pub use self::search_with_index::SearchWithIndex;
480
481pub mod search_with_index_request_body_json;
482pub use self::search_with_index_request_body_json::SearchWithIndexRequestBodyJson;
483
484pub mod search;
485pub use self::search::Search;
486
487pub mod keyed;
488pub use self::keyed::Keyed;
489
490pub mod search_request_body_json;
491pub use self::search_request_body_json::SearchRequestBodyJson;
492
493pub mod termvectors_response;
494pub use self::termvectors_response::TermvectorsResponse;
495
496pub mod scroll_request_body_json;
497pub use self::scroll_request_body_json::ScrollRequestBodyJson;
498
499pub mod field_caps_request_body_json;
500pub use self::field_caps_request_body_json::FieldCapsRequestBodyJson;
501
502pub mod count;
503pub use self::count::Count;
504
505pub mod render_search_template_request_body_json;
506pub use self::render_search_template_request_body_json::RenderSearchTemplateRequestBodyJson;
507
508pub mod termvectors;
509pub use self::termvectors::Termvectors;
510
511pub mod search_template_with_index;
512pub use self::search_template_with_index::SearchTemplateWithIndex;
513
514pub mod count_response;
515pub use self::count_response::CountResponse;
516
517pub mod reindex;
518pub use self::reindex::Reindex;
519
520pub mod mget;
521pub use self::mget::Mget;
522
523pub mod search_template_request_body_json;
524pub use self::search_template_request_body_json::SearchTemplateRequestBodyJson;
525
526pub mod search_template_with_index_request_body_json;
527pub use self::search_template_with_index_request_body_json::SearchTemplateWithIndexRequestBodyJson;
528
529pub mod scripts_painless_execute;
530pub use self::scripts_painless_execute::ScriptsPainlessExecute;
531
532pub mod search_template_with_index_response;
533pub use self::search_template_with_index_response::SearchTemplateWithIndexResponse;
534
535pub mod get_source_response;
536pub use self::get_source_response::GetSourceResponse;
537
538pub mod delete_by_query;
539pub use self::delete_by_query::DeleteByQuery;
540
541pub mod get_script_response;
542pub use self::get_script_response::GetScriptResponse;
543
544pub mod clear_scroll_request_body_json;
545pub use self::clear_scroll_request_body_json::ClearScrollRequestBodyJson;
546
547pub mod mget_request_body_json;
548pub use self::mget_request_body_json::MgetRequestBodyJson;
549
550pub mod search_shards_response;
551pub use self::search_shards_response::SearchShardsResponse;
552
553pub mod wait_for_nodes;
554pub use self::wait_for_nodes::WaitForNodes;
555
556pub mod field_caps;
557pub use self::field_caps::FieldCaps;
558
559pub mod explain_response;
560pub use self::explain_response::ExplainResponse;
561
562pub mod full_id;
563pub use self::full_id::FullId;
564
565pub mod scripts_painless_execute_request_body_json;
566pub use self::scripts_painless_execute_request_body_json::ScriptsPainlessExecuteRequestBodyJson;
567
568pub mod delete_by_query_request_body_json;
569pub use self::delete_by_query_request_body_json::DeleteByQueryRequestBodyJson;
570
571pub mod search_template_response;
572pub use self::search_template_response::SearchTemplateResponse;
573
574pub mod put_script;
575pub use self::put_script::PutScript;
576
577pub mod mtermvectors;
578pub use self::mtermvectors::Mtermvectors;
579
580pub mod update_by_query_rethrottle_response;
581pub use self::update_by_query_rethrottle_response::UpdateByQueryRethrottleResponse;
582
583pub mod index_request_body_json;
584pub use self::index_request_body_json::IndexRequestBodyJson;
585
586pub mod array_or_json;
587pub use self::array_or_json::ArrayOrJson;
588
589mod common_api;
590pub use self::common_api::*;