Change date field until minute to zero for group by

2015-01-29 Thread suhyunjeon
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=truegroup.field=log_ts_tdtgroup.facet=truegroup.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.


Can I select dummy field(for count) from solr?

2014-11-11 Thread suhyunjeon
I want to show cumulative graph from banana framework(SiLK).
https://docs.lucidworks.com/display/SiLK/Banana

There is no cumulative graph so  I want to select count(*) from solr
collection like dummy field.

So then I am going to sum the field(count(*)) and show histogram graph.
Do you have idea? 

It does not work like this. (q = *:count(*))
http://lucene.472066.n3.nabble.com/file/n4168713/solr.png 

Help me please. 
Have a nice day!




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Can-I-select-dummy-field-for-count-from-solr-tp4168713.html
Sent from the Solr - User mailing list archive at Nabble.com.