Thanks! I actually found a page on line that explained this.

-Rich

-----Original Message-----
From: Chris Hostetter [mailto:hossman_luc...@fucit.org] 
Sent: Wednesday, August 10, 2011 4:01 PM
To: solr-user@lucene.apache.org
Cc: Simon, Richard T
Subject: RE: Building a facet query in SolrJ


: query.addFacetQuery(MyField + ":" + "\"" + uri + "\"");
        ...
: But when I examine queryResponse.getFacetFields, it's an empty list, if 

"facet.query" constraints+counts do not come back in the "facet.field" 
section of hte response.  they come back in the "facet.query" section of 
the response (look at the XML in your browser and you'll see what i 
mean)...

https://lucene.apache.org/solr/api/org/apache/solr/client/solrj/response/QueryResponse.html#getFacetQuery%28%29


-Hoss

Reply via email to