From 45d3ab73a23c4474d97570bbfd995b309f43fd6a Mon Sep 17 00:00:00 2001 From: Ryan McKinley Date: Wed, 12 Mar 2008 14:50:12 +0000 Subject: [PATCH] start and rows are not field parameters git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@636349 13f79535-47bb-0310-9956-ffa450edef68 --- .../solrj/src/org/apache/solr/client/solrj/SolrQuery.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/java/solrj/src/org/apache/solr/client/solrj/SolrQuery.java b/client/java/solrj/src/org/apache/solr/client/solrj/SolrQuery.java index 0a4890ad6b0..e826b8030b5 100644 --- a/client/java/solrj/src/org/apache/solr/client/solrj/SolrQuery.java +++ b/client/java/solrj/src/org/apache/solr/client/solrj/SolrQuery.java @@ -382,7 +382,7 @@ public class SolrQuery extends ModifiableSolrParams public Integer getRows() { - return this.getFieldInt(CommonParams.ROWS, null); + return this.getInt(CommonParams.ROWS); } public void setShowDebugInfo(boolean showDebugInfo) { @@ -405,7 +405,7 @@ public class SolrQuery extends ModifiableSolrParams public Integer getStart() { - return this.getFieldInt(CommonParams.START, null); + return this.getInt(CommonParams.START); } public void setQueryType(String qt) {