Why not create a new field that just contains the day component? Then you can group by this field.
On Thu, Nov 29, 2012 at 12:38 PM, sdanzig <sdan...@gmail.com> wrote: > I'm trying to create a SOLR query that groups/field collapses by date. I > have a field in YYYY-MM-dd'T'HH:mm:ss'Z' format, "datetime", and I'm > looking > to group by just per day. When grouping on this field using > group.field=datetime in the query, SOLR responds with a group for every > second. I'm able to easily use this field to create day-based facets, but > not groups. Advice please? > > - Scott > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Grouping-by-a-date-field-tp4023318.html > Sent from the Solr - User mailing list archive at Nabble.com. >