return getParameterValue("maxrecs");\r
}\r
\r
- public void setSort () {\r
- setParameter(new CommandParameter("sort","=","sort"));\r
+ public void setSort (String sort) {\r
+ setParameter(new CommandParameter("sort","=",sort));\r
}\r
\r
public String getSort () {\r
return getParameterValue("sort");\r
}\r
\r
+ public void setRank (String rank) {\r
+ setParameter(new CommandParameter("rank","=",rank));\r
+ }\r
+ \r
+ public String getRank () {\r
+ return getParameterValue("rank");\r
+ }\r
+ \r
/**\r
* Sets a facet, in CQL, to restrict the current results,\r
* then executes the search \r