Yes, it works with hours too. You can run a sum function each hour facet
which is named as bucket.
On Nov 4, 2016 10:14 PM, "William Bell" wrote:
> How about hours?
>
> NOW+1HR
> NOW+2HR
> NOW+12HR
> NOW-4HR
>
> Can we add that?
>
>
> On Fri, Nov 4, 2016 at 12:25 PM, Furkan KAMACI
> wrote:
>
>
How about hours?
NOW+1HR
NOW+2HR
NOW+12HR
NOW-4HR
Can we add that?
On Fri, Nov 4, 2016 at 12:25 PM, Furkan KAMACI
wrote:
> I have documents like that
>
> id:5
> timestamp:NOW //pseudo date representation
> count:13
>
> id:4
> timestamp:NOW //pseudo date representation
> count:3
>
> id:3
> tim
Seems that Solrj doesn't support JSON Facet API yet.
On Fri, Nov 4, 2016 at 9:08 PM, Furkan KAMACI
wrote:
> Fantastic! Thanks Yonik, I could do the stuff that I want with JSON Facet
> API.
>
> On Fri, Nov 4, 2016 at 8:42 PM, Yonik Seeley wrote:
>
>> On Fri, Nov 4, 2016 at 2:25 PM, Furkan KAMACI
Fantastic! Thanks Yonik, I could do the stuff that I want with JSON Facet
API.
On Fri, Nov 4, 2016 at 8:42 PM, Yonik Seeley wrote:
> On Fri, Nov 4, 2016 at 2:25 PM, Furkan KAMACI
> wrote:
> > I mean, I have to facet by dates and aggregate values inside that facet
> > range. Is it possible to do
On Fri, Nov 4, 2016 at 2:25 PM, Furkan KAMACI wrote:
> I mean, I have to facet by dates and aggregate values inside that facet
> range. Is it possible to do that without multiple queries at Solr?
This (old) blog shows a percentiles calculation under a range facet:
http://yonik.com/percentiles-for
I believe your answer is in the subject
=> facet.range
https://cwiki.apache.org/confluence/display/solr/Faceting#Faceting-RangeFaceting
//
On 11/04/2016 02:25 PM, Furkan KAMACI wrote:
I have documents like that
id:5
timestamp:NOW //pseudo date representation
count:13
id:4
timestamp:NOW //p