? SolrPhpClient
Index: Solr_Base_Query.php
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/apachesolr/Solr_Base_Query.php,v
retrieving revision 1.1.4.29
diff -u -p -r1.1.4.29 Solr_Base_Query.php
--- Solr_Base_Query.php	23 Apr 2009 20:03:54 -0000	1.1.4.29
+++ Solr_Base_Query.php	23 Apr 2009 21:45:02 -0000
@@ -217,7 +217,7 @@ class Solr_Base_Query implements Drupal_
     $this->subqueries[$query->id] = array('#query' => $query, '#fq_operator' => $fq_operator, '#q_operator' => $q_operator);
   }
 
-  public function remove_subquery(Solr_Base_Query $query) {
+  public function remove_subquery(Drupal_Solr_Query_Interface $query) {
     unset($this->subqueries[$query->id]);
   }
 
Index: apachesolr.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/apachesolr/apachesolr.module,v
retrieving revision 1.1.2.12.2.131
diff -u -p -r1.1.2.12.2.131 apachesolr.module
--- apachesolr.module	23 Apr 2009 20:03:54 -0000	1.1.2.12.2.131
+++ apachesolr.module	23 Apr 2009 21:45:02 -0000
@@ -1216,7 +1216,41 @@ interface Drupal_Solr_Query_Interface {
   
   /**
    * Add a subquery to the query.
+   *
+   * @param Drupal_Solr_Query_Interface $query
+   * The query to add to the orginal query
+   *
+   * @param string $fq_operator
+   * The operator to use within the subquery
+   *
+   * @param string $q_operator
+   * The operator to use outside the query
    */
   function add_subquery(Drupal_Solr_Query_Interface $query, $fq_operator = 'OR', $q_operator = 'AND');
+  
+  /**
+   * return the sorts that are provided by the query object
+   *
+   * @return array all the sorts provided
+   */
+  function get_available_sorts();
+  
+  /**
+   * Remove a specific subquery
+   *
+   * @param Drupal_Solr_Query_Interface $query
+   * the query to remove
+   */
+  function remove_subquery(Drupal_Solr_Query_Interface $query);
+  
+  /**
+   * remove all subqueries
+   */
+  function remove_subqueries();
+  
+  /**
+   * make a sort available
+   */
+  function set_available_sort($field, $sort);
 }