Re: Newbie: document count and facets

2011-10-12 Thread Erick Erickson
Very close, but think about using facet.query rather than faceting on a date range, something like facet.query=createDate:[NOW/DAYS-1MONTHS TO NOW] &facet.query=isClosed:yes The problem with date range is that you'll be getting multiple entries back On Tue, Oct 11, 2011 at 8:25 AM, kenneth

RE: Newbie: document count and facets

2011-10-11 Thread kenneth hansen
ok, I'll try to answer this myself. Would this be correct to give me the data I need? http://localhost:8080/solr-3.3.0/select/? q=accountId:12345 &start=0 &rows=10 &indent=on &facet=true &facet.date=createdDate &f.createdDate.facet.date.start=NOW/DAYS-1MONTHS &f.createdDate.facet.date.end=NOW