lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tedsolr <>
Subject Re: faceted query with stats not working in solrj
Date Tue, 19 Aug 2014 13:25:29 GMT
That's a good suggestion, I hadn't checked that log file. What I found that
works, is hitting these methods on the SolrQuery object:

query.setParam("stats.field", "MyStatsFieldName");
query.setParam("stats.facet", "MyFacetFieldName");

Now I see the stats in the QueryResponse.

View this message in context:
Sent from the Solr - User mailing list archive at

View raw message