Apache Lucene open-source search software
SOLR-2232: Improved README info on solr.solr.home in examples
Chris M. Hostetterfed06a5cc382
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txtindex 7e6a369810d..b31f2db8788 100644--- a/solr/CHANGES.txt+++ b/solr/CHANGES.txt@@ -703,6 +703,9 @@ Documentation* SOLR-1792: Documented peculiar behavior of TestHarness.LocalRequestFactory(hossman)+* SOLR-2232: Improved README info on solr.solr.home in examples+ (Eric Pugh and hossman)+================== Release 1.4.0 ==================Release Date: See http://lucene.apache.org/solr for the official release date.diff --git a/solr/example/README.txt b/solr/example/README.txtindex 6126fd63271..8c44a7c29b5 100644--- a/solr/example/README.txt+++ b/solr/example/README.txt@@ -16,19 +16,20 @@Solr example configuration---------------------------To run this example configuration, use+To run the default example configuration, usejava -jar start.jar-in this directory, and when Solr is started connect to+in this example directory, and when Solr is started connect tohttp://localhost:8983/solr/admin/-To add documents to the index, use the post.sh script in the exampledocs-subdirectory (while Solr is running), for example:+To add documents to the index, use the post.jar (or post.sh script) in+the exampledocs subdirectory (while Solr is running), for example:- cd exampledocs- ./post.sh *.xml+ cd exampledocs+ java -jar post.jar *.xml+Or: ./post.sh *.xmlSee also README.txt in the solr subdirectory, and checkhttp://wiki.apache.org/solr/SolrResources for a list of tutorials and@@ -40,3 +41,10 @@ this example server and wish to use the ExtractingRequestHandler (SolrCell),you will need to copy the required jars into solr/lib or update the paths tothe jars in your solrconfig.xml.+By default, start.jar starts Solr in Jetty using the default SolrHome+directory of "./solr/" -- To run other example configurations, you can+speciy the solr.solr.home system property when starting jetty...++ java -Dsolr.solr.home=multicore -jar start.jar+ java -Dsolr.solr.home=example-DIH -jar start.jar+diff --git a/solr/example/multicore/README.txt b/solr/example/multicore/README.txtindex e7010b5ad91..eba14575efb 100644--- a/solr/example/multicore/README.txt+++ b/solr/example/multicore/README.txt@@ -1,3 +1,7 @@This is an alternative setup structure to support multiple cores.-For general examples on standard solr configuration, see the "solr" directory.\ No newline at end of file+To run this configuration, start jetty in the example/ directory using:++java -Dsolr.solr.home=multicore -jar start.jar++For general examples on standard solr configuration, see the "solr" directory.