Hello, I am looking to pass user / pwd when querying using CloudSolrClient. The documentation https://cwiki.apache.org/confluence/display/solr/Basic+Authentication+Plugin describes about setting the credential when calling the request method like below
SolrRequest req ;//create a new request object req.setBasicAuthCredentials(userName, password); solrClient.request(req); BUT how do we set the credentials when calling //HOW to set credentials before calling query method ??????? ??????? solrClient.query(collection, query); method? Looking the CloudSolrClient source code, i see query method creates a new QueryRequest object and thus doesn't provide a easy way to set credentials. Is there any way to easily hook/set credentials when calling query method using SolrJ? Thanks, Susheel ==