Reputation:
I did not find any way to do that. Is it possible?
Thanks
Upvotes: 3
Views: 6774
Reputation: 1337
You can retrieve facet queries using the getFacetQuery() method and you can append facet queries to a solr query using the addFacetQuery() method.
The following example test provided with Solr has some good examples of using facet queries with SolrJ: SolrExampleTests.java
Upvotes: 8