Skip to content

Commit

Permalink
[DOCS] Edit searchable snapshot summaries (#3312) (#3329)
Browse files Browse the repository at this point in the history
(cherry picked from commit b1b8b2f)

Co-authored-by: Lisa Cawley <[email protected]>
  • Loading branch information
github-actions[bot] and lcawl authored Dec 17, 2024
1 parent 67254e8 commit 7508300
Show file tree
Hide file tree
Showing 6 changed files with 69 additions and 19 deletions.
19 changes: 12 additions & 7 deletions output/openapi/elasticsearch-openapi.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

53 changes: 41 additions & 12 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions specification/searchable_snapshots/cache_stats/Request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,11 @@ import { NodeIds } from '@_types/common'
import { Duration } from '@_types/Time'

/**
* Get cache statistics.
* Get statistics about the shared cache for partially mounted indices.
* @rest_spec_name searchable_snapshots.cache_stats
* @availability stack since=7.13.0 stability=experimental
* @cluster_privileges manage
*/
export interface Request extends RequestBase {
path_parts: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@ import { RequestBase } from '@_types/Base'
import { ExpandWildcards, Indices } from '@_types/common'

/**
* Clear the cache.
* Clear indices and data streams from the shared cache for partially mounted indices.
* @rest_spec_name searchable_snapshots.clear_cache
* @availability stack since=7.10.0 stability=experimental
* @cluster_privileges manage
* @index_privileges manage
*/
export interface Request extends RequestBase {
path_parts: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,14 @@ import { IndexName, Name } from '@_types/common'
import { Duration } from '@_types/Time'

/**
* Mount a snapshot.
* Mount a snapshot as a searchable snapshot index.
* Do not use this API for snapshots managed by index lifecycle management (ILM).
* Manually mounting ILM-managed snapshots can interfere with ILM processes.
* @rest_spec_name searchable_snapshots.mount
* @availability stack since=7.10.0 stability=stable
* @cluster_privileges manage
* @index_privileges manage
*/
export interface Request extends RequestBase {
path_parts: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,11 @@ import { Indices } from '@_types/common'
import { StatsLevel } from '../_types/stats'

/**
* Get searchable snapshot statistics.
* @rest_spec_name searchable_snapshots.stats
* @availability stack since=7.10.0 stability=stable
* @cluster_privileges manage
* @index_privileges manage
*/
export interface Request extends RequestBase {
path_parts: {
Expand Down

0 comments on commit 7508300

Please sign in to comment.