i have 8 solr shards running along with 3 zookeepers, some times if any of the servers fails it give me the following stacktrace, i can handle that with shards.tolerant=true in query.
My question is how to make this fault tolerant by default in solr cloud so whenever i fire query it will return few guaranteed result and not exception ?
ERROR - 2014-09-02 12:01:45.610; org.apache.solr.common.SolrException; org.apache.solr.common.SolrException: no servers hosting shard:
at org.apache.solr.handler.component.HttpShardHandler$1.call(HttpShardHandler.java:149)
at org.apache.solr.handler.component.HttpShardHandler$1.call(HttpShardHandler.java:119)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)