Hey, great advice Amit, Jack, and Chris. It's been a while since I got such
a nice array of options! My response... yes, Amit, I thought of your way
before posting... I was just thinking, eh, there must be a way in SOLR,
since it was so easy to do the facets. So I wanted an alternative first
bef
: What's the performance impact of doing this?
the function approach should have slower query times compared to the "new
field containing day" approach because it has to do the computation for
every doc at query time, but it's less flexible because you have to know
in advance you want to use i
absolute requirement for all particular changes to how an app uses
Solr.
-- Jack Krupansky
-Original Message-
From: Amit Nithian
Sent: Friday, November 30, 2012 12:04 AM
To: solr-user@lucene.apache.org
Subject: Re: Grouping by a date field
What's the performance impact of doing
ue&group.func=**rint(div(ms(date_dt),mul(24,**
> mul(60,mul(60,1000)
>
> -- Jack Krupansky
>
> -Original Message- From: Amit Nithian
> Sent: Thursday, November 29, 2012 10:29 PM
> To: solr-user@lucene.apache.org
> Subject: Re: Grouping by a date field
>
an
Sent: Thursday, November 29, 2012 10:29 PM
To: solr-user@lucene.apache.org
Subject: Re: Grouping by a date field
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 wrote:
I'm trying to create a SO
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 wrote:
> I'm trying to create a SOLR query that groups/field collapses by date. I
> have a field in -MM-dd'T'HH:mm:ss'Z' format, "datetime", and I'm