dsmiley opened a new pull request, #4418:
URL: https://github.com/apache/solr/pull/4418

   This SolrClient delegates to a backing client with a specified collection.  
Simple attempts to refer to another collection will fail.  DISCLAIMER: this 
isn't a security mechanism.
   
   There are tests and places in client code I've seen that would benefit from 
this.  For one thing, it enables taking an existing SolrClient that doesn't 
have a defaultCollection (e.g. JettySolrRunner.getSolrClient()) and simply wrap 
it.  Voila.  I'm working on Jetty -> Apache transition and in the process I'm 
moving needless client creations to use existing clients, and I want to use 
this.  I don't want this to "sneak in" within a test-focused PR.
   
   I'll probably add a changelog but wasn't going to add a JIRA.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to