Skip to content

Commit 5a4d745

Browse files
githubfromguitalevy
authored andcommitted
missing 'test2' index example (#39055)
If I got the idea of aliases properly, I think that the index "test2" should have a reference in the example above of the following sentence: " ... we associate the alias `alias1` to both `test` and `test2` ... "
1 parent 9159b3f commit 5a4d745

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/reference/indices/aliases.asciidoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,12 @@ POST /_aliases
271271
"alias" : "alias1",
272272
"is_write_index" : true
273273
}
274+
},
275+
{
276+
"add" : {
277+
"index" : "test2",
278+
"alias" : "alias1"
279+
}
274280
}
275281
]
276282
}

0 commit comments

Comments
 (0)