Browse files

tweak the documentation

  • Loading branch information...
1 parent 9bcd12a commit adf150216546bf1d99987b17a3c2a9ba4b520971 straup committed Jan 1, 2012
Showing with 25 additions and 7 deletions.
  1. +25 −7 solr/
32 solr/
@@ -38,14 +38,19 @@ What's going on here?
* The _solr.xml_ file looks like this:
- <?xml version="1.0" encoding="UTF-8" ?>
+ &lt;?xml version="1.0" encoding="UTF-8" ?&gt;
- <solr persistent="false">
+ &lt;solr persistent="false"&gt;
+ &lt;cores adminPath="/admin/cores"&gt;
+ &lt;core name="parallel-flickr" instanceDir="${solr.solr.cores}/parallel-flickr" /&gt;
+ &lt;/cores&gt;
+ &lt;/solr&gt;
- <cores adminPath="/admin/cores">
- <core name="parallel-flickr" instanceDir="${solr.solr.cores}/parallel-flickr" />
- </cores>
- </solr>
+* If you look carefully you'll see there isn't a default _solr.xml_ file,
+ because it is explicitly prevented from being checked in to git for security
+ and privacy reasons. You will need to copy the
+ [solr.xml.example](
+ file instead.
* Then, _start.jar_ will look for a directory in
${solr.solr.cores}/parallel-flickr called "conf" which contains a bunch of
@@ -61,12 +66,25 @@ What's going on here?
* In order to use Solr you'll need to enable it in your [config file]( with the following configs:
$GLOBALS['cfg']['enable_feature_solr'] = 1;
$GLOBALS['cfg']['solr_endpoint'] = 'http://localhost:9999/solr/parallel-flickr/';
* To index (or re-index) exsiting data that you've imported from Flickr you will need to run the [backfill_solr_index_photos.php]( script, like this:
$> php -q ./bin/backfill_solr_index_photos.php
+* _start.jar_ will launch Solr as a "foreground" application. If you want to run
+ it as a proper "background" service take a look at the
+ [init.d/]( file.
+Solr doesn't have any kind of built-in authorization or authentication model so
+you should be careful not to run it on a port that is accessible to the public
+Internet. If you do and a bad person discovers it they will be able to freely
+read and write to your Solr database.
To do:

0 comments on commit adf1502

Please sign in to comment.