Configure SolrClient for basic authentication.
Configure SolrClient for basic authentication.
implicit val server = SolrServerFactory.basicAuth("username", "password") val client = new SolrClient("http://localhost:8983/solr")
Provides the dummy SolrServer for unit testing.
Provides the dummy SolrServer for unit testing.
implicit val server = SolrServerFactory.dummy { request => println(request.getMethod) println(request.getPath) println(request.getParams) } val client = new SolrClient("http://localhost:8983/solr")