Skip to content

Instantly share code, notes, and snippets.

@creg
creg / gist:7775457
Created December 3, 2013 19:03
Repro UnavailableShardsException when number of replicas greater than number of nodes
# clean up test index
curl -XDELETE "http://localhost:9200/toomanyreplicas"
# create index
curl -XPOST "http://localhost:9200/toomanyreplicas" -d '
{
"index" : {
"analysis" : {
"analyzer" : {
"language_analyzer" : {