Question

It is possible to connect solr instance with basic authentication ?

I have tried with :

Startup.Init<Page>("http://user:mdp@localhost:8080/solr");

But it doesn't work.

have you got a solution ?

Thanks.

Was it helpful?

Solution

Implement a IHttpWebRequestFactory that returns an authenticated web request. See http://code.google.com/p/solrnet/issues/detail?id=66

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top