Re: publish solr on galsshfish server

2016-03-20 Thread Shawn Heisey
On 3/20/2016 5:46 AM, Adel Mohamed Khalifa wrote: > Thanks Shawn, > > This " > Core.solrResourceBundle.getString("//http://172.16.0.1:8983/SearchCore";)" > return the solr search core (( http://server:port/core)) Generally speaking, Solr lives on the "/solr" URL context, so the most of the time

RE: publish solr on galsshfish server

2016-03-20 Thread Adel Mohamed Khalifa
:09 PM To: solr-user@lucene.apache.org Subject: Re: publish solr on galsshfish server On 3/17/2016 4:20 AM, Adel Mohamed Khalifa wrote: > And on servlet I coded :- > Try{ > SolrServer server = new > HttpSolrServer(Core.solrResourceBundle.getString("//http://172.16.0.1:8983/S > earchCor

Re: publish solr on galsshfish server

2016-03-20 Thread Shawn Heisey
On 3/17/2016 4:20 AM, Adel Mohamed Khalifa wrote: > And on servlet I coded :- > Try{ > SolrServer server = new > HttpSolrServer(Core.solrResourceBundle.getString("//http://172.16.0.1:8983/S > earchCore")); > ModifiableSolrParams params = new ModifiableSolrParams(); > String

Re: publish solr on galsshfish server

2016-03-19 Thread Upayavira
This is not recommended. It may work, and if it does, a future update to Solr may stop it working, without warning. Solr is to be considered its own app, to be run using its own embedded servlet container, as this allows the project to manage its own configuration and to test thoroughly that it w

RE: publish solr on galsshfish server

2016-03-19 Thread Adel Mohamed Khalifa
es.getResults()); out.write(json); } catch (SolrServerException ex) { oout.write(ex.toString()); } } It's break on SolrServer server = new HttpSolrServer(Core.solrResourceBundle.getString("//http://172.16.0.1:8983/S earchCore")); without any exception ju

publish solr on galsshfish server

2016-03-19 Thread Adel Mohamed Khalifa
Hello All, What is the requirement for installing solr on glassfish server, and how can I do it? Regards, Adel Khalifa | Developer | Saudisoft-Egypt | Tel: +2 023 303 2037 - ext 112 | M +2 01149247744 | Fax +2 023 303 2036 | Follow us on