lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrea Gazzarini <>
Subject Re: Making my own search website
Date Sun, 27 Mar 2016 12:22:12 GMT
Hi Adel,
Absolutely not sure what's happening on (Solr) server side, the first thing
that comes on my mind is: if you're correctly accessing the solr admin
console that means the string you're getting in that resource bundle is
wrong. I'd print out that value in order to make sure about the correctness
of that address or I would hard code the correct string itself.


P.S.: don't create a SolrServer instance for each http request. Better to
define a member instance, initialize it in the init() method and close in
the destroy()...that adheres much better to the servlet threading model.

Hello All,

First, I want to apology for my complexity needs before and that I cannot
asking obviously.

So Now, I create my Solr server and indexing I can log on it directly throw
( http://ip:port/solr/#) from ubuntu server or my windows laptop.

I build my website on netbeans using J2EE on my windows laptop and add a
servlet to access the solr server for searching and when I run it it works

But the problem occurred when I try to run on it on the Ubuntu server it
stopped at : -- SolrServer server = new HttpSolrServer(ip:port/solr/core);

And it does not give me any exception.

I attached the ajax code that I use to call the servlet and also attached
the servlet code.

*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:image001.gif@01D11A1D.D81CE0C0]*
**[image: Description: cid:image002.gif@01D11A1D.D81CE0C0]*
<>* | **[image: Description:
*[image: Description: cid:image004.jpg@01D11A1D.D81CE0C0]*

  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message