Cheers, saved the day Lee C
On 28 September 2012 23:27, Chris Hostetter <hossman_luc...@fucit.org>wrote: > > : The issue we face is the f5 balancer is returning a cookie which the > client > : is hanging onto. resulting in the same slave being hit for all requests. > ... > : My question is can I configure the solr server to ignore client state ? > We > : are on solr 3.4 > > I'm not an expert on HTTP session affinity as implemented by various load > blanacers, but i can say with a high degree of confidence: > > 1) SolrJ doesn't care about cookies > > 2) if any part of the codepath you are using cares about cookies sent back > from your load-balancer, it would be the HttpClient objects used by > CommonsHttpSolrServer. > > 3) you have total control over the HttpClient objects used by > CommonsHttpSolrServer via an optional constructor arg. > > 4) > https://hc.apache.org/httpcomponents-client-ga/tutorial/html/statemgmt.html#d5e799 > > -Hoss >