Re: Multiple Facet Dates

2010-08-12 Thread Raphaël Droz
On 05/08/2010 09:59, Raphaël Droz wrote: Hi, I saw this post : http://lucene.472066.n3.nabble.com/Multiple-Facet-Dates-td495480.html I didn't see work in progress or plans about this feature on the list and bugtracker. Does someone already created a patch, pof, ... I wouldn't have been able

Re: Multiple Facet Dates

2009-05-04 Thread Marc Sturlese
Good solution without touching any code! Thank you very much. I have already used the "key function" for query facets. I use it to send to the xml response a different word/sentence than the one I use to do the proper faceting. It has been really useful Thank you. Erik Hatcher wrote: > > > On

Re: Multiple Facet Dates

2009-05-02 Thread Erik Hatcher
On May 1, 2009, at 8:23 PM, Yonik Seeley wrote: On Fri, May 1, 2009 at 8:06 PM, Chris Hostetter wrote: facet.date.gap = +1MONTH facet.date = {!key=begin_month}begin_df f.begin_month.date.start = NOW/MONTH-1YEAR f.begin_month.date.end = NOW/MONTH+1MONTH Another syn

Re: Multiple Facet Dates

2009-05-01 Thread Yonik Seeley
On Fri, May 1, 2009 at 8:06 PM, Chris Hostetter wrote: >        facet.date.gap = +1MONTH >        facet.date = {!key=begin_month}begin_df >        f.begin_month.date.start = NOW/MONTH-1YEAR >        f.begin_month.date.end = NOW/MONTH+1MONTH Another syntax alternative is to allow start/end as loca

Re: Multiple Facet Dates

2009-05-01 Thread Chris Hostetter
: I needed to have a multiple date facet functionality. Like say for example : to show the latests results in the last day, last week and last month. I : wanted to do it with just one query. : The date facet part of solrconfig.xml would look like: : : date_field : NOW/DAY-1DAY :