Skip to content

Commit 0dcba91

Browse files
committed
Expose dangling indices APIs (#127)
(cherry picked from commit 58e17a1)
1 parent 99aa8a0 commit 0dcba91

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
/*
2+
* Licensed to Elasticsearch B.V. under one or more contributor
3+
* license agreements. See the NOTICE file distributed with
4+
* this work for additional information regarding copyright
5+
* ownership. Elasticsearch B.V. licenses this file to you under
6+
* the Apache License, Version 2.0 (the "License"); you may
7+
* not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
//! Dangling Index APIs
20+
//!
21+
//! If Elasticsearch encounters index data that is absent from the current cluster state,
22+
//! those indices are considered to be _dangling_. For example, this can happen if you delete
23+
//! more than `cluster.indices.tombstones.size` number of indices while an Elasticsearch node
24+
//! is offline.
25+
//!
26+
//! The dangling indices APIs can list, import and delete dangling indices.
27+
28+
pub use super::generated::namespace_clients::dangling_indices::*;

elasticsearch/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,7 @@ pub mod cat;
358358
pub mod ccr;
359359
pub mod cert;
360360
pub mod cluster;
361+
pub mod dangling_indices;
361362
pub mod enrich;
362363
pub mod graph;
363364
pub mod http;

0 commit comments

Comments
 (0)