lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dotan Cohen <dotanco...@gmail.com>
Subject Re: Faceting Facets
Date Mon, 03 Sep 2012 15:13:53 GMT
On Mon, Sep 3, 2012 at 6:07 PM, Tanguy Moal <tanguy.moal@gmail.com> wrote:
> I think it's not possible to combine pivots with facet queries, nor with
> facet ranges (or facet dates), please someone correct me if I'm wrong...
>
> I think only "standard" fields are "pivotable" :)
>
> That said, if you always use the same ranges for your DateTime field, you
> *could* have a "string" version of the time field that only outputs the
> hour of the day of the date contained in your time field, and then you'll
> be able to use facet.pivots with those two text fields.
>
> You could still use the original date time field to constrain the results
> set to return docs within the last 24 hours...
>
> Would that make sense to you ?
>

I think that I understand you!

Actually, the DateTime is currently being stored as a UNIX timestamp
for compatibility with other software. I had planned on converting it
all over to the internal Solr Datetime type, but I now see that I
should leave it as a timestamp.

Thanks.

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

Mime
View raw message