Apache Lucene open-source search software
fix sorting urls
Yonik Seeleyb3fd440ba599
diff --git a/src/site/src/documentation/content/xdocs/tutorial.xml b/src/site/src/documentation/content/xdocs/tutorial.xmlindex dfe815534af..e0daac469f1 100755--- a/src/site/src/documentation/content/xdocs/tutorial.xml+++ b/src/site/src/documentation/content/xdocs/tutorial.xml@@ -256,7 +256,7 @@ Go ahead and edit the existing XML files to change some of the data, and re-run<li><a href="http://localhost:8983/solr/select/?indent=on&q=video&fl=name,id">q=video&fl=name,id</a> (return only name and id fields) </li><li><a href="http://localhost:8983/solr/select/?indent=on&q=video&fl=name,id,score">q=video&fl=name,id,score</a> (return relevancy score as well) </li><li><a href="http://localhost:8983/solr/select/?indent=on&q=video&fl=*,score">q=video&fl=*,score</a> (return all stored fields, as well as relevancy score) </li>- <li><a href="http://localhost:8983/solr/select/?indent=on&q=video;price desc&fl=name,id">q=video&sort=price desc&fl=name,id</a> (add sort specification: sort by price descending) </li>+ <li><a href="http://localhost:8983/solr/select/?indent=on&q=video&sort=price desc&fl=name,id">q=video&sort=price desc&fl=name,id</a> (add sort specification: sort by price descending) </li></ul><p>@@ -268,21 +268,22 @@ Go ahead and edit the existing XML files to change some of the data, and re-run<title>Sorting</title><p>- Solr provides a simple extension to the Lucene QueryParser syntax for specifying sort options. Use the 'sort' parameter to specify "field direction" pairs...+ Solr provides a simple method to sort on one or more indexed fields.+ Use the 'sort' parameter to specify "field direction" pairs...</p><ul>- <li><a href="http://localhost:8983/solr/select/?indent=on&q=video&sort=price+desc">video; price desc</a></li>- <li><a href="http://localhost:8983/solr/select/?indent=on&q=video&sort=price+asc">video; price asc</a></li>- <li><a href="http://localhost:8983/solr/select/?indent=on&q=video&sort=inStock+asc+price+desc">video; inStock asc, price desc</a></li>+ <li><a href="http://localhost:8983/solr/select/?indent=on&q=video&sort=price+desc">q=video&sort=price desc</a></li>+ <li><a href="http://localhost:8983/solr/select/?indent=on&q=video&sort=price+asc">q=video&sort=price asc</a></li>+ <li><a href="http://localhost:8983/solr/select/?indent=on&q=video&sort=inStock+asc,price+desc">q=video&sort=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/?indent=on&q=video&sort=score+desc">video; score desc</a></li>- <li><a href="http://localhost:8983/solr/select/?indent=on&q=video&sort=inStock+asc,score+desc">video; inStock asc, score desc</a></li>+ <li><a href="http://localhost:8983/solr/select/?indent=on&q=video&sort=score+desc">q=video&sort=score desc</a></li>+ <li><a href="http://localhost:8983/solr/select/?indent=on&q=video&sort=inStock+asc,score+desc">q=video&sort=inStock asc, score desc</a></li></ul><p>