Hi Erwin;

If you want to run Solr within a servlet container and if you are new to
Solr you should examine the example folder of Solr. Run it and configure
its files. You can start reading from here:
http://lucene.apache.org/solr/4_6_0/tutorial.html If you look at that
example you can customize it for a Solr instance according to your needs.

On the other hand if you don't want to have problems to open Solr project
within your ide you can run *ant eclipse* or *ant idea* command (eclipse
for Eclipse and idea is for Intellij IDEA) under lucene-solr folder. This
will setup configuration files for your ide.

However if you want to run Solr as a maven project instead of using ant you
can read here:
http://www.petrikainulainen.net/programming/maven/running-solr-with-maven/ It
explains running Solr with maven. Example is for Solr 4.3.0

If you have any problems you can ask it.

Thanks;
Furkan KAMACI


2013/12/6 Erwin Etchart <erwin.etch...@gmail.com>

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

Reply via email to