I edited and add the core but still nothing .. although the code in try and 
Catch but I did not get any exception just stop.

Other side when I run the code in windows platform I get the result correctly.

 

Regards,
Adel Khalifa | Developer | Saudisoft-Egypt |  Tel: +2 023 303 2037 - ext 112 | 
M +2 01149247744 | Fax +2 023 303 2036 | Follow us on  
<https://www.facebook.com/pages/Saudisoft-Co-Ltd/289968997768973?ref_type=bookmark>
 Description: cid:[email protected] |  
<https://twitter.com/Saudisoft> Description: cid:[email protected] 
|  
<https://www.linkedin.com/company/77017?trk=vsrp_companies_res_name&trkInfo=VSRPsearchId%3A1489659901402995947155%2CVSRPtargetId%3A77017%2CVSRPcmpt%3Aprimary>
 Description: cid:[email protected]
Description: cid:[email protected]

 

 

From: Iker Huerga [mailto:[email protected]] 
Sent: Sunday, March 13, 2016 1:33 PM
To: [email protected]
Subject: Re: SolrJ ubuntu Problem

 

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 <tel:%2B2%2001149247744>  | Fax +2 023 303 2036 | Follow us on 
 
<https://www.facebook.com/pages/Saudisoft-Co-Ltd/289968997768973?ref_type=bookmark>
 Description: cid:[email protected] |  
<https://twitter.com/Saudisoft> Description: cid:[email protected] 
|  
<https://www.linkedin.com/company/77017?trk=vsrp_companies_res_name&trkInfo=VSRPsearchId%3A1489659901402995947155%2CVSRPtargetId%3A77017%2CVSRPcmpt%3Aprimary>
 Description: cid:[email protected]
Description: cid:[email protected]

 

 





 

-- 

Iker Huerga

http://www.ikerhuerga.com/ 

Reply via email to