To give an exanmple:

While you earlier would do some thing like

Download and install Tomcat (or some other servlet container)
Setup Tomcat as a service
Download and unpack Solr
Create a SOLR_HOME folder with correct content
copy solr.war into tomcat/webapps
set CATALINA_OPTS=“-Dsolr.solr.home=/path/to/home -Dsolr.x.y=z…. GC-flags etc”
Setup  Tomcat as a service
service tomcat start

You would with 6.x do:

Download Solr and unpack the install-script
solr/bin/install_solr_service solr-6.2.0.tgz  # Install
Tune /etc/default/solr.in.sh to your likings (mem, port, solr-home, Zk etc)
service solr start (or bin/solr start [options])

Your client would talk to Solr on typically http://host.name:8983/solr/ as a 
standalone server, not as one out of many webapps on 8080.

--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com

> 7. okt. 2016 kl. 02.32 skrev Alexandre Rafalovitch <arafa...@gmail.com>:
> 
> Treat Solr as a blackbox standalone database. Your MySQL is running
> standalone, right?
> 
> And try to go to Solr 6, if you can. 5 is not latest anymore and there had
> been lots of scaling improvements in 6.
> 
> Regards,
>    Alex
> 
> On 7 Oct 2016 5:02 AM, "Renee Sun" <renee_...@mcafee.com> wrote:
> 
>> need some general advises please...
>> 
>> our infra is built with multiple webapps with tomcat ... the scale layer is
>> archived on top of those webapps which work hand-in-hand with solr admin
>> APIs / shard queries / commit or optimize / core management etc etc.
>> 
>> While I have not get a chance to actually play with solr 5 yet, just by
>> imagination, we will be facing some huge changes in our infra to be able to
>> upgrade to solr 5, yes?
>> 
>> Thanks
>> Renee
>> 
>> 
>> 
>> --
>> View this message in context: http://lucene.472066.n3.
>> nabble.com/solr-5-leaving-tomcat-will-I-be-the-only-one-
>> fearing-about-this-tp4300065.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>> 

Reply via email to