Raheel,

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:
https://github.com/arafalov/solr-indexing-book/tree/master/published/collection1/conf
.
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.

Regards,
   Alex.

Personal blog: http://blog.outerthoughts.com/
LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch
- 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 <raheelhasan....@gmail.com>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
>

Reply via email to