Skip to content

Instantly share code, notes, and snippets.

@jrots
Created January 13, 2016 11:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jrots/79a4b883c9c4105e9ae4 to your computer and use it in GitHub Desktop.
Save jrots/79a4b883c9c4105e9ae4 to your computer and use it in GitHub Desktop.
segments of index
http://elastic17:9200/users/_segments?pretty
{
"_shards" : {
"total" : 4,
"successful" : 4,
"failed" : 0
},
"indices" : {
"users" : {
"shards" : {
"0" : [ {
"routing" : {
"state" : "STARTED",
"primary" : true,
"node" : "mxGTEg-iTnSGMvIJS5T4cQ"
},
"num_committed_segments" : 25,
"num_search_segments" : 23,
...
"1" : [ {
"routing" : {
"state" : "STARTED",
"primary" : true,
"node" : "mxGTEg-iTnSGMvIJS5T4cQ"
},
...
"3" : [ {
"routing" : {
"state" : "STARTED",
"primary" : true,
"node" : "mxGTEg-iTnSGMvIJS5T4cQ"
},
"num_committed_segments" : 23,
"num_search_segments" : 23,
...
"2" : [ {
"routing" : {
"state" : "STARTED",
"primary" : true,
"node" : "mxGTEg-iTnSGMvIJS5T4cQ"
},
"num_committed_segments" : 22,
"num_search_segments" : 22,
...
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment