I have solr 1.4.1 set up with following additions:
1. Basic authentication
2. SSL using self signed certificate
How do I use solrj to connect to this server? I think the solution might reside
in using HttpClient - but I cant figure out how. Any help will be appreciated.
Thanks!
- sky
I have solr 1.4.1 set up with following additions:
1. Basic authentication
2. SSL using self signed certificate
How do I use solrj to connect to this server?
Thanks!
- sky
).getHttpClient().getState().setCredentials(new
AuthScope(solrUrl.getHost(), 443, AuthScope.ANY_REALM),
defaultcreds);
}
From: sky...@hotmail.com
To: solr-user@lucene.apache.org
Subject: How to use solrJ: Self-signed cert SSL + basic auth.
Date: Fri, 2 Sep 2011 00:19:13 -0700
I