Re: Oops! SearchPhaseExecutionException[Failed to execute phase [query], all shards failed]

2015-03-13 Thread Taylor Wood
The following as suggested was able to fix all my previous indexes to make 0 replication and essentially removing the 5 unassigned shards we had per Indice. curl -XPUT 'localhost:9200/*/_settings' -d ' { index : { number_of_replicas : 0 } } ' Thank you. -- You received this message

Re: Oops! SearchPhaseExecutionException[Failed to execute phase [query], all shards failed]

2015-03-12 Thread Taylor Wood
I didn't get any help on this but as an FYI for those that may have this issue and are just starting: Digging deeper it appears our system was created with 5 shards and 1 replica. Granted we are only using 1 node so every day elasticsearch would create an indice of 10 shards, 5 for the

Re: Oops! SearchPhaseExecutionException[Failed to execute phase [query], all shards failed]

2015-03-12 Thread aaron
You should be able to set the number of replicas for all previous indexes to 0. You cannot reduce the shard count once an index is created, or increase for that matter. You could reindex your shards. http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-update-settings.html