lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sha...@apache.org
Subject svn commit: r1587821 - in /lucene/dev/branches/lucene_solr_4_8: ./ solr/ solr/core/ solr/core/src/java/org/apache/solr/schema/RandomSortField.java
Date Wed, 16 Apr 2014 07:26:18 GMT
Author: shalin
Date: Wed Apr 16 07:26:18 2014
New Revision: 1587821

URL: http://svn.apache.org/r1587821
Log:
Example schema ships with random_ dynamic field so use it instead of rand_ in the example

Modified:
    lucene/dev/branches/lucene_solr_4_8/   (props changed)
    lucene/dev/branches/lucene_solr_4_8/solr/   (props changed)
    lucene/dev/branches/lucene_solr_4_8/solr/core/   (props changed)
    lucene/dev/branches/lucene_solr_4_8/solr/core/src/java/org/apache/solr/schema/RandomSortField.java

Modified: lucene/dev/branches/lucene_solr_4_8/solr/core/src/java/org/apache/solr/schema/RandomSortField.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_8/solr/core/src/java/org/apache/solr/schema/RandomSortField.java?rev=1587821&r1=1587820&r2=1587821&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_8/solr/core/src/java/org/apache/solr/schema/RandomSortField.java
(original)
+++ lucene/dev/branches/lucene_solr_4_8/solr/core/src/java/org/apache/solr/schema/RandomSortField.java
Wed Apr 16 07:26:18 2014
@@ -52,10 +52,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.
  * 



Mime
View raw message