[prev in list] [next in list] [prev in thread] [next in thread] 

List:       solr-user
Subject:    Re: No date.gap on pivoted facets
From:       Dotan Cohen <dotancohen () gmail ! com>
Date:       2013-07-02 10:35:47
Message-ID: CAKDXFkMe6sFxrhEyKewZeA5tt90MqKmGZur6b5ifv65CZpXpVg () mail ! gmail ! com
[Download RAW message or body]

On Sun, Jun 30, 2013 at 5:33 PM, Jack Krupansky <jack@basetechnology.com> wrote:
> Sorry, but Solr pivot faceting is based solely on "field" facets, not
> "range" (or "date") facets.
>

Thank you. I tried adding that information to the
SimpleFacetParameters wiki page, but that page seems to be defined as
"Immutable Page".


> You can approximate date gaps by making a copy of your raw date field and
> then manually "gap" (truncate) the date values so that the their discrete
> values correspond to your date gap.
>

Thank you, this is what I have done.


> In the next release of my book I have a script for a
> StatelessScriptUpdateProccessor (with examples) that supports truncation of
> dates to a desired resolution, copying or modifying the input date as
> desired.
>

Terrific, I anticipate the release. Next release? Did I miss the release?
http://www.amazon.com/Lucene-Solr-Definitive-comprehensive-realtime/dp/1449359957/

--
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic