lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject svn commit: r636349 - /lucene/solr/trunk/client/java/solrj/src/org/apache/solr/client/solrj/SolrQuery.java
Date Wed, 12 Mar 2008 14:50:24 GMT
Author: ryan
Date: Wed Mar 12 07:50:12 2008
New Revision: 636349

URL: http://svn.apache.org/viewvc?rev=636349&view=rev
Log:
start and rows are not field parameters

Modified:
    lucene/solr/trunk/client/java/solrj/src/org/apache/solr/client/solrj/SolrQuery.java

Modified: lucene/solr/trunk/client/java/solrj/src/org/apache/solr/client/solrj/SolrQuery.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/client/java/solrj/src/org/apache/solr/client/solrj/SolrQuery.java?rev=636349&r1=636348&r2=636349&view=diff
==============================================================================
--- lucene/solr/trunk/client/java/solrj/src/org/apache/solr/client/solrj/SolrQuery.java (original)
+++ lucene/solr/trunk/client/java/solrj/src/org/apache/solr/client/solrj/SolrQuery.java Wed
Mar 12 07:50:12 2008
@@ -382,7 +382,7 @@
 
   public Integer getRows()
   {
-    return this.getFieldInt(CommonParams.ROWS, null);
+    return this.getInt(CommonParams.ROWS);
   }
 
   public void setShowDebugInfo(boolean showDebugInfo) {
@@ -405,7 +405,7 @@
   
   public Integer getStart()
   {
-    return this.getFieldInt(CommonParams.START, null);
+    return this.getInt(CommonParams.START);
   }
 
   public void setQueryType(String qt) {



Mime
View raw message