adding getQuery() for bean access

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@607095 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ryan McKinley 2007-12-27 17:22:45 +00:00
parent 0841e7ea33
commit e4d59581ca

View File

@ -362,6 +362,10 @@ public class SolrQuery extends ModifiableSolrParams
this.set(CommonParams.Q, query);
}
public String getQuery() {
return this.get(CommonParams.Q);
}
public void setRows(Integer rows) {
this.set(CommonParams.ROWS, rows);
}