tags:

views:

336

answers:

1

I did not find any way to do that. Is it possible?

Thanks

A: 

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

Brian Mansell