Skip to content

Instantly share code, notes, and snippets.

@jamster
Created October 5, 2010 21:19
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 jamster/612369 to your computer and use it in GitHub Desktop.
Save jamster/612369 to your computer and use it in GitHub Desktop.
[jasonamster]:~$ curl -s -XGET 'http://localhost:9200/_cluster/state?pretty=true'
{
"cluster_name" : "default",
"master_node" : "539080ef-fc83-49e9-be3a-458a90367386",
"blocks" : {
},
"nodes" : {
"539080ef-fc83-49e9-be3a-458a90367386" : {
"name" : "Werewolf by Night",
"transport_address" : "inet[/192.168.2.15:9300]",
"attributes" : {
}
}
},
"metadata" : {
"indices" : {
"date" : {
"settings" : {
"index.number_of_shards" : "1",
"index.number_of_replicas" : "0"
},
"mappings" : {
"person" : {
"_boost" : {
"name" : "_boost"
},
"dynamic" : true,
"_type" : {
"store" : "no"
},
"enabled" : true,
"date_formats" : [ "dateOptionalTime", "yyyy/MM/dd HH:mm:ss||yyyy/MM/dd" ],
"_source" : {
"enabled" : true,
"name" : "_source"
},
"_id" : {
"store" : "no"
},
"_index" : {
"enabled" : false,
"store" : "no"
},
"path" : "full",
"properties" : {
"SID" : {
"omit_term_freq_and_positions" : false,
"index_name" : "SID",
"index" : "analyzed",
"omit_norms" : false,
"store" : "no",
"boost" : 1.0,
"term_vector" : "no",
"type" : "string"
},
"lastName" : {
"omit_term_freq_and_positions" : false,
"index_name" : "lastName",
"index" : "analyzed",
"omit_norms" : false,
"store" : "no",
"boost" : 1.0,
"term_vector" : "no",
"type" : "string"
},
"firstName" : {
"omit_term_freq_and_positions" : false,
"index_name" : "firstName",
"index" : "analyzed",
"omit_norms" : false,
"store" : "no",
"boost" : 1.0,
"term_vector" : "no",
"type" : "string"
},
"loggins" : {
"dynamic" : true,
"enabled" : true,
"date_formats" : [ "dateOptionalTime", "yyyy/MM/dd HH:mm:ss||yyyy/MM/dd" ],
"path" : "full",
"properties" : {
"loggedInOn" : {
"omit_term_freq_and_positions" : true,
"index_name" : "loggedInOn",
"index" : "not_analyzed",
"omit_norms" : true,
"store" : "no",
"boost" : 1.0,
"format" : "dateOptionalTime",
"precision_step" : 4,
"term_vector" : "no",
"type" : "date"
}
},
"type" : "object"
}
},
"_all" : {
"enabled" : true,
"store" : "no",
"term_vector" : "no"
},
"type" : "object"
}
},
"aliases" : [ ]
}
}
},
"routing_table" : {
"indices" : {
"date" : {
"shards" : {
"0" : [ {
"state" : "STARTED",
"primary" : true,
"node" : "539080ef-fc83-49e9-be3a-458a90367386",
"relocating_node" : null,
"shard" : 0,
"index" : "date"
} ]
}
}
}
},
"routing_nodes" : {
"unassigned" : [ ],
"nodes" : {
"539080ef-fc83-49e9-be3a-458a90367386" : [ {
"state" : "STARTED",
"primary" : true,
"node" : "539080ef-fc83-49e9-be3a-458a90367386",
"relocating_node" : null,
"shard" : 0,
"index" : "date"
} ]
}
},
"allocations" : [ ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment