Error in Index Aliases documentation?

In the docs it has this example (

POST /_aliases
    "actions" : [
            "add" : {
                 "index" : "test",
                 "alias" : "alias1",
                 "is_write_index" : true

and then says about the example

In this example, we associate the alias alias1 to both test and test2 , where test will be the index chosen for writing to.

Where does the test2 index come from?

This is an error IMO. This text should be placed later in this section where test2 is also defined.
Would you like to open an issue or better a PR?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.