Hello
can anyone has any advice
This is the code i am using
server =new CommonsHttpSolrServer("http://www.mysolrserver.com/solr");
Credentials def = new UsernamePasswordCredentials("xxx","xxx");
server.getHttpClient().getState().setCredentials(AuthScope.ANY,def);
server.getHttpClient().getParams().setAuthenticationPreemptive(true);
for (Obj obj:objects){
server.addBean(obj);
}
Thanks
--
View this message in context:
http://lucene.472066.n3.nabble.com/Getting-411-Length-required-when-adding-docs-tp3508372p3511501.html
Sent from the Solr - User mailing list archive at Nabble.com.