-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Show Commands
eliranmoyal edited this page Oct 17, 2015
·
2 revisions
##Show Commands
Show commands is just a wrapper for the mapping request.
But using it on the web interface give you information about what are the indices in your cluster, which types they contains and what is the mapping for each type.
1.Show *
- shows all indices on cluster
- on
_sql?sql=show *
you'll get all the mapping for all indices - on web interface you'll get a table of index to types
-
Show myIndex
- shows a specific index
- on
_sql?sql=show myIndex
you'll get the mapping for this specific index - on web interface you'll get a table of type to fields for this specific index
-
Show myIndex/myType
- shows a specific type
- on
_sql?sql=show myIndex/myType
you'll get the mapping for this specific type - on web interface you'll get a table of fields to mappings for this specific type