mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-06 04:58:50 +00:00
Hi, I belive indexRouting should be changed to routing.index and searchRouting to routing.search. This is what my ES 2.0.0-rc1 instance returns when I hit cat alias api: Let me know if I should change other versions of documentation for this issue as well(Looks to me like it always was incorrect in docs).
23 lines
741 B
Plaintext
23 lines
741 B
Plaintext
[[cat-alias]]
|
|
== cat aliases
|
|
|
|
`aliases` shows information about currently configured aliases to indices
|
|
including filter and routing infos.
|
|
|
|
[source,sh]
|
|
--------------------------------------------------
|
|
% curl '192.168.56.10:9200/_cat/aliases?v'
|
|
alias index filter routing.index routing.search
|
|
alias2 test1 * - -
|
|
alias4 test1 - 2 1,2
|
|
alias1 test1 - - -
|
|
alias3 test1 - 1 1
|
|
--------------------------------------------------
|
|
|
|
The output shows that `alias` has configured a filter, and specific routing
|
|
configurations in `alias3` and `alias4`.
|
|
|
|
If you only want to get information about a single alias, you can specify
|
|
the alias in the URL, for example `/_cat/aliases/alias1`.
|
|
|