Hey guys,
I have a quick question about using solrj to connect to multiple slaves. My application is deployed on multiple boxes that have to talk to multiple solr slaves. In order to take advantage of the queryResult cache, each request from one of my app boxes should be redirected to the same solr slave. I'm using an apache to load balance between the slaves using sticky sessions with jk2 (jsessionId cookie). Is this the right way to go about loadbalancing multiple solr slaves when using solrj? If so, should I look into making a patch for solrj so that each query can optionally take a cookie parameter so the underling HttpClient knows what jsessionId to attach to the request? On the other hand.. I could be going about this all wrong. Thanks, Dave