title: How to get facet.query results only, using solrj?
body: <p>I'm trying to get results of a facet query using solrj, but it seems it doesn't matter whether I add the facet query or not. I get the same document list anyway.</p>
  
  <p>So this query returns the same document list...</p>
  
  <pre><code>  query.setQuery(searchString);
    query.setFacet(true);
    query.addFacetField("CATNAME_STR");
    query.addFacetQuery("CATNAME_STR:" + facetName); 
  </code></pre>
  
  <p>...with this query</p>
  
  <pre><code>  query.setQuery(searchString);
    query.setFacet(true);
    query.addFacetField("CATNAME_STR");
  </code></pre>
  
  <p>Only difference is I can get number of documents that matches the facet query with <code>response.getFacetQuery();</code></p>
  
  <p>I was expecting it to work like </p>
  
  <pre><code>http://localhost:8983/solr/select/?q=*%3A*&amp;version=2.2&amp;start=0&amp;rows=10&amp;indent=on&amp;facet=on&amp;facet.field=CATNAME_STR&amp;fq=CATNAME_STR:Erasmus
  </code></pre>
  
  <p>Any ideas?</p>
  
  <p>Thanks.</p>
  
  <p>By the way I'm using Solr Version 3.1.0 and solr-core-3.1.0</p>