You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by yo...@apache.org on 2006/02/27 20:53:01 UTC

svn commit: r381417 - /incubator/solr/trunk/src/site/src/documentation/content/xdocs/tutorial.xml

Author: yonik
Date: Mon Feb 27 11:52:59 2006
New Revision: 381417

URL: http://svn.apache.org/viewcvs?rev=381417&view=rev
Log:
small querying data section

Modified:
    incubator/solr/trunk/src/site/src/documentation/content/xdocs/tutorial.xml

Modified: incubator/solr/trunk/src/site/src/documentation/content/xdocs/tutorial.xml
URL: http://svn.apache.org/viewcvs/incubator/solr/trunk/src/site/src/documentation/content/xdocs/tutorial.xml?rev=381417&r1=381416&r2=381417&view=diff
==============================================================================
--- incubator/solr/trunk/src/site/src/documentation/content/xdocs/tutorial.xml (original)
+++ incubator/solr/trunk/src/site/src/documentation/content/xdocs/tutorial.xml Mon Feb 27 11:52:59 2006
@@ -186,32 +186,45 @@
 
 </section>
 
-
-
 <section>
-<title>Sorting</title>
+  <title>Querying Data</title>
 
-<p>
-Solr provides a simple extension to the Lucene QueryParser syntax for specifying sort options.  After your search, add a semi-colon followed by a list of "field direction" pairs...
-</p>
-
-<ul>
-  <li><a href="http://localhost:8983/solr/select/?version=2.1&amp;indent=on&amp;q=video%3B+price+desc">video; price desc</a></li>
-  <li><a href="http://localhost:8983/solr/select/?version=2.1&amp;indent=on&amp;q=video%3B+price+asc">video; price asc</a></li>
-  <li><a href="http://localhost:8983/solr/select/?version=2.1&amp;indent=on&amp;q=video%3B+inStock+asc+price+desc">video; inStock asc, price desc</a></li>
-</ul>
-
-<p>
-"score" can also be used as a field name when specifying a sort...
-</p>
-<ul>
-  <li><a href="http://localhost:8983/solr/select/?version=2.1&amp;indent=on&amp;q=video%3B+score+desc">video; score desc</a></li>
-  <li><a href="http://localhost:8983/solr/select/?version=2.1&amp;indent=on&amp;q=video%3B+score+asc">video; score asc</a></li>
-  <li><a href="http://localhost:8983/solr/select/?version=2.1&amp;indent=on&amp;q=video%3B+inStock+asc+score+desc">video; inStock asc, score desc</a></li>
-</ul>
+  <p>
+    Searches are done via HTTP GET on the select URL with the query string in the q parameter.
+    You can pass a number of optional <a href="http://wiki.apache.org/solr/StandardRequestHandler">request parameters</a>
+    to the request handler to control what information is returned.
+  </p>
+  <p>
+    Solr provides a <a href="http://localhost:8983/solr/admin/form.jsp">query form</a> within the web admin interface
+    that allows setting the various request parameters and is useful when trying out or debugging queries.
+  </p>
+
+  <section>
+    <title>Sorting</title>
+
+    <p>
+      Solr provides a simple extension to the Lucene QueryParser syntax for specifying sort options.  After your search, add a semi-colon followed by a list of "field direction" pairs...
+    </p>
+
+    <ul>
+      <li><a href="http://localhost:8983/solr/select/?version=2.1&amp;indent=on&amp;q=video%3B+price+desc">video; price desc</a></li>
+      <li><a href="http://localhost:8983/solr/select/?version=2.1&amp;indent=on&amp;q=video%3B+price+asc">video; price asc</a></li>
+      <li><a href="http://localhost:8983/solr/select/?version=2.1&amp;indent=on&amp;q=video%3B+inStock+asc+price+desc">video; inStock asc, price desc</a></li>
+    </ul>
+
+    <p>
+      "score" can also be used as a field name when specifying a sort...
+    </p>
+    <ul>
+      <li><a href="http://localhost:8983/solr/select/?version=2.1&amp;indent=on&amp;q=video%3B+score+desc">video; score desc</a></li>
+      <li><a href="http://localhost:8983/solr/select/?version=2.1&amp;indent=on&amp;q=video%3B+score+asc">video; score asc</a></li>
+      <li><a href="http://localhost:8983/solr/select/?version=2.1&amp;indent=on&amp;q=video%3B+inStock+asc+score+desc">video; inStock asc, score desc</a></li>
+    </ul>
 
+  </section>
 
 </section>
+