Try adding the core/collection name in the url as in
HttpSolrServer server = new HttpSolrServer("
http://localhost:8080/solr/collection1");
2016-03-13 6:12 GMT-04:00 Adel Mohamed Khalifa <[email protected]>:
> Hello,
>
>
>
> I am facing a problem when I try to connect to the Solr Server
> (HttpSolrServer server = new HttpSolrServer("http://localhost:8983/solr
> ");)
>
> Note that my platform is Ubuntu and I install solr server on it and it
> work correctly when I try to log on through browser but when I try in
> netbeans I face the problem.
>
>
>
> I hope you help me, Thanks
>
>
>
>
> *Regards,**Adel Khalifa | *Developer *| **Saudisoft-Egypt | ** Tel: *+2
> 023 303 2037 - *ext *112 | *M *+2 01149247744 | *Fax *+2 023 303 2036 |
> *Follow
> us on **[image: Description: cid:[email protected]]*
> <https://www.facebook.com/pages/Saudisoft-Co-Ltd/289968997768973?ref_type=bookmark>*
> |
> **[image: Description: cid:[email protected]]*
> <https://twitter.com/Saudisoft>* | **[image: Description:
> cid:[email protected]]*
> <https://www.linkedin.com/company/77017?trk=vsrp_companies_res_name&trkInfo=VSRPsearchId%3A1489659901402995947155%2CVSRPtargetId%3A77017%2CVSRPcmpt%3Aprimary>
> *[image: Description: cid:[email protected]]*
>
>
>
>
>
--
Iker Huerga
http://www.ikerhuerga.com/