Example schema ships with random_ dynamic field so use it instead of rand_ in the example

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587819 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shalin Shekhar Mangar 2014-04-16 07:23:34 +00:00
parent 3a06863571
commit 67e6e24d44
1 changed files with 4 additions and 4 deletions

View File

@ -54,10 +54,10 @@ import org.apache.solr.search.QParser;
*
* Examples of queries:
* <ul>
* <li>http://localhost:8983/solr/select/?q=*:*&fl=name&sort=rand_1234%20desc</li>
* <li>http://localhost:8983/solr/select/?q=*:*&fl=name&sort=rand_2345%20desc</li>
* <li>http://localhost:8983/solr/select/?q=*:*&fl=name&sort=rand_ABDC%20desc</li>
* <li>http://localhost:8983/solr/select/?q=*:*&fl=name&sort=rand_21%20desc</li>
* <li>http://localhost:8983/solr/select/?q=*:*&fl=name&sort=random_1234%20desc</li>
* <li>http://localhost:8983/solr/select/?q=*:*&fl=name&sort=random_2345%20desc</li>
* <li>http://localhost:8983/solr/select/?q=*:*&fl=name&sort=random_ABDC%20desc</li>
* <li>http://localhost:8983/solr/select/?q=*:*&fl=name&sort=random_21%20desc</li>
* </ul>
* Note that multiple calls to the same URL will return the same sorting order.
*