You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by maximka19 <mo...@gmail.com> on 2017/10/19 06:01:30 UTC
Deploy Solr to Production: guides, best practices
Hi everyone!
I was looking for full-text search engine and chosen Solr. Quickly
introduced with Solr. Now I'm having troubles with taking Solr to Production
under Windows Server.
As You know, from Solr 5 there is no .WAR-file in package; I couldn't deploy
Solr 7.1 to Tomcat 9. Didn't found any information, tutorials, guides
relevantly to new versions of both Solr and Tomcat.
So, the first question that comes: do I need to use default Jetty container
in production? Or Tomcat is more preferable in production ways? If so, why?
For what reasons? In older (and the only) books about Solr I've read the
Tomcat is more efficient in production that default Jetty. Book were
considering Solr 3 and Tomcat 6. Nowadays versions are much higher. If we
can use Jetty in production, how to deploy Solr with Jetty as a service in
Windows Server? There are no scripts provided for Windows users, only for
.NIX-users.
Troubling with this question for two weeks, really. There are NO relevant
information in such questions, even in official documentation. And the other
thing: do Solr users to know smth else about deployin Solr to production?
Any bugs, recommendations, best practices? Or everything goes
out-of-the-box?
I really need help, advices and guides in this question.
Thank You
--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Re: Deploy Solr to Production: guides, best practices
Posted by Erick Erickson <er...@gmail.com>.
https://wiki.apache.org/solr/WhyNoWar
Also, recent versions just don't build a war _for_ you. If you insist
you can build your own war file by bundling up "the right stuff".
However, there's no guarantee that you'll be able to do that going
forward. I have to confess that I can't guarantee you can make your
own war in 7.x, and I only _think_ you can in 6x. You can probably
tell I don't recommend it BTW.
A quick google search turns up a bunch of hits, I can't vouch for
any of them. If you'd care to add something to the Wiki above
that'd be great, or even a section in the reference guide.
Best,
Erick
On Thu, Oct 19, 2017 at 7:57 AM, GW <th...@gmail.com> wrote:
> Not a Windows user but you should be able to just install it and surf port
> 8983. Once installed it should show in services
>
> https://www.norconex.com/how-to-run-solr5-as-a-service-on-windows/
>
> On 19 October 2017 at 07:18, maximka19 <mo...@gmail.com> wrote:
>
>> Rick Leir-2 wrote
>> > Maximka
>> > The app server is bundled in Solr, so you do not install Tomcat or JEtty
>> > separately.
>> > Cheers -- Rick
>>
>> Hi! So, what should I do to host it in Windows Server as service? In
>> production.
>>
>> Thanks
>>
>>
>>
>> --
>> Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
>>
Re: Deploy Solr to Production: guides, best practices
Posted by GW <th...@gmail.com>.
Not a Windows user but you should be able to just install it and surf port
8983. Once installed it should show in services
https://www.norconex.com/how-to-run-solr5-as-a-service-on-windows/
On 19 October 2017 at 07:18, maximka19 <mo...@gmail.com> wrote:
> Rick Leir-2 wrote
> > Maximka
> > The app server is bundled in Solr, so you do not install Tomcat or JEtty
> > separately.
> > Cheers -- Rick
>
> Hi! So, what should I do to host it in Windows Server as service? In
> production.
>
> Thanks
>
>
>
> --
> Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
>
Re: Deploy Solr to Production: guides, best practices
Posted by maximka19 <mo...@gmail.com>.
Rick Leir-2 wrote
> Maximka
> The app server is bundled in Solr, so you do not install Tomcat or JEtty
> separately.
> Cheers -- Rick
Hi! So, what should I do to host it in Windows Server as service? In
production.
Thanks
--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Re: Deploy Solr to Production: guides, best practices
Posted by Rick Leir <rl...@leirtech.com>.
Maximka
The app server is bundled in Solr, so you do not install Tomcat or JEtty separately.
Cheers -- Rick
On October 19, 2017 2:01:30 AM EDT, maximka19 <mo...@gmail.com> wrote:
>Hi everyone!
>
>I was looking for full-text search engine and chosen Solr. Quickly
>introduced with Solr. Now I'm having troubles with taking Solr to
>Production
>under Windows Server.
>
>As You know, from Solr 5 there is no .WAR-file in package; I couldn't
>deploy
>Solr 7.1 to Tomcat 9. Didn't found any information, tutorials, guides
>relevantly to new versions of both Solr and Tomcat.
>
>So, the first question that comes: do I need to use default Jetty
>container
>in production? Or Tomcat is more preferable in production ways? If so,
>why?
>For what reasons? In older (and the only) books about Solr I've read
>the
>Tomcat is more efficient in production that default Jetty. Book were
>considering Solr 3 and Tomcat 6. Nowadays versions are much higher. If
>we
>can use Jetty in production, how to deploy Solr with Jetty as a service
>in
>Windows Server? There are no scripts provided for Windows users, only
>for
>.NIX-users.
>
>Troubling with this question for two weeks, really. There are NO
>relevant
>information in such questions, even in official documentation. And the
>other
>thing: do Solr users to know smth else about deployin Solr to
>production?
>Any bugs, recommendations, best practices? Or everything goes
>out-of-the-box?
>
>
>I really need help, advices and guides in this question.
>Thank You
>
>
>
>
>--
>Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
--
Sorry for being brief. Alternate email is rickleir at yahoo dot com