Re: faceted query with stats not working in solrj

2014-08-19 Thread tedsolr
FacetFieldName"); Now I see the stats in the QueryResponse. -- View this message in context: http://lucene.472066.n3.nabble.com/faceted-query-with-stats-not-working-in-solrj-tp4153608p4153764.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: faceted query with stats not working in solrj

2014-08-18 Thread Shawn Heisey
On 8/18/2014 12:47 PM, tedsolr wrote: > Hi. I have a query that works just fine in the browser. It rolls up documents > by the facet field and gives me stats on the stats field: > > http://localhost:8983/solr/corename/select?q=*:*&stats=on&stats.field=Spend&stats.facet=Supplier > > Posting this wor

faceted query with stats not working in solrj

2014-08-18 Thread tedsolr
Java, I use query.addStatsFieldFacets("Spend", "Supplier"); but the stats object comes back null. response.getFieldStatsInfo() == null Thanks so much for any suggestions. using solr 4.9 -- View this message in context: http://lucene.472066.n3.nabble.com/faceted-query-with-stats-not-working-in-so