Adds mergekey parameter to search and show
[mkjsf-moved-to-github.git] / src / main / java / com / indexdata / mkjsf / pazpar2 / commands / SearchCommand.java
index af340b0..c314ec6 100644 (file)
@@ -97,6 +97,15 @@ public class SearchCommand extends Pazpar2Command implements ServiceProxyCommand
     return getParameterValue("rank");\r
   }\r
   \r
+  public void setMergekey (String mergekey) {\r
+    setParameter(new CommandParameter("mergekey","=",mergekey));\r
+  }\r
+  \r
+  public String getMergekey () {\r
+    return getParameterValue("mergekey");\r
+  }\r
+  \r
+  \r
   /**\r
    * Sets a facet, in CQL, to restrict the current results,\r
    * then executes the search \r