lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From suhyunjeon <suhyun...@gmail.com>
Subject Change date field until minute to zero for group by
Date Fri, 30 Jan 2015 02:19:31 GMT
I got date fields like this.

{
   date:"2013-11-01T16:14:55.372Z",
   latency:1
},
{
   date:"2013-11-01T16:14:00.372Z",
   latency:6
},
{
   date:"013-11-01T16:15:17.496Z",
   latency:3
}

I want to see the count to group by the date field(until minutes)  like
that.

{
   date:"2013-11-01T16:14:55.372Z",
   latency:6
},
{
   date:"013-11-01T16:15:17.496Z",
   latency:3
}

So I have to change the date field format to Raw Query Parameters. 

How do I do? Help me please. It didn't work.

My Raw Query Parameters :
group=true&group.field=log_ts_tdt&group.facet=true&group.func=rint(div(ms(log_ts_tdt),mul(24,mul(60,mul(60,1000)))))




--
View this message in context: http://lucene.472066.n3.nabble.com/Change-date-field-until-minute-to-zero-for-group-by-tp4183042.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message