On Tue, Nov 29, 2016 at 10:22 PM, Kevin Risden wrote:
> If using CloudSolrClient or another zookeeper aware client, then a request
> gets sent to Zookeeper to determine the live nodes. If indexing,
> CloudSolrClient can find the leader and send documents directly there.
I think they believe this because of what you say above -- they are
misinterpreting the call for topology as a handoff where zookeeper "does
the rest"...
This info will allow me to straighten out that misunderstanding... Thanks
all!
On Tue, Nov 29, 2016 at 10:49 AM, Walter Underwood
This is easy to prove. Shut down Zookeeper, then send search requests to
different hosts in the Solr Cloud cluster. If they work, then the requests are
not going through Zookeeper.
wunder
Walter Underwood
wun...@wunderwood.org
http://observer.wunderwood.org/ (my blog)
> On Nov 29, 2016, at
bq: My new place tells me they're sending requests to Zookeeper - and those are
getting sent on to Solr by Zookeeper - -- this is news to me if it's true...
Have you seen the code? Because if they're using SolrJ, then they do, indeed
connect to Zookeeper (i.e. CloudSolrClient takes a ZK ensemble)
If using CloudSolrClient or another zookeeper aware client, then a request
gets sent to Zookeeper to determine the live nodes. If indexing,
CloudSolrClient can find the leader and send documents directly there. The
client then uses that information to query the correct nodes directly.
Zookeeper
All,
I've thought I understood that Solr search requests are made to the Solr
servers and NOT Zookeeper directly. (I.E. Zookeeper doesn't decide which
Solr server responds to requests and requests are made directly to Solr)
My new place tells me they're sending requests to Zookeeper - and those