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) So I figured I can get a date facet results going back 3 months in 7 day increments then map the results to my desired format. facet=true facet.date=LastMod f.LastMod.facet.date.end=NOW/DAY+1DAY f.LastMod.facet.date.gap=+7DAYS f.LastMod.facet.date.start=NOW/DAY-84DAYS (84 days is 12 weeks) Am I going about this wrong or is there a better way to get my desired result? thanks! -- View this message in context: http://old.nabble.com/date-math-help-tp27315500p27315500.html Sent from the Solr - User mailing list archive at Nabble.com.