Hi Andrea, i been looking for a archetype because i am using eclipse and the specific solr config must be easy to deploy (now we are using maven), mvn package mvn assembly or simliars, the idea is leave solr config easy to package and well stored on svn.
I saw that is a very common way to use solr server create a solr home and store all xml and properties config in there , it is the common way to use solr server? regards Erwin 2013/12/6 Andrea Gazzarini <a.gazzar...@gmail.com> > Hi, > if you want to deploy the SOLR war on tomcat you should do once so why do > you need a maven archetype? You can just get the war from the website and > deploy to your server. > > If you need to use maven because you are, for example, developing in > eclipse and you want to just launch jetty:run and have your configuration, > jetty and solr up and ready you could add the solr war dependency to your > pom.xml and appropriately configure your maven-jetty plugin > > <dependency> > <groupId>org.apache.solr</groupId> > <artifactId>solr</artifactId> > <version>4.6.0</version> > </dependency> > > My personal experience on SOLR: the servlet engine where you deploy SOLR > is not very important, assuming you are choosing one of the most popular > (Jetty, Tomcat, JBoss, WebLogic)...personally, since SOLR is a war, I would > prefer a simple servlet engine instead of an application server (e.g. > JBoss, WebSphere, Geronimo, Weblogic) because you dont need (if you don't > need) all beautiful and complex things that those monsters carry on... > > Best, > Andrea > > > On 12/06/2013 03:04 PM, Erwin Etchart wrote: > >> Hi to everybody. >> >> Im not going to say that im new in solr, but im new in solr. >> I been googling a lot of things to start with solr, but i would like to >> know if there is a maven archetype for the 4.6 version (to deploy in >> tomcat). >> Also i would like to know (based in best practices) what the comunity >> recommends about solr deployment, if is better to use a solr home >> directory >> or use just a war inside tomcat instalation with all the configuration >> inside. >> >> Thanks and regards >> >> Erwin >> >> >