You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ho...@apache.org on 2010/12/21 21:01:41 UTC

svn commit: r1051629 - in /lucene/dev/trunk/solr: CHANGES.txt example/README.txt example/multicore/README.txt

Author: hossman
Date: Tue Dec 21 20:01:40 2010
New Revision: 1051629

URL: http://svn.apache.org/viewvc?rev=1051629&view=rev
Log:
SOLR-2232: Improved README info on solr.solr.home in examples

Modified:
    lucene/dev/trunk/solr/CHANGES.txt
    lucene/dev/trunk/solr/example/README.txt
    lucene/dev/trunk/solr/example/multicore/README.txt

Modified: lucene/dev/trunk/solr/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/CHANGES.txt?rev=1051629&r1=1051628&r2=1051629&view=diff
==============================================================================
--- lucene/dev/trunk/solr/CHANGES.txt (original)
+++ lucene/dev/trunk/solr/CHANGES.txt Tue Dec 21 20:01:40 2010
@@ -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.
 

Modified: lucene/dev/trunk/solr/example/README.txt
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/README.txt?rev=1051629&r1=1051628&r2=1051629&view=diff
==============================================================================
--- lucene/dev/trunk/solr/example/README.txt (original)
+++ lucene/dev/trunk/solr/example/README.txt Tue Dec 21 20:01:40 2010
@@ -16,19 +16,20 @@
 Solr example configuration
 --------------------------
 
-To run this example configuration, use 
+To run the default example configuration, use 
 
   java -jar start.jar
 
-in this directory, and when Solr is started connect to 
+in this example directory, and when Solr is started connect to 
 
   http://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 *.xml
 
 See also README.txt in the solr subdirectory, and check
 http://wiki.apache.org/solr/SolrResources for a list of tutorials and
@@ -40,3 +41,10 @@ this example server and wish to use the 
 you will need to copy the required jars into solr/lib or update the paths to
 the 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
+

Modified: lucene/dev/trunk/solr/example/multicore/README.txt
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/multicore/README.txt?rev=1051629&r1=1051628&r2=1051629&view=diff
==============================================================================
--- lucene/dev/trunk/solr/example/multicore/README.txt (original)
+++ lucene/dev/trunk/solr/example/multicore/README.txt Tue Dec 21 20:01:40 2010
@@ -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.