lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gsing...@apache.org
Subject svn commit: r1239275 - in /lucene/cms/trunk/content: css/global.css css/solr.css solr/tutorial.mdtext
Date Wed, 01 Feb 2012 19:16:01 GMT
Author: gsingers
Date: Wed Feb  1 19:16:01 2012
New Revision: 1239275

URL: http://svn.apache.org/viewvc?rev=1239275&view=rev
Log:
LUCENE-2748: fonts, colors

Modified:
    lucene/cms/trunk/content/css/global.css
    lucene/cms/trunk/content/css/solr.css
    lucene/cms/trunk/content/solr/tutorial.mdtext

Modified: lucene/cms/trunk/content/css/global.css
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/content/css/global.css?rev=1239275&r1=1239274&r2=1239275&view=diff
==============================================================================
--- lucene/cms/trunk/content/css/global.css (original)
+++ lucene/cms/trunk/content/css/global.css Wed Feb  1 19:16:01 2012
@@ -82,8 +82,8 @@ html, body, #wrap {height: 100%;}
 body > #wrap {height: auto; min-height: 100%;}
 
 body {
-    font: 11px/ 165% "Lucida Grande", Geneva, Verdana, Arial, Helvetica, sans-serif;
-	color: #666666;
+    font: 13px/ 165% "Lucida Grande", Geneva, Verdana, Arial, Helvetica, sans-serif;
+	color: black;
 	margin: 0;
 	padding: 0;
 	background: url(../images/bg.png) top left repeat-x #A6A6A6;

Modified: lucene/cms/trunk/content/css/solr.css
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/content/css/solr.css?rev=1239275&r1=1239274&r2=1239275&view=diff
==============================================================================
--- lucene/cms/trunk/content/css/solr.css (original)
+++ lucene/cms/trunk/content/css/solr.css Wed Feb  1 19:16:01 2012
@@ -82,8 +82,8 @@ html, body, #wrap {height: 100%;}
 body > #wrap {height: auto; min-height: 100%;}
 
 body {
-    font: 11px/ 165% "Lucida Grande", Geneva, Verdana, Arial, Helvetica, sans-serif;
-	color: #666666;
+    font: 13px/ 165% "Lucida Grande", Geneva, Verdana, Arial, Helvetica, sans-serif;
+	color: black;
 	margin: 0;
 	padding: 0;
 	background: url(../images/bg.png) top left repeat-x #A6A6A6;
@@ -136,7 +136,7 @@ a:hover {
 
 h1,h2,h2 {
 	font-family: "Trebuchet MS", Tahoma, Arial, Sans-serif;
-	color: #555;
+	color: black;
 }
 
 h1 {
@@ -270,7 +270,7 @@ td {
 input,select {
     padding: 4px;
     font: normal 1em Verdana, sans-serif;
-    color: #666666;
+    color: black;
     background: #fff;
 }
 
@@ -280,7 +280,7 @@ textarea {
     font: normal 1em Verdana, sans-serif;
     height: 100px;
     display: block;
-    color: #666666;
+    color: black;
 }
 
 input,textarea,select {
@@ -295,7 +295,7 @@ input.button {
     height: 30px;
     margin: 0;
     padding: 2px 3px;
-    color: #555;
+    color: black;
     background: #E6E6E6;
     border-width: 1px;
     border-style: solid;
@@ -924,4 +924,13 @@ body#full #wrap {
 	width: 945px;
 	margin: 0 auto;
 	text-align: left;
+}
+
+/*Tutorial */
+.tutorial div.cmd{
+    background:  #d3d3d3;
+    display: block;
+    white-space: pre;
+
+
 }
\ No newline at end of file

Modified: lucene/cms/trunk/content/solr/tutorial.mdtext
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/content/solr/tutorial.mdtext?rev=1239275&r1=1239274&r2=1239275&view=diff
==============================================================================
--- lucene/cms/trunk/content/solr/tutorial.mdtext (original)
+++ lucene/cms/trunk/content/solr/tutorial.mdtext Wed Feb  1 19:16:01 2012
@@ -1,4 +1,6 @@
-Title: Solr Tutorial
+<div class="tutorial">
+
+# Solr Tutorial
 
 ##Overview
 
@@ -27,11 +29,12 @@ Please run the browser showing this tuto
 Begin by unziping the Solr release and changing your working directory
 to be the "<code>example</code>" directory.  (Note that the base directory name
may vary with the version of Solr downloaded.)  For example, with a shell in UNIX, Cygwin,
or MacOS:
 
+<div class="cmd">
     user:~solr$ ls
     solr-nightly.zip
     user:~solr$ unzip -q solr-nightly.zip
     user:~solr$ cd solr-nightly/example/
-
+</div>
 
 Solr can run in any Java Servlet Container of your choice, but to simplify
 this tutorial, the example index includes a small installation of Jetty.
@@ -39,6 +42,7 @@ this tutorial, the example index include
 
 To launch Jetty with the Solr WAR, and the example configs, just run the <code>start.jar</code>
...
 
+<div class="cmd">
     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
@@ -47,6 +51,7 @@ To launch Jetty with the Solr WAR, and t
     
     Oct 23, 2009 4:41:56 PM org.apache.solr.core.SolrCore registerSearcher
     INFO: [] Registered new searcher Searcher@7c3885 main
+</div>
 
 This will start up the Jetty application server on port 8983, and use your terminal to display
the logging information from Solr.
 
@@ -71,6 +76,7 @@ open a new terminal window, enter the ex
 "<code>java -jar post.jar</code>" on some of the XML files in that directory,
 indicating the URL of the Solr server:
 
+<div class="cmd">
     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
@@ -78,6 +84,7 @@ indicating the URL of the Solr server:
     SimplePostTool: POSTing file solr.xml
     SimplePostTool: POSTing file monitor.xml
     SimplePostTool: COMMITting Solr index changes..
+</div>
 
 You have now indexed two documents in Solr, and committed these changes.  
 You can now search for "solr" using the "Make a Query" interface on the Admin screen, and
you should get one result.  
@@ -88,6 +95,7 @@ Clicking the "Search" button should take
 
 You can index all of the sample data, using the following command (assuming your command
line shell supports the *.xml notation):
 
+<div class="cmd">
     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
@@ -105,6 +113,7 @@ You can index all of the sample data, us
     SimplePostTool: POSTing file utf8-example.xml
     SimplePostTool: POSTing file vidcard.xml
     SimplePostTool: COMMITting Solr index changes..
+</div>
 
 ...and now you can search for all sorts of things using the default <a href="http://wiki.apache.org/solr/SolrQuerySyntax">Solr
Query Syntax</a> (a superset of the Lucene query syntax)...
 
@@ -165,7 +174,9 @@ You can delete data by POSTing a delete 
 
 Execute the following command to delete a document
 
+<div class="cmd">
     java -Ddata=args -Dcommit=no -jar post.jar "<delete><id>SP2514N</id></delete>"
+</div>
 
 Now if you go to the <a href="http://localhost:8983/solr/admin/stats.jsp">statistics</a>
page and scroll down
    to the UPDATE_HANDLERS section and verify that "<code>deletesById : 1</code>"
@@ -173,14 +184,18 @@ If you search for <a href="http://localh
    because index changes are not visible until, and a new searcher is opened.  To cause
    this to happen, send a commit command to Solr (post.jar does this for you by default):
 
+<div class="cmd">
     java -jar post.jar
+</div>
 
 Now re-execute the previous search and verify that no matching documents are found.  Also
revisit the
 statistics page and observe the changes in both the UPDATE_HANDLERS section and the CORE
section.
 Here is an example of using delete-by-query to delete anything with
   <a href="http://localhost:8983/solr/select?q=name:DDR&amp;fl=name">DDR</a>
in the name:
 
+<div class="cmd">
     java -Ddata=args -jar post.jar "<delete><query>name:DDR</query></delete>"
+</div>
 
 Commit can be an expensive operation so it's best to make many changes to an index in a batch
and
   then send the commit command at the end.  There is also an optimize command that does the
same thing as commit,
@@ -190,7 +205,9 @@ Commit can be an expensive operation so 
 
 To continue with the tutorial, re-add any documents you may have deleted by going to the
<code>exampledocs</code> directory and executing
 
+<div class="cmd">
     java -jar post.jar *.xml
+</div>
 
 ##Querying Data
 
@@ -385,4 +402,5 @@ Explore the <a href="http://wiki.apache.
 more details about Solr's many
 <a href="features.html">features</a>.
 
-Have Fun, and we'll see you on the Solr mailing lists!
\ No newline at end of file
+Have Fun, and we'll see you on the Solr mailing lists!
+</div>
\ No newline at end of file



Mime
View raw message