Skip to content

Commit 15d00f0

Browse files
committed
Add example for reload search analyzers API
1 parent b7a6bde commit 15d00f0

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

specification/indices/reload_search_analyzers/ReloadSearchAnalyzersRequest.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ import { ExpandWildcards, Indices } from '@_types/common'
3737
* This ensures the synonym file is updated everywhere in the cluster in case shards are relocated in the future.
3838
* @rest_spec_name indices.reload_search_analyzers
3939
* @availability stack since=7.3.0 stability=stable
40+
* @index_privileges manage
41+
* @doc_id indices-reload-analyzers
4042
* @ext_doc_id search-analyzer
4143
*/
4244
export interface Request extends RequestBase {
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# summary:
2+
# method_request: POST /my-index-000001/_reload_search_analyzers
3+
# description: ''
4+
# type: request
5+
value:
6+
_shards:
7+
total: 2
8+
successful: 2
9+
failed: 0
10+
reload_details:
11+
- index: my-index-000001
12+
reloaded_analyzers:
13+
- my_synonyms
14+
reloaded_node_ids:
15+
- mfdqTXn_T7SGr2Ho2KT8uw

0 commit comments

Comments
 (0)