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
: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
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
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
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