I recommend the “Taking Solr to Production” chapter in the official Solr 
reference guide. That was my first hit for “solr production” in Google.

https://lucene.apache.org/solr/guide/6_6/taking-solr-to-production.html 
<https://lucene.apache.org/solr/guide/6_6/taking-solr-to-production.html>

I recommend using a recent version of Java 8 and the G1 garbage collector. We 
use that with parameters suggested on this list. This is from our solr.in.sh.

SOLR_HEAP=8g
# Use G1 GC  -- wunder 2017-01-23
# Settings from https://wiki.apache.org/solr/ShawnHeisey
GC_TUNE=" \
-XX:+UseG1GC \
-XX:+ParallelRefProcEnabled \
-XX:G1HeapRegionSize=8m \
-XX:MaxGCPauseMillis=200 \
-XX:+UseLargePages \
-XX:+AggressiveOpts \
"

wunder
Walter Underwood
wun...@wunderwood.org
http://observer.wunderwood.org/  (my blog)


> On Oct 18, 2017, at 10:32 PM, maximka19 <moldabeko...@gmail.com> wrote:
> 
> Hi everyone!
> 
> I started learning full-text search engines and chosen Solr. I'm introduced
> with Solr, but now I'v having troubles to move Solr to production. 
> 
> 
> 
> *1.* Container: from Solr 5 there is now .WAR-file provided in package. I
> couldn't deploy Solr 7.1 to Tomcat 9. None of existing tutorials or guides
> helped. No such information for newer versions.
> 
> So, does this mean that officially Solr isn't support other containers like
> Tomcat? Can we use Jetty as a main container in production issues? And it's
> officially recommended by developers/maintainers? If so, how can I host Solr
> as a service in Windows Server? There are not any scripts in package for
> Windows, only for .nix machines. How to do that? What a best practices? NO
> information, tutorials, guides are provided in such question, especially for
> Windows users.
> 
> *2.* Other things that should be known in deploying Solr to production:
> which? Anything else that Solr users should know?
> 
> 
> Sirs, guys, I've searched to whole Web, bought and read 4 books about Solr,
> but none of them helped me. Everything is based in older version <5 and much
> more for .nix-OS users than Windows users. No relevant information. Even the
> official documentation contains a small information and doesn't answer such
> questions.
> 
> Please, help me, give some advices, tutorials, opinions and show the right
> way.
> 
> Thank You
> 
> 
> 
> --
> Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Reply via email to