Re: Getting only size of getFacetCounts , to simulate count(group by( a field) ) using facets

2007-11-01 Thread cricdigs
Hi, Not sure what the resolution on this has been. But, I also have this need and I am using 1.2 release of solr. If there is a workaround so I can get this functionality, please advise. It will be very helpful. Thanks. Laurent Hoss wrote: Hi We want to (mis)use facet search to get the

Getting only size of getFacetCounts , to simulate count(group by( a field) ) using facets

2007-09-19 Thread Laurent Hoss
Hi We want to (mis)use facet search to get the number of (unique) field values appearing in a document resultset. I thought facet search perfect for this, because it already gives me all the (unique) field values. But for us to be used for this special problem, we don't want all the values

Re: Getting only size of getFacetCounts , to simulate count(group by( a field) ) using facets

2007-09-19 Thread Yonik Seeley
On 9/19/07, Laurent Hoss [EMAIL PROTECTED] wrote: We want to (mis)use facet search to get the number of (unique) field values appearing in a document resultset. We have paging of facets, so just like normal search results, it does make sense to list the total number of facets matching. The

Re: Getting only size of getFacetCounts , to simulate count(group by( a field) ) using facets

2007-09-19 Thread Chris Hostetter
: The main problem with implementing this is trying to figure out where : to put the info in a backward compatible manner. Here is how the info 1) this seems like the kind of thing that would only be returend if requested -- so we probably don't have to be overly concerned about backwards