Re: How to set credentials when querying using SolrJ - Basic Authentication

2016-08-01 Thread Susheel Kumar
Thank you so much, Shawn. Didn't realize that i could call process directly. I think it will be helpful to add this code to solr documentation. I'll create a jira to update the documentation. Thanks, Susheel On Mon, Aug 1, 2016 at 7:14 PM, Shawn Heisey wrote: > On 8/1/2016 1:59 PM, Susheel Kum

Re: How to set credentials when querying using SolrJ - Basic Authentication

2016-08-01 Thread Shawn Heisey
On 8/1/2016 1:59 PM, Susheel Kumar wrote: > BUT how do we set the credentials when calling > > //HOW to set credentials before calling query method > ??? > ??? > solrClient.query(collection, query);method? Here's an example of setting credentials on an arbitrary request object that is

How to set credentials when querying using SolrJ - Basic Authentication

2016-08-01 Thread Susheel Kumar
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 obj