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
This commit is contained in:
Ryan McKinley 2008-03-12 14:50:12 +00:00
parent d2617b4a2a
commit 45d3ab73a2
1 changed files with 2 additions and 2 deletions

View File

@ -382,7 +382,7 @@ public class SolrQuery extends ModifiableSolrParams
public Integer getRows() public Integer getRows()
{ {
return this.getFieldInt(CommonParams.ROWS, null); return this.getInt(CommonParams.ROWS);
} }
public void setShowDebugInfo(boolean showDebugInfo) { public void setShowDebugInfo(boolean showDebugInfo) {
@ -405,7 +405,7 @@ public class SolrQuery extends ModifiableSolrParams
public Integer getStart() public Integer getStart()
{ {
return this.getFieldInt(CommonParams.START, null); return this.getInt(CommonParams.START);
} }
public void setQueryType(String qt) { public void setQueryType(String qt) {