title: Problem in solrQuery.setFilteQueries() Method
body: <p>I have the following query which I took from my URL</p>
  
  <pre><code>public static String query="pen&amp;mq=pen&amp;f=owners%5B%22abc%22%5D&amp;f=application_type%5B%22cde%22%5D";
  
  public static String q="pen";
  </code></pre>
  
  <p>I parsed my query string and took each facetname and facet value from it and stored in a map</p>
  
  <pre><code>String querydec = URLDecoder.decode(query, "UTF-8");
  String[] facetswithval = querydec.split("&amp;f=");
  Map&lt;String, String&gt; facetMap = new HashMap&lt;String, String&gt;();
  for (int i = 1; i &lt; facetswithval.length; i++) {
  
          String[] fsplit = facetswithval[i].split("\\[\"");
          String[] value = fsplit[1].split("\"\\]");
  
          facetMap.put(fsplit[0], value[0]);
      }
  </code></pre>
  
  <p>Then i use the following code to query in solr using solrj</p>
  
  <pre><code>CommonsHttpSolrServer server = new CommonsHttpSolrServer("http://localhost:8983/solr/");
  
          SolrQuery solrQuery = new SolrQuery();
          solrQuery.setQuery(q);
  
          for (Iterator&lt;String&gt; iter = facetMap.keySet().iterator(); iter.hasNext();){
                String key=iter.next();
                System.out.println("key="+key+"::value="+facetMap.get(key));
                solrQuery.setFilterQueries(key+":"+facetMap.get(key));
            }
          solrQuery.setRows(MAX_ROW_NUM);
          QueryResponse qr = server.query(solrQuery);
          SolrDocumentList sdl = qr.getResults();
  </code></pre>
  
  <p>But after running my code I found out that solrQuery.setFilterQuery method is setting filter for only last set facet. That means if i m running the loop and using this function three times it is taking the last set filter values only.
  Can somebody please clarify this and tell me better approach for doing this. Also I am decoding url. So, if my facet contains some special character in the middle then i am not getting any result for that. I tried using it without encoding also but it didnt work. :(</p>