pub struct SearchableSnapshots<'a> { /* private fields */ }
Expand description
Namespace client for SearchableSnapshots APIs
Implementations
sourceimpl<'a> SearchableSnapshots<'a>
impl<'a> SearchableSnapshots<'a>
sourcepub fn new(transport: &'a Transport) -> Self
pub fn new(transport: &'a Transport) -> Self
Creates a new instance of SearchableSnapshots
pub fn transport(&self) -> &Transport
sourcepub fn cache_stats<'b>(
&'a self,
parts: SearchableSnapshotsCacheStatsParts<'b>
) -> SearchableSnapshotsCacheStats<'a, 'b>
pub fn cache_stats<'b>(
&'a self,
parts: SearchableSnapshotsCacheStatsParts<'b>
) -> SearchableSnapshotsCacheStats<'a, 'b>
Searchable Snapshots Cache Stats API
Retrieve node-level cache statistics about searchable snapshots.
Optional, experimental
This requires the experimental-apis
feature. Can have breaking changes in future
versions or might even be removed entirely.
sourcepub fn clear_cache<'b>(
&'a self,
parts: SearchableSnapshotsClearCacheParts<'b>
) -> SearchableSnapshotsClearCache<'a, 'b, ()>
pub fn clear_cache<'b>(
&'a self,
parts: SearchableSnapshotsClearCacheParts<'b>
) -> SearchableSnapshotsClearCache<'a, 'b, ()>
Searchable Snapshots Clear Cache API
Clear the cache of searchable snapshots.
Optional, experimental
This requires the experimental-apis
feature. Can have breaking changes in future
versions or might even be removed entirely.
sourcepub fn mount<'b>(
&'a self,
parts: SearchableSnapshotsMountParts<'b>
) -> SearchableSnapshotsMount<'a, 'b, ()>
pub fn mount<'b>(
&'a self,
parts: SearchableSnapshotsMountParts<'b>
) -> SearchableSnapshotsMount<'a, 'b, ()>
Searchable Snapshots Mount API
Mount a snapshot as a searchable index.
sourcepub fn stats<'b>(
&'a self,
parts: SearchableSnapshotsStatsParts<'b>
) -> SearchableSnapshotsStats<'a, 'b>
pub fn stats<'b>(
&'a self,
parts: SearchableSnapshotsStatsParts<'b>
) -> SearchableSnapshotsStats<'a, 'b>
Searchable Snapshots Stats API
Retrieve shard-level statistics about searchable snapshots.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for SearchableSnapshots<'a>
impl<'a> Send for SearchableSnapshots<'a>
impl<'a> Sync for SearchableSnapshots<'a>
impl<'a> Unpin for SearchableSnapshots<'a>
impl<'a> !UnwindSafe for SearchableSnapshots<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more