我正在尝试查询在机器上设置的solr服务器。但是我收到以下错误
*Error in curl::curl_fetch_memory(url, handle = handle) :
Couldn't resolve host name*
以下是我的代码:
solrUrl<-'http://localhost:8983/solr/#/collection1/'
solr_search(q='*:*', rows=2, fl='id', base=solrUrl)
I have also tried follwng values of URLs
http://localhost:8983
http://localhost:8983/solr/
http://localhost:8983/solr/collection1/select/
PS:我可以使用
访问solr服务器http://localhost:8983/solr/collection1/select/?q=video
不知道我在哪里做错。任何指针都很有用