From 70e2949e241da8ff05c3cf79a7e9caa43d421a66 Mon Sep 17 00:00:00 2001 From: "Chris M. Hostetter" Date: Wed, 28 Mar 2012 00:31:33 +0000 Subject: [PATCH] update sample command output in tutorial to be more current then 2009 git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1306077 13f79535-47bb-0310-9956-ffa450edef68 --- solr/core/src/java/doc-files/tutorial.html | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/solr/core/src/java/doc-files/tutorial.html b/solr/core/src/java/doc-files/tutorial.html index 261c10003c9..d48a79f411c 100755 --- a/solr/core/src/java/doc-files/tutorial.html +++ b/solr/core/src/java/doc-files/tutorial.html @@ -77,13 +77,10 @@ To launch Jetty with the Solr WAR, and the example configs, just run the
 user:~/solr/example$ java -jar start.jar
-2009-10-23 16:42:53.816::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
-2009-10-23 16:42:53.907::INFO:  jetty-6.1.26
-
+2012-03-27 17:11:29.529:INFO::Logging to STDERR via org.mortbay.log.StdErrLog
+2012-03-27 17:11:29.696:INFO::jetty-6.1-SNAPSHOT
 ...
-
-Oct 23, 2009 4:41:56 PM org.apache.solr.core.SolrCore registerSearcher
-INFO: [] Registered new searcher Searcher@7c3885 main
+2012-03-27 17:11:32.343:INFO::Started SocketConnector@0.0.0.0:8983
 

This will start up the Jetty application server on port 8983, and use your terminal to display the logging information from Solr. @@ -117,8 +114,7 @@ indicating the URL of the Solr server:

 user:~/solr/example/exampledocs$ java -jar post.jar solr.xml monitor.xml
-SimplePostTool: version 1.2
-SimplePostTool: WARNING: Make sure your XML documents are encoded in UTF-8, other encodings are not currently supported
+SimplePostTool: version 1.4
 SimplePostTool: POSTing files to http://localhost:8983/solr/update..
 SimplePostTool: POSTing file solr.xml
 SimplePostTool: POSTing file monitor.xml
@@ -139,19 +135,19 @@ You can index all of the sample data, using the following command (assuming your
 

 user:~/solr/example/exampledocs$ java -jar post.jar *.xml
-SimplePostTool: version 1.2
-SimplePostTool: WARNING: Make sure your XML documents are encoded in UTF-8, other encodings are not currently supported
+SimplePostTool: version 1.4
 SimplePostTool: POSTing files to http://localhost:8983/solr/update..
+SimplePostTool: POSTing file gb18030-example.xml
 SimplePostTool: POSTing file hd.xml
 SimplePostTool: POSTing file ipod_other.xml
 SimplePostTool: POSTing file ipod_video.xml
 SimplePostTool: POSTing file mem.xml
-SimplePostTool: POSTing file monitor.xml
+SimplePostTool: POSTing file money.xml
 SimplePostTool: POSTing file monitor2.xml
+SimplePostTool: POSTing file monitor.xml
 SimplePostTool: POSTing file mp500.xml
 SimplePostTool: POSTing file sd500.xml
 SimplePostTool: POSTing file solr.xml
-SimplePostTool: POSTing file spellchecker.xml
 SimplePostTool: POSTing file utf8-example.xml
 SimplePostTool: POSTing file vidcard.xml
 SimplePostTool: COMMITting Solr index changes..
@@ -582,7 +578,7 @@ in subsequent searches.