这个参数个人认为有作用,也没作用。其实就是为了客户体验。不把错误信息显示给用户。
详细作用如下:
SolrCloud可以继续无间断服务,只要至少一台服务器主机的每一个碎片。如果你已经杀了一个特定的碎片shard,所有服务器到其他服务器的请求将导致503错误。加上此参数后,会只返回碎片仍然活着(避免错误)的文件
英文资料:
SolrCloud can continue to serve results without interruption as long as at least one server hosts every shard. You can demonstrate this by judiciously shutting down various instances and looking for results. If you have killed all of the servers for a particular shard, requests to other servers will result in a 503 error. To return just the documents that are available in the shards that are still alive (and avoid the error), add the following query parameter: shards.tolerant=true
|