lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pankaj bhatt <>
Subject Re: facet.pivot for date fields
Date Wed, 15 Dec 2010 04:53:23 GMT
Hi Adeel,
      You can make use of facet.query attribute to make the Faceting work
across a range of dates. Here i am using the duration, just replace the
field with a field date and Range values as the DATE in SOLR Format.
so your query parameter will be like this ( you can pass multiple parameter
of "facet.query" name)

http//blasdsdfsd/q?=asdfasd&facet.query=itemduration:[0 To
49]&facet.query=itemduration:[50 To 99]&facet.query=itemduration:[100 To

Hope, it helps.

/ Pankaj Bhatt.

On Wed, Dec 15, 2010 at 2:01 AM, Adeel Qureshi <>wrote:

> It doesnt seems like pivot facetting works on dates .. I was just curious
> if
> thats how its supposed to be or I am doing something wrong .. if I include
> a
> datefield in the pivot list .. i simply dont get any facet results back for
> that datefield
> Thanks
> Adeel

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message