Is it possible to combine a facet and field query in spring data solr? Something that would build a query like this:
> http://localhost:8983/solr/myCore/select?q=lastName%3AHarris*&fq=filterQueryField%3Ared&wt=json&indent=true&facet=true&facet.field=state
In other words, how do I add FilterParameters to a SimpleFacetQuery?
Any/all replies welcome, thanks in advance, -- Griff
I assume you're using Spring Data Solr, from your reference to SimpleFacetQuery. Based on your sample query, the code would look something like this: