lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Heisey <>
Subject Re: Issues in compiling Solr code.
Date Sat, 30 May 2015 14:29:07 GMT
On 5/30/2015 1:59 AM, Aniket Kumar wrote:
> Hi All,
> I am trying to build and compile Solr . I have been following the below
> link .
> I have taken the latest version of code and have run ant clean compile
> command , followed by ant dist. Both the steps were successful, but no war
>  was created(as per the wiki , a war should be created which should be
> copied to "...\LuceneSolr
> <>\solr\example\webapps
> folder ".(I cannot find any webapps folder under example folder either !!).

As of Solr 5.0, things have changed.  Solr is still a war, but the war
is embedded in the example, and the example has changed quite a lot.
Run "ant example" instead of "ant dist" and then you will find that you
can start solr by typing "bin/solr start" or "bin\solr start" on
Windows.  You might also consider typing "ant package" which will create
entire .zip and .tgz packages similar to what you download from the website.

Here's the beginnings of a discussion about why we are changing the

Our startup infrastructure and documentation still need work, especially
in the parts describing how to take Solr to production.  When I find
some free time, I will be doing what I can to make this better.


View raw message