lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandre Rafalovitch <>
Subject Re: Solr directories in 4.3
Date Tue, 04 Jun 2013 12:37:53 GMT

The absolutely minimal set of files you need for Solr to work is schema.xml
and solrconfig.xml, if you are happy for your collection to be called
'collection1'. If you want some other name , you also need solr.xml.
Everything else is supporting files for schema (e.g. language files, etc,
all mentioned by name in example's schema.xml) and Jetty support files.

You can see what the small (not quite the smallest) versions of those files
are here:
Once you have that, you run your configuration from Solr's example
directory with java -Dsolr.solr.home=<SOLR_PATH> -jar start.jar . This
should get you going.

Notice that SOLR_PATH should point to one level above 'collection1'
directory or to the same directory where you have solr.xml, if you want
collection name different from 'collection1'.

Later, you will need to configure your web container properly, but that's a
separate discussion, depending on container, operating system,
dev/test/prod setting, etc.


Personal blog:
- Time is the quality of nature that keeps events from happening all at
once. Lately, it doesn't seem to be working.  (Anonymous  - via GTD book)

On Tue, Jun 4, 2013 at 5:39 AM, Raheel Hasan <>wrote:

> Hi,
> I am starting a fresh project. Could someone please explain to me what
> folders are needed here?
> [image: Inline image 1]
> I know "solr" and "lib" are needed. But what are all these other folders
> there for?
> Thanks.
> --
> Regards,
> Raheel Hasan

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message