Created
May 22, 2012 15:46
-
-
Save dav-rob/2769874 to your computer and use it in GitHub Desktop.
Elastic Search Curl Commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Token Analysis | |
| =============== | |
| curl -XGET '*****110.160:9302/contactalias/_analyze?field=mainEmail' -d 'acker' | |
| curl -XGET '*****110.160:9302/contactindex_2011_10_18_08_59_34/_analyze?text=this+is+a+test' | |
| Get Mapping | |
| =============== | |
| Returns which types are mapped into the index, whether the fields are analysed, stored, boosted etc. | |
| e.g. | |
| curl -XGET 'http://*****110.160:9200/contactalias/fatcontact/_mapping' | |
| e.g. ALL Types, All Indices | |
| curl -XGET 'http://*****110.160:9202/_all/_mapping' | |
| Index Status | |
| ================ | |
| curl -XGET 'http://*****110.160:9202/contactindex_2011_06_10_12_04_17/_status' | |
| Cluster Health | |
| =============== | |
| curl -XGET 'http://*****110.161:9200/_cluster/health' | |
| [http://clientmanagementtools-dev1.csintra.net:2042/CMLM/clusterHealth.json] | |
| Nodes Stats | |
| =========== | |
| curl -XGET 'http://*****110.160:9200/_cluster/nodes/stats' | |
| Cluster State | |
| ============= | |
| curl -XGET 'http://*****110.160:9202/_cluster/state' | |
| Node State | |
| ========== | |
| curl -XGET 'http://*****110.160:9202/_cluster/nodes/zfNwzAv2TgOkHtCSjrZiYQ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment