Re: Replicas: sending query to leader and replica simultaneously

2018-03-04 Thread SOLR4189
Today I found something interesting that exists in ElasticSearch. It's called Adaptive Replica Selection https://www.elastic.co/guide/en/elasticsearch/reference/6.1/search.html Did you hear about it? Maybe exists something in SOLR? I think it's very useful for my case. -- Sent from:

Re: Replicas: sending query to leader and replica simultaneously

2018-02-14 Thread SOLR4189
Thank you, Emir for your answer *But it will not send request to multiple replicas - that would be a waste of resources.* What if server is overloaded, but it is responsive? Then it will not be a waste of resources, because second replica will response faster then overloaded replica. *and flag

Re: Replicas: sending query to leader and replica simultaneously

2018-02-14 Thread Emir Arnautović
Hi, Solr will loadbalance replicas and if one is unresponsive, send it to another and flag unresponsive one. But it will not send request to multiple replicas - that would be a waste of resources. If you want something like that, you would probably have to set up two separate clusters and send

Replicas: sending query to leader and replica simultaneously

2018-02-13 Thread SOLR4189
Hi all, I use SOLR-6.5.1 and I want to start to use replicas in SolrCloud mode. I read ref guide and Solr in Action, and I want to make sure only one thing about REPLICAS: SOLR can't send query both to leader and to slave simultaneously and returns the fastest response of them? (in the case