> If I wanted to return documents faceted by LastMod and I > wanted them grouped > by week what would the correct syntax be? > > I would like to eventually format the results to display > this: > > Last day (facet count) > Last Week (facet count) > Last 2 Weeks (facet count) > Last Month (facet count) > Last 2 Months (facet count) > Last 3 Months (facet count)
What not use separate facet query for each these? &facet.query:[NOW-1DAY TO NOW]&facet.query:[NOW-7DAYS TO NOW]& etc.